plex icon indicating copy to clipboard operation
plex copied to clipboard

LAB-1455 publish readonly

Open supraja-968 opened this issue 1 year ago • 2 comments

What type of PR is this?

  • 🎮 Feature

Description

With this feature, the re-run experiment form turns to readonly after publishing, to avoid inconsistencies if the owner of the experiment makes any changes to the experiment after publish. With record versioning thats coming in future, this can be disabled, and user will be able to publish multiple versions of their experiments. Changes made:

  1. Publish button is disabled while the experiment has any jobs that are not completed yet. Hover message shows "You can't publish until your experiments finish. Please try later"
  2. Once completed, the button is enabled with a hover message "Click to publish this experiment. Warning: Once published, you can't make changes"
  3. Once published, the re-run experiment form turns readonly, with the re-run experiment button color grey. the hover message on published button shows "Experiment has already been published, and is now read-only"
image image image

supraja-968 avatar Apr 18 '24 09:04 supraja-968

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
docs ⬜️ Ignored (Inspect) Visit Preview Apr 19, 2024 5:34pm

vercel[bot] avatar Apr 18 '24 09:04 vercel[bot]

publish is disabled after ray migration. we can revisit this feature once we enable it again

supraja-968 avatar Aug 01 '24 13:08 supraja-968