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

feat: new common job form #683

Merged
merged 1 commit into from
Dec 23, 2024
Merged

feat: new common job form #683

merged 1 commit into from
Dec 23, 2024

Conversation

henrychoy
Copy link
Collaborator

Issue: #620

  • Jobs can now be created through the all-jobs page and the experiment -> job page.
  • Entrypoint dropdown will be greyed out until experiment is selected, and will only show entrypoints that are linked to the selected experiment
  • Queue dropdown will be greyed out until entrypoint is selected, and will only show queues that are linked to the selected entrypoint
  • Returning to an unsaved form should give you the option to load previous values

@henrychoy henrychoy self-assigned this Dec 4, 2024
@henrychoy henrychoy linked an issue Dec 4, 2024 that may be closed by this pull request
2 tasks
Copy link
Collaborator

@keithmanville keithmanville left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This properly implements the changes in the issue.

One thing I noticed is that if there is no associated entrypoint or queue, the drop down is correctly empty, but it might not be clear to the user why this is the case or what to do to correct it. We should consider including an inline message or maybe even a "quick add" dialog to make these associations.

This commit makes the following changes to the Job creation form in the frontend:

- Jobs can now be created through the all-jobs page and the experiment -> job page.
- Entrypoint dropdown will be greyed out until experiment is selected, and will only show
  entrypoints that are linked to the selected experiment
- Queue dropdown will be greyed out until entrypoint is selected, and will only show queues that
  are linked to the selected entrypoint
- A message with link that opens a dialog box to update experiment/entrypoint associations is added
  under the Entrypoint dropdown
- A message with link that opens a dialog box to update entrypoint/queue associations is added under
  the Queue dropdown
- Returning to an unsaved form should give you the option to load previous values
@keithmanville keithmanville merged commit c404551 into dev Dec 23, 2024
11 checks passed
@keithmanville keithmanville deleted the job-form branch December 23, 2024 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rework job creation UI
2 participants