Skip to content

chore(go): update builds#512

Merged
pcfreak30 merged 1 commit intodevelopfrom
libs/portal-plugin-dashboard
Oct 2, 2025
Merged

chore(go): update builds#512
pcfreak30 merged 1 commit intodevelopfrom
libs/portal-plugin-dashboard

Conversation

@pcfreak30
Copy link
Copy Markdown
Member

@pcfreak30 pcfreak30 commented Oct 2, 2025

Summary by CodeRabbit

  • New Features

    • Added Operations dashboard with filters and detailed per-row info.
    • Introduced IPFS File Manager.
    • Enhanced Profile Bio with avatar upload dialog and progress.
  • Improvements

    • Revamped upload experience: richer progress UI, clearer labels, and new “preprocessing” status.
    • Expanded dashboard plugin routes and widgets (upload, profile, security, API keys).
    • Improved tables via new column helper utilities.
  • Style

    • Added utility CSS for colors, layouts, responsiveness, and effects.
  • Chores

    • Updated build assets, manifests, and module federation mappings for reliability.

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Oct 2, 2025

⚠️ No Changeset found

Latest commit: 3365b6e

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 Oct 2, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

Updates multiple build artifacts across dashboard and plugins, including hashed asset filenames, module federation manifests, and remoteEntry mappings. Introduces new framework hooks, token-aware data provider, expanded upload/dropzone UI with context and statuses, a new Operations route, replacement of the Bio module, and IPFS plugin exposes/assets with added exports.

Changes

Cohort / File(s) Summary
Dashboard: build asset swaps
go/portal-dashboard/build/index.html, go/portal-dashboard/build/mf-manifest.json, go/portal-dashboard/build/static/js/hostInit-Cfrd1JyI.js
Switches to new hashed entry points for hostInit and remoteEntry; manifest updates for remote entries and shared asset filenames. No structural changes.
Framework core/API changes
go/portal-dashboard/build/static/js/index--g57fGyZ.js, go/portal-dashboard/build/static/js/remoteEntry-D6bu2_pd.js, go/portal-dashboard/build/static/js/virtual_mf-REMOTE_ENTRY_ID-D6TTdSCM.js
Adds hooks: useFrameworkData, useCapability, useFeature, useCapabilitiesByType. Removes feature.initialize call in Framework.loadFeature. Updates federation import sources and preload maps.
Plugin Core: auth-aware data provider
go/portal-plugin-core/build/mf-manifest.json, go/portal-plugin-core/build/static/js/hostInit-Czn6cYI_.js, go/portal-plugin-core/build/static/js/index-CEHXfrhR.js, go/portal-plugin-core/build/static/js/remoteEntry-eiWw4-vl.js, go/portal-plugin-core/build/static/js/virtualExposes-CcAGe-wK.js
Introduces parseListResponse/parseSingleResponse and token-aware dataProvider(apiUrl, needsAuth). baseFetch gains conditional Authorization handling. Manifests/entries retargeted to new hashes and shared mappings.
Plugin Dashboard: dialog enum rename
go/portal-plugin-dashboard/build/static/js/2fa-TVJ8JSyQ.js, .../account.api-keys-80n0TA0r.js, .../password-CEb_kQv7.js, .../delete-Dq4Y4W_0.js
Renames DialogType.* to DialogTypes.* in configs; account.api-keys now imports createColumnHelper externally.
Plugin Dashboard: upload/dropzone overhaul
go/portal-plugin-dashboard/build/static/js/Dropzone-PZtk_gpk.js, .../button-djbmzYgo.js, .../upload-Cr_MDl4Y.js, .../static/css/index-O1Yey4h8.css
Adds useDropzoneContext export, FileItem/progress UI, filesize utilities, status handling; adds FileStatus.PREPROCESSING; refactors wizard navigation and labels; expands utility CSS classes.
Plugin Dashboard: bio module replacement
go/portal-plugin-dashboard/build/static/js/bio-I_CkCA4V.js, .../bio-NNvgMA2R.js
Replaces prior Bio implementation with a new module using an UploadManager-based avatar flow; old Bio module removed; default export remains Bio.
Plugin Dashboard: operations + helpers
go/portal-plugin-dashboard/build/static/js/operations-BL0Hkm6_.js, .../index-BGqH-Bku.js
Adds Operations route/component with filters and table; introduces and exports createColumnHelper helper.
Plugin Dashboard: plugin and federation wiring
go/portal-plugin-dashboard/build/mf-manifest.json, .../hostInit-D5orLf5M.js, .../virtualExposes-BnICTVZN.js, .../plugin-CP00DieB.js, .../remoteEntry-CHFMoszJ.js
New plugin bundle with capabilities, routes, widgets; virtualExposes routes updated (incl. new ./operations); remoteEntry shared mappings reordered; manifests point to new hashes.
Plugin IPFS: exposes and shared deps
go/portal-plugin-ipfs/build/mf-manifest.json, .../hostInit-BeHv5Vdr.js, .../remoteEntry-Cw1bPxvq.js, .../virtualExposes-BT6EZwsS.js, .../virtualExposes-CNcYDY2V.js, .../folder-BEVrBiCO.js
Adds ./file-manager expose and new shared deps (@refinedev/core, @tanstack/react-query). Replaces virtualExposes file. New Folder/CID bundle with many exports. Remote entries/manifests retargeted.

Sequence Diagram(s)

sequenceDiagram
  autonumber
  participant UI as UI Component
  participant Hook as useFrameworkData
  participant DP as dataProvider(apiUrl, needsAuth)
  participant TF as tokenWaiter
  participant HTTP as baseFetch
  participant API as Backend API

  UI->>Hook: fetchData(...deps)
  Hook->>DP: request(method, url, opts, needsAuth=true/false)
  alt needsAuth = true
    DP->>TF: await token
    TF-->>DP: token
    DP->>HTTP: fetch(url, {headers: Authorization})
  else needsAuth = false
    DP->>HTTP: fetch(url, {headers: none/only defaults})
  end
  HTTP->>API: HTTP request
  API-->>HTTP: response
  HTTP-->>DP: Response
  DP->>Hook: parseSingleResponse/parseListResponse
  Hook-->>UI: {data, total?, isLoading, error}
Loading
sequenceDiagram
  autonumber
  participant User as User
  participant DZ as Dropzone/useDropzoneContext
  participant UM as UploadManager
  participant Wiz as Upload Wizard
  participant Nav as Navigation Controller

  User->>DZ: select/drag files
  DZ->>UM: add files
  UM-->>Wiz: progress(status, percent)
  Wiz->>Nav: onNavigationStart()
  alt upload complete
    UM-->>Wiz: complete
    Wiz->>Nav: queue or perform navigation
    Nav-->>Wiz: onNavigationEnd()
  else error
    UM-->>Wiz: error
    Wiz->>Nav: onNavigationError()
  end
Loading

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~75 minutes

Possibly related PRs

Poem

A nibble of hashes, a hop through the UI,
New hooks sprout softly as features drift by.
Tokens in pockets, we queue and we go,
Wizards now whisper where uploads should flow.
Operations march, Bio gets a shine—
Carrot-shaped commits, delectable and fine! 🥕🐇

✨ Finishing touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch libs/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 122ccc2 and 3365b6e.

📒 Files selected for processing (34)
  • go/portal-dashboard/build/index.html (1 hunks)
  • go/portal-dashboard/build/mf-manifest.json (1 hunks)
  • go/portal-dashboard/build/static/js/hostInit-Cfrd1JyI.js (1 hunks)
  • go/portal-dashboard/build/static/js/index--g57fGyZ.js (3 hunks)
  • go/portal-dashboard/build/static/js/remoteEntry-D6bu2_pd.js (1 hunks)
  • go/portal-dashboard/build/static/js/virtual_mf-REMOTE_ENTRY_ID-D6TTdSCM.js (4 hunks)
  • go/portal-plugin-core/build/mf-manifest.json (1 hunks)
  • go/portal-plugin-core/build/static/js/hostInit-Czn6cYI_.js (1 hunks)
  • go/portal-plugin-core/build/static/js/index-CEHXfrhR.js (9 hunks)
  • go/portal-plugin-core/build/static/js/remoteEntry-eiWw4-vl.js (2 hunks)
  • go/portal-plugin-core/build/static/js/virtualExposes-CcAGe-wK.js (1 hunks)
  • go/portal-plugin-dashboard/build/mf-manifest.json (1 hunks)
  • go/portal-plugin-dashboard/build/static/css/index-O1Yey4h8.css (42 hunks)
  • go/portal-plugin-dashboard/build/static/js/2fa-TVJ8JSyQ.js (2 hunks)
  • go/portal-plugin-dashboard/build/static/js/Dropzone-PZtk_gpk.js (6 hunks)
  • go/portal-plugin-dashboard/build/static/js/account.api-keys-80n0TA0r.js (2 hunks)
  • go/portal-plugin-dashboard/build/static/js/bio-I_CkCA4V.js (1 hunks)
  • go/portal-plugin-dashboard/build/static/js/bio-NNvgMA2R.js (0 hunks)
  • go/portal-plugin-dashboard/build/static/js/button-djbmzYgo.js (9 hunks)
  • go/portal-plugin-dashboard/build/static/js/delete-Dq4Y4W_0.js (1 hunks)
  • go/portal-plugin-dashboard/build/static/js/hostInit-D5orLf5M.js (1 hunks)
  • go/portal-plugin-dashboard/build/static/js/index-BGqH-Bku.js (1 hunks)
  • go/portal-plugin-dashboard/build/static/js/operations-BL0Hkm6_.js (1 hunks)
  • go/portal-plugin-dashboard/build/static/js/password-CEb_kQv7.js (1 hunks)
  • go/portal-plugin-dashboard/build/static/js/plugin-CP00DieB.js (1 hunks)
  • go/portal-plugin-dashboard/build/static/js/remoteEntry-CHFMoszJ.js (2 hunks)
  • go/portal-plugin-dashboard/build/static/js/upload-Cr_MDl4Y.js (1 hunks)
  • go/portal-plugin-dashboard/build/static/js/virtualExposes-BnICTVZN.js (7 hunks)
  • go/portal-plugin-ipfs/build/mf-manifest.json (1 hunks)
  • go/portal-plugin-ipfs/build/static/js/folder-BEVrBiCO.js (1 hunks)
  • go/portal-plugin-ipfs/build/static/js/hostInit-BeHv5Vdr.js (1 hunks)
  • go/portal-plugin-ipfs/build/static/js/remoteEntry-Cw1bPxvq.js (5 hunks)
  • go/portal-plugin-ipfs/build/static/js/virtualExposes-BT6EZwsS.js (1 hunks)
  • go/portal-plugin-ipfs/build/static/js/virtualExposes-CNcYDY2V.js (0 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.

@pcfreak30 pcfreak30 merged commit a7ec646 into develop Oct 2, 2025
0 of 2 checks passed
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