-
Notifications
You must be signed in to change notification settings - Fork 646
[feat]: optimize workspace loading performance and enhance context menu design #9084
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: develop
Are you sure you want to change the base?
Conversation
- Add IWorkSpace interface to contracts - Extend AppState with workspaces, selectedWorkspace, loading and error states - Add workspaces observables and getters/setters to Store service - Add setWorkspaces() and setWorkspacesLoading() helper methods - Initialize workspaces state in createInitialAppState()
- Replace BehaviorSubject with store observables (workspaces$, selectedWorkspace$, loading$, error$) - Check store first before making API calls to avoid repeated requests - Update store with workspace data after API calls - Remove direct API calls when data already exists in store - Use store.setWorkspaces() and store.setWorkspacesLoading() methods
Store Implementation: - Add IWorkSpace interface to contracts - Extend AppState with workspaces, selectedWorkspace, loading and error states - Add workspaces observables and getters/setters to Store service - Add setWorkspaces() and setWorkspacesLoading() helper methods Component Improvements: - Replace BehaviorSubject with store observables for reactive state management - Check store first before making API calls to avoid repeated requests - Update store with workspace data after API calls for caching UI/UX Enhancements: - Style context menu to match Slack design with proper icon backgrounds - Add icons with rounded backgrounds for better visual hierarchy - Improve hover states with appropriate theme colors - Optimize icon sizes and spacing for better user experience
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing Touches🧪 Generate unit tests
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:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
PR
Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.