Skip to content

chore(go): update portal-dashboard, portal-plugin-dashboard builds#494

Merged
pcfreak30 merged 1 commit intodevelopfrom
app/portal-dashboard
Sep 2, 2025
Merged

chore(go): update portal-dashboard, portal-plugin-dashboard builds#494
pcfreak30 merged 1 commit intodevelopfrom
app/portal-dashboard

Conversation

@pcfreak30
Copy link
Copy Markdown
Member

@pcfreak30 pcfreak30 commented Sep 2, 2025

Summary by CodeRabbit

  • New Features

    • None
  • Bug Fixes

    • Account Bio avatar now reliably displays the correct image and display name, improving consistency across the dashboard. Fallback initials remain unchanged.
  • Chores

    • Updated build artifacts and module federation manifests to point to the latest bundles and remotes. No functional changes expected for end users.

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Sep 2, 2025

⚠️ No Changeset found

Latest commit: 27f8d5c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Sep 2, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

This PR updates portal and plugin dashboard build artifacts: swaps remoteEntry/virtual module IDs, adjusts module federation manifests and dependency maps, and changes the bio widget to use useAvatar for avatarUrl/displayName. HTML index points to a new hostInit. Exposed widget and shared-module mappings are re-keyed with revised version metadata.

Changes

Cohort / File(s) Summary
Dashboard entry and federation pointers
go/portal-dashboard/build/index.html, go/portal-dashboard/build/mf-manifest.json, go/portal-dashboard/build/static/js/hostInit-d9gTNBhF.js, go/portal-dashboard/build/static/js/remoteEntry-CnUMreGo.js
Index references new hostInit bundle; mf-manifest remoteEntry/ssr filenames updated; hostInit preloads new remoteEntry and remapped deps; remoteEntry re-exports from new virtual_mf ID.
Dashboard federation runtime remap
go/portal-dashboard/build/static/js/index-DNyM4uYj.js, go/portal-dashboard/build/static/js/virtual_mf-REMOTE_ENTRY_ID-DvKLxUdJ.js
Runtime now imports a new virtual_mf module; importMap/shared entries re-keyed among react-hook-form, @lumeweb/portal-framework-*-core, and @refinedev/core with updated versions and preload paths.
Plugin dashboard federation and boot
go/portal-plugin-dashboard/build/mf-manifest.json, go/portal-plugin-dashboard/build/static/js/hostInit-ErMsS16F.js, go/portal-plugin-dashboard/build/static/js/remoteEntry-xc9MYsrw.js, go/portal-plugin-dashboard/build/static/js/virtualExposes-hkS32gaU.js
Manifest remoteEntry/ssr filenames updated; hostInit points to new remoteEntry; remoteEntry swaps usedShared entries between react-router and @lumeweb/portal-framework-ui-core; virtualExposes points bio entry to new chunk.
Bio widget update
go/portal-plugin-dashboard/build/static/js/bio-BQhMKfWS.js
Bio component now uses useAvatar() for avatarUrl and displayName; AvatarImage src and uploadAvatarDialogConfig updated accordingly; identity fetch and fallback initials retained.

Sequence Diagram(s)

sequenceDiagram
  autonumber
  actor User
  participant HTML as index.html
  participant Host as hostInit-*.js
  participant MF as remoteEntry-*.js
  participant VMF as virtual_mf-REMOTE_ENTRY_ID-*.js
  participant Shared as Shared deps

  User->>HTML: Load dashboard
  HTML->>Host: Load module script
  Host->>MF: Preload/import new remoteEntry (CnUMreGo)
  MF->>VMF: Re-export get/init from new virtual_mf
  VMF->>Shared: Resolve shared mappings (react-hook-form/@refinedev/core/portal-* cores)
  Note over VMF,Shared: Dependency map and versions remapped
Loading
sequenceDiagram
  autonumber
  participant Bio as Bio widget
  participant Id as useGetIdentity()
  participant Av as useAvatar()
  participant UI as AvatarImage/AvatarFallback
  participant Dialog as uploadAvatarDialogConfig

  Bio->>Id: fetch identity
  alt identity missing
    Bio-->>Bio: return null
  else identity present
    Bio->>Av: get avatarUrl, displayName
    Av-->>Bio: { avatarUrl, displayName }
    Bio->>UI: render AvatarImage src=avatarUrl alt=displayName
    Bio->>Dialog: pass avatarUrl to uploader config
    UI-->>Bio: fallback uses identity initials
  end
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

Poem

I nudge the wires where modules play,
New entries hop to greet the day.
Avatars shine with names in tow,
A bio blooms with gentler glow.
I thump the ground—remote’s aligned,
Chunks remapped, dependencies twined.
Carrot deployed; ship it, kind. 🥕


📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

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.

📥 Commits

Reviewing files that changed from the base of the PR and between fabbc07 and 27f8d5c.

📒 Files selected for processing (11)
  • go/portal-dashboard/build/index.html (1 hunks)
  • go/portal-dashboard/build/mf-manifest.json (1 hunks)
  • go/portal-dashboard/build/static/js/hostInit-d9gTNBhF.js (1 hunks)
  • go/portal-dashboard/build/static/js/index-DNyM4uYj.js (1 hunks)
  • go/portal-dashboard/build/static/js/remoteEntry-CnUMreGo.js (1 hunks)
  • go/portal-dashboard/build/static/js/virtual_mf-REMOTE_ENTRY_ID-DvKLxUdJ.js (7 hunks)
  • go/portal-plugin-dashboard/build/mf-manifest.json (1 hunks)
  • go/portal-plugin-dashboard/build/static/js/bio-BQhMKfWS.js (2 hunks)
  • go/portal-plugin-dashboard/build/static/js/hostInit-ErMsS16F.js (1 hunks)
  • go/portal-plugin-dashboard/build/static/js/remoteEntry-xc9MYsrw.js (2 hunks)
  • go/portal-plugin-dashboard/build/static/js/virtualExposes-hkS32gaU.js (1 hunks)
✨ Finishing Touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch app/portal-dashboard

🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore or @coderabbit ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@pcfreak30 pcfreak30 merged commit bec8890 into develop Sep 2, 2025
1 check was pending
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant