feat: Add reload button to info panel on long loading time#3184
feat: Add reload button to info panel on long loading time#3184mtrezza merged 6 commits intoparse-community:alphafrom
Conversation
|
🚀 Thanks for opening this pull request! |
📝 WalkthroughWalkthroughAdds a delayed reload UI to AggregationPanel (3s delay before showing a reload button and an elapsed-seconds timer), exposes a public Changes
Sequence DiagramsequenceDiagram
participant User as User
participant Panel as AggregationPanel
participant Timer as ReloadTimer
participant DB as DataBrowser
participant Cloud as CloudFunction
User->>Panel: initiates load
activate Panel
Panel->>Timer: start 3s delay & elapsed timer
activate Timer
Timer->>Timer: wait 3s
Timer-->>Panel: show reload button & elapsed seconds
User->>Panel: click reload
deactivate Timer
Panel->>DB: onReload(...)
activate DB
DB->>Cloud: callCloudFunction(objectId, className, appId)
activate Cloud
Cloud-->>DB: return refreshed data
deactivate Cloud
DB-->>Panel: update data / stop loading
deactivate DB
Panel->>Panel: reset timers & loading UI
deactivate Panel
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
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. Comment |
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In `@src/components/AggregationPanel/AggregationPanel.scss`:
- Around line 165-170: The .loader rule currently lacks a positioning context so
its absolutely-positioned children (.elapsedTimer and .reloadButton) can escape;
update the .loader CSS rule (the .loader selector in AggregationPanel.scss) to
include position: relative so it becomes the containing block for .elapsedTimer
and .reloadButton, ensuring they are positioned correctly inside nested panels.
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In `@src/components/AggregationPanel/AggregationPanel.scss`:
- Around line 173-199: .elapsedTimer and .reloadButton are both absolutely
positioned inside the .loader (which is a centered flex column) causing them to
overlap when showReloadButton becomes true; remove position: absolute, left,
transform from both .elapsedTimer and .reloadButton so they participate in
normal flex flow (use margin-top for spacing) and rely on .loader's
align-items:center and flex-direction:column to stack them under the spinner;
also replace the hardcoded color `#999` in .elapsedTimer with an SCSS variable
(e.g., $mediumGrey) to match the file's variable usage.
# [8.5.0-alpha.1](8.4.1-alpha.2...8.5.0-alpha.1) (2026-02-07) ### Features * Add reload button to info panel on long loading time ([#3184](#3184)) ([3712d96](3712d96))
|
🎉 This change has been released in version 8.5.0-alpha.1 |
# [8.5.0](8.4.0...8.5.0) (2026-02-12) ### Bug Fixes * Auto-formatting not applied when Cloud Config parameter value is outdated and re-fetched from server ([#3182](#3182)) ([84eab36](84eab36)) * Clicking reload button in info panel may display fetched data in incorrect panel ([#3189](#3189)) ([b348ef5](b348ef5)) * Role linking in ACL fails with type error ([#3095](#3095)) ([2070d29](2070d29)) * Security migration from csurf to csrf-sync ([#3188](#3188)) ([a95d8a3](a95d8a3)) * View configuration dialog looses focus while typing and lacks syntax highlighting ([#3183](#3183)) ([715fe8d](715fe8d)) ### Features * Add keyboard shortcut to scroll info panels to top ([#3199](#3199)) ([7535626](7535626)) * Add option to reload all or only selected rows after invoking script ([#3200](#3200)) ([173b953](173b953)) * Add reload button to info panel on long loading time ([#3184](#3184)) ([3712d96](3712d96)) * Add support for script execution invoking dashboard form for user input ([#3201](#3201)) ([159f99d](159f99d))
|
🎉 This change has been released in version 8.5.0 |
Pull Request
Feature
Add reload button to info panel on long loading time.
Summary by CodeRabbit
New Features
Style