Skip to content
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: move all saved objects to target workspace #292

Draft
wants to merge 8 commits into
base: workspace
Choose a base branch
from

Conversation

yubonluo
Copy link

Description

  • When the button is clicked, the target workspace id will be added to the workspaces field, while retaining the current workspace id.

  • When I moved 2000 objects, the average response time was about 1000 ms.

Issues Resolved

Screenshot

image

Testing the changes

Check List

  • All tests pass
    • yarn test:jest
    • yarn test:jest_integration
  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

yubonluo added 7 commits March 8, 2024 17:46
…Dashboards into workspace-duplicate

# Conflicts:
#	src/core/server/saved_objects/service/lib/repository.ts
#	src/plugins/workspace/public/components/delete_workspace_modal/delete_workspace_modal.tsx
#	src/plugins/workspace/server/routes/index.ts
@codecov-commenter
Copy link

codecov-commenter commented Mar 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 55.70%. Comparing base (0ee4023) to head (9d56ef5).
Report is 1 commits behind head on workspace.

Additional details and impacted files
@@              Coverage Diff              @@
##           workspace     #292      +/-   ##
=============================================
- Coverage      59.07%   55.70%   -3.38%     
=============================================
  Files           3026     2261     -765     
  Lines          58158    42443   -15715     
  Branches        9118     7540    -1578     
=============================================
- Hits           34357    23642   -10715     
+ Misses         21878    17361    -4517     
+ Partials        1923     1440     -483     
Flag Coverage Δ
Linux_1 ?
Linux_2 55.34% <100.00%> (+0.10%) ⬆️
Linux_4 34.86% <12.50%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@yubonluo yubonluo changed the title [Feature] move all saved objects to target workspace move all saved objects to target workspace Mar 13, 2024
@yubonluo yubonluo changed the title move all saved objects to target workspace feat: move all saved objects to target workspace Mar 13, 2024
@raintygao
Copy link
Collaborator

@yubonluo As we won't use workspace branch any more, should we change target branch or close this PR?

@yubonluo yubonluo marked this pull request as draft July 16, 2024 06:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants