-
Notifications
You must be signed in to change notification settings - Fork 30
Fix #426 Add loading states #427
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
base: staging
Are you sure you want to change the base?
Conversation
- Introduced `isFetchingGraph` state to manage loading state in the graph component. - Updated `CodeGraph` to display a loading spinner while fetching the graph. - Enhanced `Combobox` to show a loading state when fetching options.
- Updated the Combobox component to disable the select input when there are no options and not fetching options, improving user experience.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 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
CodeRabbit Configuration File (
|
Qodo Merge was enabled for this repository. To continue using it, please link your Git account with your Qodo account here. PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
Qodo Merge was enabled for this repository. To continue using it, please link your Git account with your Qodo account here. PR Code Suggestions ✨Explore these optional code suggestions:
|
PR Type
Enhancement, Bug fix
Description
Added loading indicators for graph fetching and options loading.
isFetchingGraph
state for graph loading.CodeGraph
to display a spinner during graph fetching.Combobox
to show a loading state when fetching options.Improved
Combobox
behavior:Fixed minor issues and improved user experience:
debugger
statement inGraphView
.Changes walkthrough 📝
code-graph.tsx
Added loading state and spinner for graph fetching
app/components/code-graph.tsx
isFetchingGraph
state to manage graph loading.combobox.tsx
Enhanced combobox with loading state and error handling
app/components/combobox.tsx
isFetchingOptions
state for options loading.page.tsx
Added graph loading state and improved error handling
app/page.tsx
isFetchingGraph
state to manage graph loading.CodeGraph
component to use the new loading state.graphView.tsx
Minor cleanup and zoom behavior improvement
app/components/graphView.tsx
debugger
statement.