- Notifications
You must be signed in to change notification settings - Fork929
feat: allow users to duplicate workspaces by parameters#10362
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes from1 commit
Commits
Show all changes
24 commits Select commitHold shift + click to select a range
9e4f999
chore: add queries for workspace build info
Parkreiner112bc95
refactor: clean up logic for CreateWorkspacePage to support multiple …
Parkreiner15fdfbf
chore: add custom workspace duplication hook
Parkreinerd007b86
chore: integrate mode into CreateWorkspacePageView
Parkreiner294156e
fix: add mode to CreateWorkspacePageView stories
Parkreiner4554895
refactor: extract workspace duplication outside CreateWorkspacePage file
Parkreiner25bacf2
chore: integrate useWorkspaceDuplication into WorkspaceActions
Parkreiner0947031
chore: delete unnecessary function
Parkreiner1d4d4d7
Merge branch 'main' into mes/workspace-clone-feat
Parkreinerd71acf6
refactor: swap useReducer for useState
Parkreinerc0a8c56
fix: swap warning alert for info alert
Parkreiner0b3e954
refactor: move info alert message
Parkreiner7a763a9
refactor: simplify UI logic for mode alerts
Parkreinerda488fa
fix: prevent dismissed Alerts from affecting layouts
Parkreiner5c7242f
fix: remove unnecessary prop binding
Parkreiner98d1b1b
docs: reword comment for clarity
Parkreineraeacda5
chore: update msw build params to return multiple params
Parkreiner230a4f1
chore: rename duplicationReady to isDuplicationReady
Parkreiner75b1839
chore: expose root component for testing/re-rendering
Parkreiner7cf446f
chore: get tests in place (still have act warnings)
Parkreinerbf21656
refactor: move stuff around for clarity
Parkreiner38ba3b2
chore: finish tests
Parkreiner923d080
chore: revamp tests
Parkreiner8b3d4dd
chore: merge main into branch
ParkreinerFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
chore: revamp tests
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commit923d080dc105a5adf68d95077e0039aec860546d
There are no files selected for viewing
86 changes: 35 additions & 51 deletionssite/src/pages/CreateWorkspacePage/useWorkspaceDuplication.test.tsx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
114 changes: 98 additions & 16 deletionssite/src/testHelpers/renderHelpers.tsx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.