Skip to content

chore(go): update multiple plugin/app builds, add portal-plugin-ipfs build#503

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

chore(go): update multiple plugin/app builds, add portal-plugin-ipfs build#503
pcfreak30 merged 1 commit intodevelopfrom
portal-plugin/dashboard

Conversation

@pcfreak30
Copy link
Copy Markdown
Member

@pcfreak30 pcfreak30 commented Sep 22, 2025

Summary by CodeRabbit

  • New Features

    • Added drag-and-drop Upload Wizard with progress, errors, and completion summary.
    • New UploadProgress and Dropzone components for richer file uploads.
    • Profile Bio with avatar upload (preview, progress, success/error notices).
    • Switched to GridWidgetArea for dashboard/account sections; updated widget IDs.
    • Introduced IPFS plugin (core:ipfs) with federated entry.
  • Improvements

    • Faster, clearer app boot with new “boot complete” handling and loading overlay removal.
    • Expanded CSS utility classes for layout, spacing, and visuals.
    • Enhanced runtime diagnostics and warnings (queries, prop-types).
  • Chores

    • Updated shared bundles and preload assets; aligned React Router to 7.5.2.

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Sep 22, 2025

⚠️ No Changeset found

Latest commit: 89c815d

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 2f5de9e into develop Sep 22, 2025
0 of 2 checks passed
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Sep 22, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

Build outputs are refreshed across dashboard and plugins: new client entry, updated module federation mappings, remote entry filenames, and shared version constraints. Framework core adds validation utilities and new widget areas. Dashboard plugin gains an upload wizard and upload progress components. A new IPFS plugin is introduced with its own remote entry and Go handler embedding build assets.

Changes

Cohort / File(s) Summary
Dashboard entrypoint & federation
go/portal-dashboard/build/index.html, .../build/mf-manifest.json, .../static/js/index-BWfSSGY1.js (removed), .../static/js/index-P2i2iTTc.js, .../static/js/hostInit-*, .../static/js/loader-Bg6R-tVQ.js, .../static/js/remoteEntry-*.js, .../static/js/virtual_mf-REMOTE_ENTRY_ID-*.js
Swaps preloads and hashed bundles; replaces client entry; updates hostInit and remoteEntry filenames; revises importMap/share mappings; adds boot-complete handling in loader.
React/runtime and shims
.../static/js/index-ENp_rX1B.js (removed), .../static/js/index-BpcOal57.js, .../static/js/jsx-runtime-*.js (removed), .../static/js/index-DRtNAoCS.js, .../static/js/index-C2B07oHK.js, .../static/js/index-CAhUWRmj.js (removed), .../static/js/index-DNzgWFpQ.js, .../static/js/index-gNG4oL9e.js, .../static/js/index-DcLdNvXO.js
Replaces React runtime bundles and JSX runtime; adds dev-time shim for useSyncExternalStore; wraps createRoot; adds logging/tracing in react-query/refine; updates prop-types/react-is wiring.
Lucide icon factory
.../static/js/createLucideIcon-CcrG3Oz3.js (removed), .../static/js/createLucideIcon-DMX48tGS.js, .../static/js/_baseIsEqual-*.js
Replaces icon factory module; updates import; adds ChevronLeft/Right constants; removes duplicate icon block.
Framework core enhancements
.../static/js/index-DKozEukH.js
Adds validation helpers, getSdk, error categories, new GridWidgetArea/FlexWidgetArea, route boundaries, and defaults allowLocalhost in API URL.
Shared version adjustments
.../static/js/dashboard__loadShare__react_mf_2_router__loadShare__-*.js, go/portal-plugin-core/build/static/js/NotFound-*.js, go/portal-plugin-dashboard/build/static/js/core_dashboard__loadShare__react_mf_2_router__loadShare__-*.js, .../remoteEntry-*.js, .../mf-manifest.json
Downgrades react-router requiredVersion from ^7.8.2 to ^7.5.2 in multiple share configs and manifests; updates exposure maps accordingly.
Dashboard plugin: upload features & UI
go/portal-plugin-dashboard/build/static/js/UploadProgress-*.js, .../static/js/button-*.js, .../static/js/upload-*.js, .../static/js/virtualExposes-*.js, .../static/css/index-*.css
Adds UploadProgress module, upload wizard button/workflow, upload utility enums; exposes new widget path; extends CSS utilities; switches many views to GridWidgetArea and DialogType enums; multiple import-hash updates.
Dashboard plugin: component updates
.../static/js/account.*.js, .../static/js/profile-*.js, .../static/js/dashboard-*.js, .../static/js/delete-*.js, .../static/js/password-*.js, .../static/js/2fa-*.js, .../static/js/*Index-*.js, .../static/js/resetPassword.*.js, .../static/js/emailVerificationBanner-*.js, .../static/js/Card-*.js
Switches WidgetArea→GridWidgetArea and id values; className order tweaks; dialog type values use enums; adds formId and autocomplete hints; updates import paths.
Portal plugin core
go/portal-plugin-core/build/mf-manifest.json, .../static/js/index-DOz4wB89.js, .../static/js/remoteEntry-*.js, .../static/js/virtualExposes-*.js, .../static/js/hostInit-*.js
Updates remote entry filenames/mappings; initializes Capability.id with namespaced value; adds widgetAreas/widgets and includes in index() return.
New IPFS plugin
go/portal-plugin-ipfs/build/mf-manifest.json, .../static/js/remoteEntry-*.js, .../static/js/hostInit-*.js, .../static/js/virtualExposes-*.js, go/portal-plugin-ipfs/go.mod, go/portal-plugin-ipfs/handler.go
Adds IPFS plugin manifest, remote entry with federation/init, host init TLA flow, exposes map, Go module, and embedded FS handler exposing build/.

Sequence Diagram(s)

sequenceDiagram
  autonumber
  actor User
  participant Browser
  participant IndexHTML as index.html
  participant Loader as loader-.../loader-*.js
  participant HostInit as hostInit-*.js
  participant Remote as remoteEntry-*.js
  participant VMF as virtual_mf-REMOTE_ENTRY_ID-*.js
  participant React as React DOM

  User->>Browser: Navigate to dashboard
  Browser->>IndexHTML: Load page
  IndexHTML->>Browser: modulepreload links
  IndexHTML->>HostInit: Load host init
  HostInit->>Remote: import remoteEntry
  Remote->>VMF: Expose get/init
  HostInit->>Remote: init(shared)
  Note over HostInit,Remote: Share scope initialized
  IndexHTML->>Loader: Load loader script
  Loader-->>Loader: Listen portal:boot:complete
  VMF->>Browser: Dynamic import shared UI
  React-->>Browser: createRoot + render App
  Browser-->>Loader: Dispatch portal:boot:complete
  Loader-->>Browser: Remove overlay, clear interval
Loading
sequenceDiagram
  autonumber
  actor User
  participant UI as UploadButton / Wizard
  participant DZ as Dropzone
  participant UM as UploadManager
  participant Comp as Progress UI

  User->>UI: Click "Upload"
  UI-->>UI: Open dialog (DialogType.WIZARD)
  UI->>DZ: Select/Drop files
  DZ->>UM: addFile(s)
  UI->>UM: start()
  UM-->>UI: emit files-added
  loop Uploading
    UM-->>Comp: upload-progress(fileId, pct)
    Comp-->>User: Update progress bar/status
  end
  alt Success
    UM-->>Comp: complete(fileId, cid)
    Comp-->>User: Show success list
  else Error
    UM-->>Comp: error(fileId, err)
    Comp-->>User: Show error and retry option
  end
Loading

Estimated code review effort

🎯 5 (Critical) | ⏱️ ~120 minutes

Possibly related PRs

Poem

A rabbit taps the build with cheer,
New roots grow where hashes steer.
Grids replace the widgets’ lair,
Uploads hop through cleaner air.
IPFS burrows join the scene—
Carrots cached, the loaders clean.
Ship it swift; the burrow’s green! 🥕🚀

✨ Finishing touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch portal-plugin/dashboard

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 5e77668 and 89c815d.

📒 Files selected for processing (69)
  • go/portal-dashboard/build/index.html (1 hunks)
  • go/portal-dashboard/build/mf-manifest.json (1 hunks)
  • go/portal-dashboard/build/static/js/_baseIsEqual-B7GFR2Lt.js (1 hunks)
  • go/portal-dashboard/build/static/js/createLucideIcon-CcrG3Oz3.js (0 hunks)
  • go/portal-dashboard/build/static/js/createLucideIcon-DMX48tGS.js (1 hunks)
  • go/portal-dashboard/build/static/js/dashboard__loadShare__react_mf_2_router__loadShare__-BKb1-sjI.js (1 hunks)
  • go/portal-dashboard/build/static/js/hostInit-Bm1fieLK.js (1 hunks)
  • go/portal-dashboard/build/static/js/hostInit-CPjpPlIg.js (0 hunks)
  • go/portal-dashboard/build/static/js/index-BWfSSGY1.js (0 hunks)
  • go/portal-dashboard/build/static/js/index-BpcOal57.js (1 hunks)
  • go/portal-dashboard/build/static/js/index-C2B07oHK.js (1 hunks)
  • go/portal-dashboard/build/static/js/index-CAhUWRmj.js (0 hunks)
  • go/portal-dashboard/build/static/js/index-DKozEukH.js (23 hunks)
  • go/portal-dashboard/build/static/js/index-DNzgWFpQ.js (12 hunks)
  • go/portal-dashboard/build/static/js/index-DRtNAoCS.js (1 hunks)
  • go/portal-dashboard/build/static/js/index-DcLdNvXO.js (5 hunks)
  • go/portal-dashboard/build/static/js/index-ENp_rX1B.js (0 hunks)
  • go/portal-dashboard/build/static/js/index-P2i2iTTc.js (1 hunks)
  • go/portal-dashboard/build/static/js/index-gNG4oL9e.js (38 hunks)
  • go/portal-dashboard/build/static/js/jsx-runtime-Rqu4CMEU.js (0 hunks)
  • go/portal-dashboard/build/static/js/loader-Bg6R-tVQ.js (2 hunks)
  • go/portal-dashboard/build/static/js/remoteEntry-DRKUrwbN.js (0 hunks)
  • go/portal-dashboard/build/static/js/remoteEntry-DeNMjPe8.js (1 hunks)
  • go/portal-dashboard/build/static/js/virtual_mf-REMOTE_ENTRY_ID-CdiOFrlK.js (8 hunks)
  • go/portal-dashboard/build/static/js/virtual_mf-REMOTE_ENTRY_ID-D_r1HWn_.js (0 hunks)
  • go/portal-plugin-core/build/mf-manifest.json (1 hunks)
  • go/portal-plugin-core/build/static/js/NotFound-BrzpJLoK.js (1 hunks)
  • go/portal-plugin-core/build/static/js/hostInit-C4kChaJ2.js (1 hunks)
  • go/portal-plugin-core/build/static/js/index-DOz4wB89.js (3 hunks)
  • go/portal-plugin-core/build/static/js/remoteEntry-Bfr-IskS.js (3 hunks)
  • go/portal-plugin-core/build/static/js/virtualExposes-FLITOoE-.js (2 hunks)
  • go/portal-plugin-dashboard/build/mf-manifest.json (1 hunks)
  • go/portal-plugin-dashboard/build/static/css/index-BaZrNcd7.css (54 hunks)
  • go/portal-plugin-dashboard/build/static/js/2fa-C1DET80c.js (4 hunks)
  • go/portal-plugin-dashboard/build/static/js/Card-Dhqiz4WT.js (1 hunks)
  • go/portal-plugin-dashboard/build/static/js/UploadProgress-DV-AG4es.js (1 hunks)
  • go/portal-plugin-dashboard/build/static/js/account.api-keys-DzYPf8xu.js (5 hunks)
  • go/portal-plugin-dashboard/build/static/js/account.layout-Bh70a_dQ.js (1 hunks)
  • go/portal-plugin-dashboard/build/static/js/account.profile-1ZpbyAwk.js (1 hunks)
  • go/portal-plugin-dashboard/build/static/js/account.security-CZUtzw83.js (1 hunks)
  • go/portal-plugin-dashboard/build/static/js/account.verify-D_jSc_14.js (2 hunks)
  • go/portal-plugin-dashboard/build/static/js/bio-NNvgMA2R.js (1 hunks)
  • go/portal-plugin-dashboard/build/static/js/button-CotKGV1g.js (1 hunks)
  • go/portal-plugin-dashboard/build/static/js/core_dashboard__loadShare__react_mf_2_router__loadShare__-BAqyw0OF.js (1 hunks)
  • go/portal-plugin-dashboard/build/static/js/dashboard-CyoVN0A2.js (1 hunks)
  • go/portal-plugin-dashboard/build/static/js/delete-Byg0mkTW.js (3 hunks)
  • go/portal-plugin-dashboard/build/static/js/emailVerificationBanner-CdVXtlki.js (1 hunks)
  • go/portal-plugin-dashboard/build/static/js/hostInit-CCiBJrmO.js (1 hunks)
  • go/portal-plugin-dashboard/build/static/js/index-Ck40T_pq.js (1 hunks)
  • go/portal-plugin-dashboard/build/static/js/index-DnwRdgPn.js (0 hunks)
  • go/portal-plugin-dashboard/build/static/js/loginIndex-B9ov-e9t.js (1 hunks)
  • go/portal-plugin-dashboard/build/static/js/otp-CD2EuG6c.js (1 hunks)
  • go/portal-plugin-dashboard/build/static/js/password-C16jlHEA.js (3 hunks)
  • go/portal-plugin-dashboard/build/static/js/profile-CrM6W3Qr.js (2 hunks)
  • go/portal-plugin-dashboard/build/static/js/registerIndex-e-dGZg9t.js (1 hunks)
  • go/portal-plugin-dashboard/build/static/js/remoteEntry-_8SA8T4m.js (3 hunks)
  • go/portal-plugin-dashboard/build/static/js/resetPassword.confirm-DeVKzqWw.js (2 hunks)
  • go/portal-plugin-dashboard/build/static/js/resetPassword.layout-CJp19GKz.js (1 hunks)
  • go/portal-plugin-dashboard/build/static/js/resetPassword.reset-BIj0lK72.js (1 hunks)
  • go/portal-plugin-dashboard/build/static/js/resetPassword.schema-BdPzDz_P.js (13 hunks)
  • go/portal-plugin-dashboard/build/static/js/upload-Dami3hzH.js (1 hunks)
  • go/portal-plugin-dashboard/build/static/js/useEmailVerification-BIuNhWnG.js (1 hunks)
  • go/portal-plugin-dashboard/build/static/js/virtualExposes-DqU1esOM.js (20 hunks)
  • go/portal-plugin-ipfs/build/mf-manifest.json (1 hunks)
  • go/portal-plugin-ipfs/build/static/js/hostInit-CHVmmHEv.js (1 hunks)
  • go/portal-plugin-ipfs/build/static/js/remoteEntry-C548HudX.js (1 hunks)
  • go/portal-plugin-ipfs/build/static/js/virtualExposes-CNcYDY2V.js (1 hunks)
  • go/portal-plugin-ipfs/go.mod (1 hunks)
  • go/portal-plugin-ipfs/handler.go (1 hunks)

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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