-
Notifications
You must be signed in to change notification settings - Fork 109
replace v5 with crypto.randomuuid #2927
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
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Left some comments (all NITs) on places that don't need to be typed as a string
. Otherwise, LGTM 🚀
src/lib/components/workflow/client-actions/batch-cancel-confirmation-modal.svelte
Outdated
Show resolved
Hide resolved
src/lib/components/workflow/client-actions/batch-reset-confirmation-modal.svelte
Outdated
Show resolved
Hide resolved
src/lib/components/workflow/client-actions/batch-terminate-confirmation-modal.svelte
Outdated
Show resolved
Hide resolved
src/lib/components/workflow/client-actions/update-confirmation-modal.svelte
Outdated
Show resolved
Hide resolved
randomUUID: () => 'test-uuid-' + Math.random().toString(36).substring(2, 9), | ||
}; | ||
|
||
vi.stubGlobal('crypto', cryptoMock); |
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.
Is there a reason you added this mock? Looks like it's currently not being used anywhere.
…mation-modal.svelte Co-authored-by: Laura Whitaker <[email protected]>
…ation-modal.svelte Co-authored-by: Laura Whitaker <[email protected]>
…firmation-modal.svelte Co-authored-by: Laura Whitaker <[email protected]>
…-modal.svelte Co-authored-by: Laura Whitaker <[email protected]>
Co-authored-by: Laura Whitaker <[email protected]>
Co-authored-by: Laura Whitaker <[email protected]>
Description & motivation 💭
Replace v4 with crypto randomUUID
Screenshots (if applicable) 📸
Design Considerations 🎨
Testing 🧪
Add mock uuid's to account for updated uuid in our tests.
How was this tested 👻
Steps for others to test: 🚶🏽♂️🚶🏽♀️
Checklists
Draft Checklist
Merge Checklist
Issue(s) closed
dt-3225
Docs
Any docs updates needed?