-
Notifications
You must be signed in to change notification settings - Fork 5.2k
feat: update import SRP UI #31098
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
feat: update import SRP UI #31098
Conversation
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
/> | ||
<Dropdown | ||
className="import-srp__number-of-words-dropdown" | ||
onChange={(newSelectedOption) => { |
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.
Can we move this out of an inline function into a useCallback
usage?
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.
Great suggestion! I'll do it now
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.
Done
Builds ready [69602d9]
Page Load Metrics (5600 ± 2553 ms)
Bundle size diffs [🚀 Bundle size reduced!]
|
…2 border to black
Builds ready [ead672e]
Page Load Metrics (2546 ± 315 ms)
Bundle size diffs [🚀 Bundle size reduced!]
|
1 similar comment
Builds ready [ead672e]
Page Load Metrics (2546 ± 315 ms)
Bundle size diffs [🚀 Bundle size reduced!]
|
Builds ready [fa2714c]
Page Load Metrics (2545 ± 324 ms)
Bundle size diffs [🚀 Bundle size reduced!]
|
Description
Cleaned up and simplified import SRP flow according to @yanrong-chen specifications:
useCallback
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
NA
Before
After
Dark Mode
Light Mode
With Errors
Pre-merge author checklist
Pre-merge reviewer checklist