-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Dashboard may display blank page when selecting an app after login #2375
Conversation
I will reformat the title to use the proper commit message syntax. |
Thanks for opening this pull request!
|
I think this should fix #2374 (comment) |
This branch has been deployed using Uffizzi. Preview URL: View deployment details here: This is an automated comment. To turn off commenting, visit uffizzi.com. |
Does the pr preview auto-update when new commits are pushed? I'm not sure it does, as the dashboard has retained login between commits |
This branch has been deployed using Uffizzi. Preview URL: View deployment details here: This is an automated comment. To turn off commenting, visit uffizzi.com. |
Yes it should, but it takes a while. |
I think it has something to do with the URL in the browser that is parsed there? What you could do it output the value to the browser JS console that should be split so you see what value is causing this. My shot in the dark here is that it has something to do with the URL |
I think you are right, you may have to close and re-open the PR to redeploy the preview, then it takes about 15 mins. |
This branch has been deployed using Uffizzi. Preview URL: View deployment details here: This is an automated comment. To turn off commenting, visit uffizzi.com. |
Here's the issue: const appId = 'parse';
const path = '/apps/MyParseApp/browser';
const route = path.split(appId)[1].split('/')[1]; // throws because path.split(appId)[1] == undefined Is this a misconfiguration of the dashboard? Btw I'm not sure the |
The previews should be updated (without having to close and reopen the PR) as you push commits to that open PR. It could be the case that @dblythy you were seeing a cached version of the preview..? Once commits are pushed to the PR, this triggers build and deploy again — so the preview gets updated, or you'll have a new preview in case the old one was deleted/expired. Was the Uffizzi CI console unable to help here? Ideally, as the containers get rebuilt, the Uffizzi CI will indicate that the containers are building and when the preview was last updated. Were you all not seeing that? |
This branch has been deployed using Uffizzi. Preview URL: View deployment details here: This is an automated comment. To turn off commenting, visit uffizzi.com. |
I had to close and re-open, I tried clearing cache and reloading and didn't work. This is ready for review |
thanks for letting me know, @dblythy. |
Let me clarify Uffizzi behavior:
|
I've opened #2374 to discuss the Uffizzi integration. Let's try to keep the discussion there, to keep this topic consolidated and make it easier for others to follow. I will respond there. |
This branch has been deployed using Uffizzi. Preview URL: View deployment details here: This is an automated comment. To turn off commenting, visit uffizzi.com. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Thanks for the quick fix.
# [5.1.0-alpha.7](5.1.0-alpha.6...5.1.0-alpha.7) (2023-01-28) ### Bug Fixes * Dashboard may display blank page when selecting an app after login ([#2375](#2375)) ([f399b91](f399b91))
🎉 This change has been released in version 5.1.0-alpha.7 |
# [5.1.0-beta.2](5.1.0-beta.1...5.1.0-beta.2) (2023-03-01) ### Bug Fixes * Add dashboard option `cookieSessionMaxAge` to keep user logged in across browser sessions ([#2366](#2366)) ([9ea95fc](9ea95fc)) * Blank screen shown if server is unreachable; unsupported pages are accessible via direct URLs ([#2363](#2363)) ([9855258](9855258)) * Dashboard may display blank page when selecting an app after login ([#2375](#2375)) ([f399b91](f399b91)) * Data browser dialog "No data to display" may be outside of visible area in Safari browser ([#2387](#2387)) ([52bba62](52bba62)) * Internal error message on login with missing credential ([#2370](#2370)) ([9a6a31f](9a6a31f)) * Navigation to page fails if user re-login is required ([#2369](#2369)) ([0db6f55](0db6f55)) * Screen goes blank when trying to add column of type `Object` or `GeoPoint` ([#2384](#2384)) ([0886386](0886386)) * Text selection not visible in modal dialog header ([#2340](#2340)) ([fb0e79c](fb0e79c)) ### Features * Add export all rows of a class and export in JSON format ([#2361](#2361)) ([9eb36a1](9eb36a1)) * Add schema export ([#2362](#2362)) ([33df049](33df049))
🎉 This change has been released in version 5.1.0-beta.2 |
# [5.1.0](5.0.0...5.1.0) (2023-05-01) ### Bug Fixes * Add dashboard option `cookieSessionMaxAge` to keep user logged in across browser sessions ([#2366](#2366)) ([9ea95fc](9ea95fc)) * Blank screen shown if server is unreachable; unsupported pages are accessible via direct URLs ([#2363](#2363)) ([9855258](9855258)) * Dashboard may display blank page when selecting an app after login ([#2375](#2375)) ([f399b91](f399b91)) * Data browser dialog "No data to display" may be outside of visible area in Safari browser ([#2387](#2387)) ([52bba62](52bba62)) * Internal error message on login with missing credential ([#2370](#2370)) ([9a6a31f](9a6a31f)) * Navigation to page fails if user re-login is required ([#2369](#2369)) ([0db6f55](0db6f55)) * Screen goes blank when trying to add column of type `Object` or `GeoPoint` ([#2384](#2384)) ([0886386](0886386)) * Text selection not visible in modal dialog header ([#2340](#2340)) ([fb0e79c](fb0e79c)) ### Features * Add export all rows of a class and export in JSON format ([#2361](#2361)) ([9eb36a1](9eb36a1)) * Add schema export ([#2362](#2362)) ([33df049](33df049)) * remove limitation to refresh Cloud Jobs list only after 30 seconds ([#2332](#2332)) ([ad1132f](ad1132f))
🎉 This change has been released in version 5.1.0 |
* source: (41 commits) chore(release): 5.1.0 [skip ci] chore(release): 5.1.0-beta.2 [skip ci] ci: Skip unnecessary builds (parse-community#2389) refactor: Upgrade various dependencies (parse-community#2388) chore(release): 5.1.0-alpha.10 [skip ci] fix: Data browser dialog "No data to display" may be outside of visible area in Safari browser (parse-community#2387) chore(release): 5.1.0-alpha.9 [skip ci] fix: Screen goes blank when trying to add column of type `Object` or `GeoPoint` (parse-community#2384) refactor: Bump http-cache-semantics from 4.1.0 to 4.1.1 (parse-community#2381) chore(release): 5.1.0-alpha.8 [skip ci] fix: Internal error message on login with missing credential (parse-community#2370) refactor: Remove warnings in Docker build (parse-community#2350) ci: Restyle preview html (parse-community#2377) chore(release): 5.1.0-alpha.7 [skip ci] fix: Dashboard may display blank page when selecting an app after login (parse-community#2375) ci: Add deployment preview to pull requests via Uffizzi integration (parse-community#2364) chore(release): 5.1.0-alpha.6 [skip ci] fix: Navigation to page fails if user re-login is required (parse-community#2369) refactor: Bump ua-parser-js from 0.7.28 to 0.7.33 (parse-community#2372) chore(release): 5.1.0-alpha.5 [skip ci] ... # Conflicts: # package-lock.json
New Pull Request Checklist
Issue Description
Related: #2374
Approach
TODOs before merging