-
-
Notifications
You must be signed in to change notification settings - Fork 971
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
Add Search Functionality for Agenda Item Categories #2805
Conversation
WalkthroughThis pull request introduces a new filtering mechanism for agenda item categories by adding an Changes
Sequence DiagramsequenceDiagram
participant Client
participant GraphQL
participant Resolver
participant Database
Client->>GraphQL: Query agendaItemCategoriesByOrganization
GraphQL->>Resolver: Pass organizationId and optional where filter
Resolver->>Resolver: Apply getWhere to filter conditions
Resolver->>Database: Find categories with organizationId and name filter
Database-->>Resolver: Return filtered categories
Resolver-->>GraphQL: Return filtered agenda item categories
GraphQL-->>Client: Respond with filtered results
Possibly related PRs
Poem
Tip CodeRabbit's docstrings feature is now available as part of our Early Access Program! Simply use the command 📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (6)
🔇 Additional comments (10)src/resolvers/Query/agendaItemCategoriesByOrganization.ts (2)
src/typeDefs/queries.ts (1)
src/typeDefs/inputs.ts (1)
src/resolvers/Query/helperFunctions/getWhere.ts (2)
src/types/generatedGraphQLTypes.ts (2)
schema.graphql (2)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
Our Pull Request Approval ProcessThanks for contributing! Testing Your CodeRemember, your PRs won't be reviewed until these criteria are met:
Our policies make our code better. ReviewersDo not assign reviewers. Our Queue Monitors will review your PR and assign them.
Reviewing Your CodeYour reviewer(s) will have the following roles:
CONTRIBUTING.mdRead our CONTRIBUTING.md file. Most importantly:
Other
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Congratulations on making your first PR! 🎊 If you haven't already, check out our Contributing Guidelines and PR Reporting Guidelines to ensure that you are following our guidelines for contributing and creating PR.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #2805 +/- ##
========================================
Coverage 97.72% 97.72%
========================================
Files 364 364
Lines 18543 18545 +2
Branches 2676 2676
========================================
+ Hits 18121 18123 +2
Misses 417 417
Partials 5 5 ☔ View full report in Codecov by Sentry. |
a3a085b
into
PalisadoesFoundation:develop
What kind of change does this PR introduce?
Feature
Issue Number:
Fixes : PalisadoesFoundation/talawa-admin#2372
Snapshots/Videos:
https://www.loom.com/share/fb28b6228fc649158f8db6eba1ab1fc6
Summary
Search Functionality: Implemented a search feature to filter agenda item categories based on user input.
Summary by CodeRabbit
New Features
name_contains
search optionImprovements