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

Feature/add model version loading empty error screens #185

Conversation

wanglam
Copy link
Collaborator

@wanglam wanglam commented May 19, 2023

Description

  1. Add loading / empty / no-result / failed screens
  2. Add versionOrKeyword for model search
  3. Update model detail version table status detail time value
  4. Show only 3 tags column by default
  5. Change to uiSettings time format
  6. Integrate sort for model detail version table

Issues Resolved

List any issues this PR will resolve, e.g. Closes [...].

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

wanglam added 11 commits May 18, 2023 10:15
…l version table

Signed-off-by: Lin Wang <wonglam@amazon.com>
Signed-off-by: Lin Wang <wonglam@amazon.com>
Signed-off-by: Lin Wang <wonglam@amazon.com>
…on table

Signed-off-by: Lin Wang <wonglam@amazon.com>
…d_time to model detail version status cell

Signed-off-by: Lin Wang <wonglam@amazon.com>
Signed-off-by: Lin Wang <wonglam@amazon.com>
Signed-off-by: Lin Wang <wonglam@amazon.com>
Signed-off-by: Lin Wang <wonglam@amazon.com>
Signed-off-by: Lin Wang <wonglam@amazon.com>
Signed-off-by: Lin Wang <wonglam@amazon.com>
Signed-off-by: Lin Wang <wonglam@amazon.com>
@codecov
Copy link

codecov bot commented May 19, 2023

Codecov Report

Merging #185 (21b7914) into feature/model-registry (4e20dfb) will increase coverage by 1.68%.
The diff coverage is n/a.

@@                    Coverage Diff                     @@
##           feature/model-registry     #185      +/-   ##
==========================================================
+ Coverage                   83.01%   84.69%   +1.68%     
==========================================================
  Files                         104      108       +4     
  Lines                        1943     2091     +148     
  Branches                      396      448      +52     
==========================================================
+ Hits                         1613     1771     +158     
+ Misses                        244      234      -10     
  Partials                       86       86              

see 41 files with indirect coverage changes

@wanglam wanglam requested a review from ruanyl May 19, 2023 05:44
@wanglam wanglam marked this pull request as ready for review May 19, 2023 05:44
Signed-off-by: Lin Wang <wonglam@amazon.com>
wanglam added 3 commits May 24, 2023 10:50
Signed-off-by: Lin Wang <wonglam@amazon.com>
Signed-off-by: Lin Wang <wonglam@amazon.com>
Signed-off-by: Lin Wang <wonglam@amazon.com>
@wanglam wanglam merged commit 9f0b3ce into opensearch-project:feature/model-registry May 24, 2023
@wanglam wanglam deleted the feature/add-model-version-loading-empty-error-screens branch May 24, 2023 03:13
wanglam added a commit to wanglam/ml-commons-dashboards that referenced this pull request Jan 3, 2025
…ject#185)

* feat: add loading, empty, failed and no result screen for model detail version table

Signed-off-by: Lin Wang <wonglam@amazon.com>

* feat: add versionOrKeyword parameter for model search

Signed-off-by: Lin Wang <wonglam@amazon.com>

* feat: add search logic to model detail version table

Signed-off-by: Lin Wang <wonglam@amazon.com>

* refactor: update lastUpdated to lastUpdatedTime in model detail version table

Signed-off-by: Lin Wang <wonglam@amazon.com>

* feat: add last_registered_time, last_deployed_time and last_undeployed_time to model detail version status cell

Signed-off-by: Lin Wang <wonglam@amazon.com>

* feat: only show 3 tag columns by default

Signed-off-by: Lin Wang <wonglam@amazon.com>

* feat: change to use dateFormat in ui settings

Signed-off-by: Lin Wang <wonglam@amazon.com>

* feat: hide time title for in progress version

Signed-off-by: Lin Wang <wonglam@amazon.com>

* feat: add sort to model detail version table

Signed-off-by: Lin Wang <wonglam@amazon.com>

* test: increase timeout to fix test case error in github runner

Signed-off-by: Lin Wang <wonglam@amazon.com>

* test: change to wait for version header exists

Signed-off-by: Lin Wang <wonglam@amazon.com>

* chore: address PR comments

Signed-off-by: Lin Wang <wonglam@amazon.com>

* feat: add UiSettingDateFormatTime

Signed-off-by: Lin Wang <wonglam@amazon.com>

* feat: change to use UiSettingDateFormatTime

Signed-off-by: Lin Wang <wonglam@amazon.com>

* fix: model search sort validate with sort pair

Signed-off-by: Lin Wang <wonglam@amazon.com>

---------

Signed-off-by: Lin Wang <wonglam@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants