-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[ML] Trained models: Improves UX for deploy action #205699
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
Merged
rbrtj
merged 74 commits into
elastic:main
from
rbrtj:trained-models-replace-download-button-by-extending-deploy-action
Feb 11, 2025
Merged
Changes from all commits
Commits
Show all changes
74 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 64d3222
Merge remote-tracking branch 'upstream/main' into trained-models-repl…
rbrtj e88fd19
rename scheduled deployments local storage key
rbrtj 1b14cf9
get rid of cancelDeployment$ && pipelines adjustments
rbrtj d0b1925
get rid of stopPolling$ subject
rbrtj bc3771a
trained models service basic jest tests
rbrtj 7273c21
Merge branch 'main' into trained-models-replace-download-button-by-ex…
rbrtj 7dd1dc9
remove unused translations && revert deployment updated success toast
rbrtj 639e123
remove old translations
rbrtj 08cb26f
reuse start allocation params
rbrtj 460958e
make model status indicator unaware of its context
rbrtj fec55b2
rename initialScheduledDeployments to defaultScheduledDeployments var…
rbrtj 0870ed4
remove shareReplay for modelItems$
rbrtj 53884cb
getModels$ add isEqual to distinctUntilChanged
rbrtj 9e0df27
rename trainedModelsService methods
rbrtj 0ae7769
fix i18n
rbrtj a2f552d
refactor deployment pipelines
rbrtj 86fde04
deployment pipelines further updates
rbrtj aa0601a
hasActiveOperations update
rbrtj 5416a65
trained models service simplify destroy logic
rbrtj 7a6d68b
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
kibanamachine 1adaf4b
improve naming, remove redundant check, fix comparision
rbrtj 8ab2d3f
further trained models service improvements
rbrtj f6099f7
Merge branch 'main' into trained-models-replace-download-button-by-ex…
rbrtj 12e4299
update jest tests
rbrtj 0288a5b
disable stop deployment action while deployment hasnt started yet
rbrtj 7131057
organize imports && remove unnecessary if check in destroy method
rbrtj d5a3f38
Merge branch 'main' into trained-models-replace-download-button-by-ex…
rbrtj dfc5a33
reduce trained models list api calls
rbrtj 558bae7
adjust jest tests
rbrtj 4fa439f
cleanup method include processedDeployments
rbrtj 302723c
use merge instead of from in setupDeploymentSubscription
rbrtj fc1c523
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
kibanamachine ba641fe
get rid of processedDeployments
rbrtj 9d2932b
cleanup
rbrtj d6029a5
update jest tests
rbrtj dc626e9
Merge branch 'main' into trained-models-replace-download-button-by-ex…
rbrtj fcee9ca
add initialDataLoaded behavior subject to prevent functional tests fr…
rbrtj b0989f2
simplify isInitialized check
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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
useUnsavedChangesPromptwithout blocking SPA navigation. If you don't like the implementation, we can separate the relevant part of the hook into our package