-
Notifications
You must be signed in to change notification settings - Fork 46
BUGFIX/HCMPRE-11112: Context path change for health-project in demo env #3017
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: master
Are you sure you want to change the base?
Conversation
…ject/staff/_search
…or project service
📝 WalkthroughWalkthroughProxy registration for Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant UI as UI (Inbox)
participant Cfg as window.globalConfigs
participant Svc as ProjectService
participant Proxy as Dev Proxy
participant API as Project Service API
UI->>Cfg: getConfig("PROJECT_SERVICE_PATH")
Note right of Cfg: returns base path or undefined
UI->>Svc: call staffSearch / projectSearch (body, params)
alt PROJECT_SERVICE_PATH present
Svc->>Proxy: POST ${basePath}/staff|v1/_search
else fallback
Svc->>Proxy: POST /project/staff|v1/_search
end
Proxy->>API: forward request
API-->>Proxy: response
Proxy-->>Svc: response
Svc-->>UI: results
Note over Proxy: `/project/staff/v1/_search` proxy entry moved later in setupProxy.js
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
Tip 🔌 Remote MCP (Model Context Protocol) integration is now available!Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats. 📜 Recent review detailsConfiguration used: CodeRabbit UI 💡 Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. 📒 Files selected for processing (2)
🧰 Additional context used📓 Path-based instructions (1)**/*.js⚙️ CodeRabbit configuration file
Files:
🔇 Additional comments (6)
✨ 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/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
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.
Actionable comments posted: 5
📜 Review details
Configuration used: CodeRabbit UI
Review profile: ASSERTIVE
Plan: Pro
💡 Knowledge Base configuration:
- MCP integration is disabled by default for public repositories
- Jira integration is disabled by default for public repositories
- Linear integration is disabled by default for public repositories
You can enable these sources in your CodeRabbit configuration.
📒 Files selected for processing (3)
health/micro-ui/web/micro-ui-internals/example/src/setupProxy.js
(1 hunks)health/micro-ui/web/micro-ui-internals/packages/modules/health-dss/src/configs/InboxConfig.js
(3 hunks)health/micro-ui/web/micro-ui-internals/packages/modules/health-dss/src/services/ProjectService.js
(2 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
**/*.js
⚙️ CodeRabbit configuration file
check
Files:
health/micro-ui/web/micro-ui-internals/packages/modules/health-dss/src/services/ProjectService.js
health/micro-ui/web/micro-ui-internals/example/src/setupProxy.js
health/micro-ui/web/micro-ui-internals/packages/modules/health-dss/src/configs/InboxConfig.js
⏰ Context from checks skipped due to timeout of 10000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
- GitHub Check: Analyze (javascript-typescript)
BUGFIX/HCMPRE-11112: Context path change for health-project in demo env
Summary by CodeRabbit