Skip to content

[Bug][Workspace]Fix page display errors and add loading status#8086

Merged
SuZhou-Joe merged 4 commits intoopensearch-project:mainfrom
yubonluo:2.17/add-loading-state
Sep 10, 2024
Merged

[Bug][Workspace]Fix page display errors and add loading status#8086
SuZhou-Joe merged 4 commits intoopensearch-project:mainfrom
yubonluo:2.17/add-loading-state

Conversation

@yubonluo
Copy link
Copy Markdown
Collaborator

@yubonluo yubonluo commented Sep 9, 2024

Description

Fix page display errors:

  • DQC table in workspace detail page
image
  • Add collaborator button in workspace detail page
image

Add loading status when user update workspace.

Issues Resolved

Screenshot

Fix table error:
image

Fix button error:
image

After updating workspace, it will show the loading state.
image

Testing the changes

Changelog

  • fix: [Workspace]Fix page display errors and add loading status

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

Signed-off-by: yubonluo <yubonluo@amazon.com>
SuZhou-Joe
SuZhou-Joe previously approved these changes Sep 9, 2024
@codecov
Copy link
Copy Markdown

codecov bot commented Sep 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 60.59%. Comparing base (ee5d482) to head (777cb85).
Report is 71 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8086   +/-   ##
=======================================
  Coverage   60.58%   60.59%           
=======================================
  Files        3738     3738           
  Lines       88670    88678    +8     
  Branches    13782    13787    +5     
=======================================
+ Hits        53725    53730    +5     
- Misses      31661    31663    +2     
- Partials     3284     3285    +1     
Flag Coverage Δ
Linux_1 28.75% <ø> (-0.01%) ⬇️
Linux_2 56.28% <ø> (+0.01%) ⬆️
Linux_3 37.51% <ø> (-0.01%) ⬇️
Linux_4 29.60% <ø> (-0.01%) ⬇️
Windows_1 28.77% <ø> (-0.01%) ⬇️
Windows_2 56.23% <ø> (+0.01%) ⬆️
Windows_3 37.51% <ø> (-0.01%) ⬇️
Windows_4 29.60% <ø> (-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.

Comment thread src/plugins/workspace/public/components/workspace_detail_app.tsx Outdated
Signed-off-by: yubonluo <yubonluo@amazon.com>
@SuZhou-Joe SuZhou-Joe merged commit af2b2d4 into opensearch-project:main Sep 10, 2024
opensearch-trigger-bot bot pushed a commit that referenced this pull request Sep 10, 2024
* Fix page display errors and add loading status

Signed-off-by: yubonluo <yubonluo@amazon.com>

* Changeset file for PR #8086 created/updated

* optimize the code

Signed-off-by: yubonluo <yubonluo@amazon.com>

---------

Signed-off-by: yubonluo <yubonluo@amazon.com>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
(cherry picked from commit af2b2d4)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Sep 10, 2024
* Fix page display errors and add loading status

Signed-off-by: yubonluo <yubonluo@amazon.com>

* Changeset file for PR #8086 created/updated

* optimize the code

Signed-off-by: yubonluo <yubonluo@amazon.com>

---------

Signed-off-by: yubonluo <yubonluo@amazon.com>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
(cherry picked from commit af2b2d4)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
SuZhou-Joe pushed a commit that referenced this pull request Sep 11, 2024
#8105)

* Fix page display errors and add loading status



* Changeset file for PR #8086 created/updated

* optimize the code



---------



(cherry picked from commit af2b2d4)

Signed-off-by: yubonluo <yubonluo@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
SuZhou-Joe pushed a commit that referenced this pull request Sep 11, 2024
#8106)

* Fix page display errors and add loading status



* Changeset file for PR #8086 created/updated

* optimize the code



---------



(cherry picked from commit af2b2d4)

Signed-off-by: yubonluo <yubonluo@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
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.

4 participants