Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Fix typo" #609

Merged
merged 1 commit into from
Jul 30, 2024
Merged

Revert "Fix typo" #609

merged 1 commit into from
Jul 30, 2024

Conversation

patrick91
Copy link
Member

@patrick91 patrick91 commented Jul 30, 2024

This reverts commit f845a0c.

Description

Types of Changes

  • Core
  • Bugfix
  • New feature
  • Enhancement/optimization
  • Documentation

Issues Fixed or Closed by This PR

Checklist

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • I have tested the changes and verified that they work and don't break anything (as well as I can manage).

Summary by Sourcery

This pull request reverts a previous commit that fixed a typo in multiple documentation files. The changes restore the original state of the documentation by replacing the corrected 'TIP', 'WARNING', 'CAUTION', 'INFO', and 'NOTE' annotations with their previous incorrect forms.

This reverts commit f845a0c.
Copy link
Contributor

sourcery-ai bot commented Jul 30, 2024

Reviewer's Guide by Sourcery

This pull request reverts a previous commit that fixed a typo in multiple documentation files. The changes primarily involve reverting the formatting of tip, warning, caution, and info blocks in the documentation.

File-Level Changes

Files Changes
docs/guide/filters.md
docs/guide/ordering.md
docs/guide/fields.md
docs/guide/mutations.md
docs/guide/types.md
docs/guide/authentication.md
docs/guide/export-schema.md
docs/guide/optimizer.md
docs/guide/permissions.md
docs/guide/queries.md
docs/guide/relay.md
Reverted the formatting of various documentation blocks (TIP, WARNING, CAUTION, INFO, NOTE) to their previous state.

Tips
  • Trigger a new Sourcery review by commenting @sourcery-ai review on the pull request.
  • Continue your discussion with Sourcery by replying directly to review comments.
  • You can change your review settings at any time by accessing your dashboard:
    • Enable or disable the Sourcery-generated pull request summary or reviewer's guide;
    • Change the review language;
  • You can always contact us if you have any questions or feedback.

Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @patrick91 - I've reviewed your changes - here's some feedback:

Overall Comments:

  • Could you please explain the reasoning behind reverting the typo fix and changing the syntax for notes, tips, and warnings from [!NOTE] to ![NOTE]? We'd like to understand the motivation for this change and ensure it aligns with the project's documentation standards.
  • In future pull requests, please provide a more detailed description of the changes and the rationale behind them. This helps reviewers understand the context and purpose of the modifications.
Here's what I looked at during the review
  • 🟢 General issues: all looks good
  • 🟢 Security: all looks good
  • 🟢 Testing: all looks good
  • 🟢 Complexity: all looks good
  • 🟡 Documentation: 2 issues found

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment to tell me if it was helpful.

> Do not use `queryset.order_by()` directly. Due to `order_by` not being chainable
> operation, changes applied this way would be overriden later.

> [!TIP] > `strawberry_django.Ordering` has convenient method `resolve` that can be used to
> ![TIP] > `strawberry_django.Ordering` has convenient method `resolve` that can be used to
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue (documentation): Formatting issue with the > symbol.

The > symbol should be on a new line for consistency.

@@ -27,7 +27,7 @@ class Fruit2:
name: str
```

> [!TIP]
> ![TIP]
> For choices using
> [Django's TextChoices/IntegerChoices](https://docs.djangoproject.com/en/4.2/ref/models/fields/#enumeration-types)
> it is recommented using the [django-choices-field](/integrations/choices-field) integration
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue (documentation): Typo in the word 'recommented'.

The word 'recommented' should be 'recommended'.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.84%. Comparing base (74adfca) to head (172fab3).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #609   +/-   ##
=======================================
  Coverage   88.84%   88.84%           
=======================================
  Files          41       41           
  Lines        3605     3605           
=======================================
  Hits         3203     3203           
  Misses        402      402           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@patrick91 patrick91 merged commit 149fff7 into main Jul 30, 2024
22 checks passed
@patrick91 patrick91 deleted the fix/tips branch July 30, 2024 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants