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

[workspace] fix the UI of delete modal in the save objects(assets) page #8237

Merged

Conversation

Qxisylolo
Copy link
Contributor

@Qxisylolo Qxisylolo commented Sep 19, 2024

Description

This pr fixes the UI of delete modal in the save objects(assets) page by [issue 300-303]

  1. Change "saved objects" to "assets" in the Delete modal.
  2. Swap the "ID" column with the title column and make the modal wider
  3. fix the bug of pagination alignment and remove the bullet point
  4. Capitalize both letters in "ID" column title

Screenshot

before:
截屏2024-09-19 15 20 39

after:
1

Changelog

  • fix: fix the UI of delete modal in the save objects(assets) page

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

@SuZhou-Joe
Copy link
Member

@kgcreative So no matter new home feature is turned on or off, we will use the term assets instead of saved objects?

Signed-off-by: Qxisylolo <[email protected]>
Signed-off-by: Qxisylolo <[email protected]>
Signed-off-by: Qxisylolo <[email protected]>
@Qxisylolo Qxisylolo force-pushed the fix/fix_UI_of_Assets_modal branch from 20f4ba9 to b6904f1 Compare November 1, 2024 08:59
SuZhou-Joe
SuZhou-Joe previously approved these changes Nov 12, 2024
ruanyl
ruanyl previously approved these changes Dec 18, 2024
Hailong-am
Hailong-am previously approved these changes Dec 19, 2024
Signed-off-by: Qxisylolo <[email protected]>
@Qxisylolo Qxisylolo dismissed stale reviews from Hailong-am, ruanyl, and SuZhou-Joe via 1b4bf6f December 25, 2024 05:24
@Qxisylolo Qxisylolo force-pushed the fix/fix_UI_of_Assets_modal branch from e87f9b4 to abdd509 Compare December 26, 2024 06:35
@SuZhou-Joe SuZhou-Joe merged commit fb9a814 into opensearch-project:main Dec 27, 2024
69 of 70 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Dec 27, 2024
…ge (#8237)

* fix/fix_UI_of_Assets_modal

Signed-off-by: Qxisylolo <[email protected]>

* correct tests

Signed-off-by: Qxisylolo <[email protected]>

* Changeset file for PR #8237 created/updated

* disable button

Signed-off-by: Qxisylolo <[email protected]>

* update test

Signed-off-by: Qxisylolo <[email protected]>

* fix tests

Signed-off-by: Qxisylolo <[email protected]>

* update snapshot

Signed-off-by: Qxisylolo <[email protected]>

* update snapshot

Signed-off-by: Qxisylolo <[email protected]>

* add snapshot

Signed-off-by: Qxisylolo <[email protected]>

---------

Signed-off-by: Qxisylolo <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Co-authored-by: Yulong Ruan <[email protected]>
(cherry picked from commit fb9a814)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Hailong-am pushed a commit that referenced this pull request Dec 31, 2024
…ge (#8237) (#9132)

* fix/fix_UI_of_Assets_modal



* correct tests



* Changeset file for PR #8237 created/updated

* disable button



* update test



* fix tests



* update snapshot



* update snapshot



* add snapshot



---------




(cherry picked from commit fb9a814)

Signed-off-by: Qxisylolo <[email protected]>
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>
Co-authored-by: Yulong Ruan <[email protected]>
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.

6 participants