-
-
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
Final PR for react-aria-components Modal migration #3413
Conversation
✅ Deploy Preview for actualbudget ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Bundle Stats — desktop-clientHey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle. As this PR is updated, I'll keep you updated on how the bundle size is impacted. Total
Changeset (largest 100 files by percent change)
View detailed bundle breakdownAdded No assets were added Removed No assets were removed Bigger
Smaller
Unchanged
|
Bundle Stats — loot-coreHey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle. As this PR is updated, I'll keep you updated on how the bundle size is impacted. Total
Changeset No files were changed View detailed bundle breakdownAdded No assets were added Removed No assets were removed Bigger No assets were bigger Smaller No assets were smaller Unchanged
|
import { Paragraph } from '../common/Paragraph'; | ||
import { View } from '../common/View'; | ||
|
||
export function GoCardlessLink() { | ||
window.close(); |
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.
I think we want to keep this line. Otherwise the window won't automatically close after linking.
The flow is:
- initialise the linking
- that opens the linking in popover
- the user follows bank login there
- finally the popover redirects back to actual
- we close the popover (this line)
- the root window is visible again and linking is success
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.
Nice catch! Thanks for pointing that out. Updated :)
@@ -67,144 +72,122 @@ export function ManagementApp({ isLoading }) { | |||
// redux so that it persists across renders. This will show the | |||
// loading spinner on first run, but never again since we'll have | |||
// a cached list of files and can show them | |||
if (!managerHasInitialized) { |
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.
I think we want to get rid of the comment above too.
* Final PR for react-aria-components Modal migration * Complete manager modals migration * Release notes * fix lint * Apps full height * Fix lint error * VRT * Centralize providers * Feedback
Please bear with me on this large PR. Changes made:
Modal
component and renamedModal2
toModal
Modals
components instead of 2 separateButton2
naming