Comments (3)
I believe we can do this 1 of two ways:
-
pass the functions to set the state for this collapsible panel within advanced options, and we could set it directly, Although I think this might cause issues.
-
on the advanced options side, we can set the errorMessage state on initial mount (maybe check for empty value) which would then trigger a re-render and prompt you to open up Advanced options. I am more in favor of this approach.
Let me know what you thing 💭
from jupyter-scheduler.
Personally, I prefer the idea of letting the user collapse the expandable section, and then if there's an error in advanced options, provide an indicator like
We have errors
which is a simple key-value store, but this may not be sufficient, since we don't know which keys in errors
correspond with the advanced options section. We could have the advanced options extension point include a list of inputs, or we could have a separate list of errors specifically for the advanced options section. That separate list would give you more direct control, but it'd also require us to check two different errors objects to determine whether the "Create" submit button is active.
from jupyter-scheduler.
I like the idea of keeping two separate error state objects actually. That way we can make sure the advanced options don't mess with the default available options error states. But it does have a caveat of you having to iterate over two objects and checking for validity.
It would, however, also let you better identify on whether or not to show the
from jupyter-scheduler.
Related Issues (20)
- Input Path with Prefix "RTC:" breaking functionality HOT 1
- Hide input code from output files created through Scheduler HOT 1
- Duplicate a job definition
- Telemetry HOT 2
- Why do we use Multiprocessing.Process to execute notebook HOT 1
- RuntimeError: "This event loop is already running" with nbclient==0.8.0 HOT 17
- No such kernel named conda-env-root_tf_2.13.0-py when using mamba
- Queue of jobs with max concurrency HOT 1
- On Safari browser, the jobs section for in JobDefintion page is not visible HOT 7
- New jobs always show up as "Stopped" on Linux
- add unit testing on Linux that runs jobs
- Delete job button is calling the delete API twice
- Output files open path error (%5C instead of backslash issue) HOT 2
- Ability to Prevent Saving Copies of Notebooks on Scheduled runs. HOT 1
- Better issue guidance for new users
- Extend Jupyter-scheduler to create and manage jobs with multiple tasks HOT 2
- Ability to associate kernelspec with a jobdefinition
- Emit telemetry events on create job forms HOT 2
- Scheduler not working despite being installed and enabled HOT 7
- Scheduled job executing more than 1 time HOT 27
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jupyter-scheduler.