Add GraphQL Support and Notes Integration for Users and Contacts#264
Open
JoseSzycho wants to merge 7 commits intomainfrom
Open
Add GraphQL Support and Notes Integration for Users and Contacts#264JoseSzycho wants to merge 7 commits intomainfrom
JoseSzycho wants to merge 7 commits intomainfrom
Conversation
- Implemented `useNotes`, `useNoteCreate`, `useNoteUpdate`, and `useNoteDelete` hooks for managing notes. - Created GraphQL request functions for listing, creating, updating, and deleting notes. - Added tests for note request functions to ensure correct API interactions. - Updated environment configuration to include optional `GRAPHQL_URL` setting.
- Integrated `AddNoteDialog` for creating notes related to users. - Implemented `NoteList` to display notes associated with the user. - Added state management for refreshing the note list upon creation of new notes.
- Integrated `AddNoteDialog` and `ShowNotesDialog` for managing notes related to contacts. - Added state management to refresh notes upon creation. - Updated UI to include note management components in the contact information section.
- Integrated `MyFollowUpsDialog` for managing notes follow-ups in the user navigation menu. - Updated the dropdown menu to include an option for accessing notes follow-ups with a new icon.
- Introduced a new `maxWidth` prop to the `Tooltip` component to allow customization of tooltip width. - Updated the `TooltipContent` to apply the maxWidth style dynamically based on the new prop.
Collaborator
|
@JoseSzycho great work here! I think notes should live on their own tab. That's too much for the overview page. Maybe in the overview page, you could just list the follow ups for the user. My 2 cents. |
Contributor
|
@JoseSzycho pls pull the latest changes from main, and I’ll review it afterward |
Author
|
Seems that the Notes API is going to change, so I will wait to make the changes on the API and then come back to fix this. |
This was referenced Dec 15, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add GraphQL Support and Notes Integration for Users and Contacts
Description
This PR introduces GraphQL support to the staff portal and implements a comprehensive notes management system for Users and Contacts. Staff members can now add, edit, and manage notes with follow-up tracking capabilities.
Closes #249
📹 Video Walkthrough: View Demo Video
Changes
🚀 GraphQL Integration
codegen.ts)GRAPHQL_URLfor API configuration📝 Notes Feature
Note Management Components
NoteList- Display and manage notes with inline editingNoteForm- Create and edit notes with follow-up optionsShowNotesDialog- Modal dialog to view notes on entitiesFollowUpsList- List of notes marked for follow-upMyFollowUpsDialog- Quick access to personal follow-ups from sidebarNote Capabilities
🔧 Additional Improvements
Tooltipcomponent withmaxWidthprop for better customizationScreenshots
Add screenshots of the notes feature in action here
Testing