-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[ML] Trained models: Replace download button by extending deploy action #205699
Open
rbrtj
wants to merge
36
commits into
elastic:main
Choose a base branch
from
rbrtj:trained-models-replace-download-button-by-extending-deploy-action
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,110
−527
Open
Changes from 17 commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
0de3198
introducing trained models service to manage models download & deploy…
rbrtj d0078f9
rename action to Start Deployment
rbrtj 1474865
add a queue for deployments started before the model is downloaded
rbrtj 0d52bc0
rename State column to Model state
rbrtj 1727e2c
model actions cleanup
rbrtj 6f96af1
rename Delete action to Delete Model && update actions order
rbrtj cf1ca47
trained models service small refactor
rbrtj 31c18e8
align error handling with previous implementation
rbrtj 3b646de
fix trained models service flow to correctly keep track of active ope…
rbrtj 0c0eadf
Merge remote-tracking branch 'upstream/main' into trained-models-repl…
rbrtj 2646bef
fix loading state in trained models service
rbrtj b9d6c5f
ensure user can start one deployment at a time && isLoading based on …
rbrtj 173321f
refactor trained models service and corresponding components to use m…
rbrtj c079ddf
cancel all request when user deletes a model after starting a download
rbrtj 9856fe7
use withLatestFrom for polling logic
rbrtj 27f8d9f
remove isInitialized
rbrtj 5acf8dd
use trained models service hook - improve singletone behavior && useU…
rbrtj 8847920
fix trained models list actions and expanding row icon buttons overla…
rbrtj 11b951e
display deploying state
rbrtj a81df16
simplify startModelDeployment$
rbrtj 7863d66
update breakpoint
rbrtj f73f9df
increase actions column width
rbrtj ac599eb
revert startModelDeployment changes
rbrtj ea1800a
fix requests cancelation
rbrtj edac0af
remove comment
rbrtj b3f47a5
use ModelStatusIndicator in models_list
rbrtj 06debd4
Merge branch 'main' into trained-models-replace-download-button-by-ex…
rbrtj c23ad1d
[CI] Auto-commit changed files from 'node scripts/yarn_deduplicate'
kibanamachine 630e994
remove unused translations
rbrtj 832418b
display success toast after deploying the model
rbrtj 60129c2
Merge branch 'main' into trained-models-replace-download-button-by-ex…
rbrtj 62b3a61
update start deployment toast messages
rbrtj a199de2
deployment modal: add divider, allow progress bar to take more space
rbrtj e651ce4
show only downloading and ready for deployment states in deployment m…
rbrtj 0a6ff9f
update progress label inside deployment modal && update label color
rbrtj 2399126
trained models service refactor
rbrtj File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: This is just a proposal, so it is possible to use
useUnsavedChangesPrompt
without blocking SPA navigation. If you don't like the implementation, we can separate the relevant part of the hook into our package