chore(go): update portal-dashboard, portal-plugin-dashboard builds#489
chore(go): update portal-dashboard, portal-plugin-dashboard builds#489
Conversation
|
|
Caution Review failedThe pull request is closed. WalkthroughBuild artifacts updated across portal-dashboard and plugin-dashboard, including new hashed remoteEntry/virtual module paths and manifests. Dashboard runtime adds widget property spreading and per-widget visibility evaluation in WidgetArea. Plugin widget introduces a visibilityHook that hides the widget based on identity verification. No public API surface changes beyond manifest asset references. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant U as User
participant App as Dashboard App
participant Area as WidgetArea
participant W as Widget (n)
participant Id as Identity API
U->>App: Load dashboard
App->>Area: Render area with widgets
loop For each widget
Area->>W: Call visibilityHook()?
alt Hook present
W->>Id: useGetIdentity()
Id-->>W: identity { verified | missing }
W-->>Area: visible = identity && !identity.verified
else No hook
W-->>Area: visible = true
end
alt visible
Area->>App: Render widget component
else hidden
Area-->>App: Skip widget
end
end
alt All widgets hidden
Area-->>App: Return null (no area output)
end
sequenceDiagram
autonumber
participant PW as Plugin Widget
participant Id as Identity API
Note over PW: visibilityHook()
PW->>Id: useGetIdentity()
Id-->>PW: identity or null
PW-->>PW: return !!identity && !identity.verified
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 💡 Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. 📒 Files selected for processing (11)
✨ Finishing Touches
🧪 Generate unit tests
🪧 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 (
|
Summary by CodeRabbit
New Features
Chores