Skip to content

chore(go): update portal-plugin-dashboard build#487

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

chore(go): update portal-plugin-dashboard build#487
pcfreak30 merged 1 commit intodevelopfrom
app/portal-dashboard

Conversation

@pcfreak30
Copy link
Copy Markdown
Member

@pcfreak30 pcfreak30 commented Sep 1, 2025

Summary by CodeRabbit

  • New Features

    • Added support for user profile avatars during authentication, enabling avatar display across the dashboard where applicable.
  • Chores

    • Updated internal build artifacts and remote bundles to the latest versions for improved compatibility and stability.
    • Synchronized shared module mappings to align with current platform dependencies.
    • Refreshed exposed module references to point to the latest compiled assets.

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Sep 1, 2025

⚠️ No Changeset found

Latest commit: 31e5863

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

@pcfreak30 pcfreak30 merged commit 246374b into develop Sep 1, 2025
0 of 2 checks passed
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Sep 1, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

Build artifacts updated for the dashboard plugin: new remoteEntry bundles wired in, virtual exposes map points to new chunk filenames, and host init imports the new remote entry. Auth provider now includes avatar in returned data. Shared module mappings in module federation swapped between @refinedev/core and @lumeweb/portal-framework-ui-core.

Changes

Cohort / File(s) Summary
Module federation manifest
go/portal-plugin-dashboard/build/mf-manifest.json
Updated remoteEntry and ssrRemoteEntry bundle names; root expose points to new index chunk; 2fa chunk reference updated.
Auth provider update
go/portal-plugin-dashboard/build/static/js/auth-C5ewMkbH.js
createAuthProvider now includes avatar from response.data in the returned auth object.
Auth import consumers
go/portal-plugin-dashboard/build/static/js/index-glrqDUv5.js, go/portal-plugin-dashboard/build/static/js/2fa-kq-_qj-P.js, go/portal-plugin-dashboard/build/static/js/delete-DDAdtBWm.js
Imports for createAuthProvider/DATA_PROVIDER_NAME switched to ./auth-C5ewMkbH.js. No signature changes.
Remote entry + host init
go/portal-plugin-dashboard/build/static/js/remoteEntry-BdIFUs2x.js, go/portal-plugin-dashboard/build/static/js/hostInit-CAybpmEZ.js
New remote entry file; shared mappings swapped between @refinedev/core and @lumeweb/portal-framework-ui-core with updated requiredVersion and error messages; hostInit targets new remoteEntry.
Virtual exposes map
go/portal-plugin-dashboard/build/static/js/virtualExposes-lP78fgtG.js
Exposes map updated to new chunk filenames for ., ./widgets/account/2fa, and ./widgets/account/delete.

Sequence Diagram(s)

sequenceDiagram
  autonumber
  actor User
  participant HostApp as Host App
  participant Remote as Dashboard Remote
  participant Share as Shared Modules

  Note over HostApp,Remote: Module Federation Init (updated remoteEntry)
  HostApp->>Remote: Load remoteEntry-BdIFUs2x.js
  Remote->>Share: Request shared "@lumeweb/portal-framework-ui-core"
  alt Provided
    Share-->>Remote: Provide framework-ui-core
  else Missing
    Remote-->>HostApp: Throw "Shared module '@lumeweb/portal-framework-ui-core' must be provided by host"
  end
  Remote->>Share: Request shared "@refinedev/core"
  Share-->>Remote: Provide refinedev/core

  Note over User,Remote: Auth provider usage (avatar now included)
  User->>HostApp: Open dashboard
  HostApp->>Remote: Import exposed "."
  Remote->>Remote: createAuthProvider()
  Remote->>Remote: account.info()
  Remote-->>HostApp: Auth data { firstName, ... , avatar }
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Poem

A nibble of bytes, a hop through the wire,
New entries twinkle, shared maps rewire.
Avatar in tow, my login feels bright—
Dashboards align in the moonlit night.
Tap, tap, deploy—ears high with delight.
(_/)

(•‿•)✨


📜 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 fe32f63 and 31e5863.

📒 Files selected for processing (8)
  • go/portal-plugin-dashboard/build/mf-manifest.json (1 hunks)
  • go/portal-plugin-dashboard/build/static/js/2fa-kq-_qj-P.js (1 hunks)
  • go/portal-plugin-dashboard/build/static/js/auth-C5ewMkbH.js (1 hunks)
  • go/portal-plugin-dashboard/build/static/js/delete-DDAdtBWm.js (1 hunks)
  • go/portal-plugin-dashboard/build/static/js/hostInit-CAybpmEZ.js (1 hunks)
  • go/portal-plugin-dashboard/build/static/js/index-glrqDUv5.js (1 hunks)
  • go/portal-plugin-dashboard/build/static/js/remoteEntry-BdIFUs2x.js (2 hunks)
  • go/portal-plugin-dashboard/build/static/js/virtualExposes-lP78fgtG.js (3 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.

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