Skip to content

chore(go): update portal-dashboard build#478

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

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

Conversation

@pcfreak30
Copy link
Copy Markdown
Member

@pcfreak30 pcfreak30 commented Aug 30, 2025

Summary by CodeRabbit

  • New Features
    • Improved form field autocomplete behavior based on form context and action.
  • Bug Fixes
    • More reliable remote module loading to reduce initialization issues.
    • Stabilized field rendering with better dependency handling.
  • Refactor
    • Internal runtime and helper adjustments with no API changes.
  • Chores
    • Updated build assets and module references for client and SSR.
    • Refreshed shared module mappings and version constraints to align dependencies.

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Aug 30, 2025

⚠️ No Changeset found

Latest commit: cd8977e

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 2cbd9f3 into develop Aug 30, 2025
1 check failed
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Aug 30, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

Updates build artifacts for the portal dashboard: switches host/init script references, refreshes Module Federation manifest and runtime wiring (remote entry IDs, virtual MF module), and replaces shared UI/core bundles. The UI bundle includes FieldRenderer/FormRenderer adjustments and a new autocomplete helper. No public API signatures are explicitly changed.

Changes

Cohort / File(s) Summary
Entrypoint and bootstrap
go/portal-dashboard/build/index.html, go/portal-dashboard/build/static/js/hostInit-BgPqaP1i.js
Updates the boot script reference and host init to preload and import the new remote entry (remoteEntry-NbauOOD1.js) and updated virtual MF runtime IDs.
Module Federation wiring
go/portal-dashboard/build/mf-manifest.json, go/portal-dashboard/build/static/js/remoteEntry-NbauOOD1.js, go/portal-dashboard/build/static/js/index-DGhRpgkE.js, go/portal-dashboard/build/static/js/virtual_mf-REMOTE_ENTRY_ID-D4nWJCyp.js
Switches remote entry filenames and virtual MF module IDs, remaps shared/import maps, introduces a public alias for @lumeweb/portal-framework-ui-core, and points core/UI loaders to new chunk names.
UI bundle updates
go/portal-dashboard/build/static/js/index-78XEzhAn.js
Adjusts FormRenderer to use config; refactors FieldRenderer to derive autocomplete via new getFieldAutocompleteValue; tidies spinner class order; internal polyfill/bundler helpers renamed/restructured.

Sequence Diagram(s)

sequenceDiagram
    autonumber
    participant B as Browser
    participant H as index.html
    participant I as hostInit-*.js
    participant R as remoteEntry-*.js
    participant V as virtual_mf-REMOTE_ENTRY_ID-*.js
    participant U as UI Bundles (index-*.js)

    B->>H: Load HTML
    H->>I: Load host init module
    I->>R: __vitePreload + dynamic import<br/>(remoteEntry-NbauOOD1.js)
    R->>V: Re-export get/init from new virtual MF
    V->>U: Resolve shared/import maps<br/>(@lumeweb/portal-framework-ui, ...-core)
    U-->>B: Render UI (FormRenderer/FieldRenderer)
    note over U: FieldRenderer computes autocomplete<br/>via getFieldAutocompleteValue
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

Poem

A hop, a skip, new chunks take flight,
Remote keys swap in morning light.
Forms now whisper where to complete,
UI bundles click in beat.
Federation maps realign—
Carrot commits, and all is fine. 🥕✨


📜 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 fd32c9f and cd8977e.

📒 Files selected for processing (7)
  • go/portal-dashboard/build/index.html (1 hunks)
  • go/portal-dashboard/build/mf-manifest.json (1 hunks)
  • go/portal-dashboard/build/static/js/hostInit-BgPqaP1i.js (1 hunks)
  • go/portal-dashboard/build/static/js/index-78XEzhAn.js (14 hunks)
  • go/portal-dashboard/build/static/js/index-DGhRpgkE.js (1 hunks)
  • go/portal-dashboard/build/static/js/remoteEntry-NbauOOD1.js (1 hunks)
  • go/portal-dashboard/build/static/js/virtual_mf-REMOTE_ENTRY_ID-D4nWJCyp.js (6 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