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

hide timezone selector when editing job definition created with utc_only environment #280

Merged
merged 1 commit into from
Nov 4, 2022

Conversation

dlqqq
Copy link
Collaborator

@dlqqq dlqqq commented Nov 4, 2022

Fixes #279.

New behavior of edit job definition view:

  • fetches list of environments on initial render
  • sets model timezone and passes utcOnly: true prop to ScheduleInputs component accordingly

Also updates the seed script to use the conda environments in the job definitions.

Screen.Recording.2022-11-04.at.4.13.51.PM.mov

@dlqqq dlqqq added the bug Something isn't working label Nov 4, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Nov 4, 2022

Binder 👈 Launch a Binder on branch dlqqq/jupyter-scheduler/hide-timezone-when-editting-jd

Copy link
Collaborator

@JasonWeill JasonWeill left a comment

Choose a reason for hiding this comment

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

Tested locally successfully

@dlqqq dlqqq merged commit f030c57 into jupyter-server:main Nov 4, 2022
@dlqqq dlqqq deleted the hide-timezone-when-editting-jd branch November 4, 2022 23:46
Copy link
Collaborator

@andrii-i andrii-i left a comment

Choose a reason for hiding this comment

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

Looks and works well 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Timezone selector appears when editing job definitions in a UTC-only environment
3 participants