-
Notifications
You must be signed in to change notification settings - Fork 75
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
Pages Editor: organise Steps and Tasks in UI #6898
Conversation
Small visual point. The yellow colour still makes the task keys look like they should be clickable. |
61170ea
to
1b0071b
Compare
d6df041
to
161a180
Compare
161a180
to
ed49700
Compare
/* eslint-disable no-console */ | ||
/* eslint-disable react/react-in-jsx-scope */ | ||
/* eslint-disable react/require-default-props */ | ||
/* eslint-disable radix */ | ||
/* eslint-disable react/jsx-boolean-value */ |
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.
You could add these to the ESLint config, rather than add them to every file.
</select> | ||
</div> | ||
<ul className="steps-list" aria-label="Pages/Steps"> | ||
{/* WARNING: this should be workflow.steps */} |
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.
It is workflow.steps
now.
ed49700
to
2ec3b0f
Compare
PR Overview
Part of: Pages Editor MVP project and FEM Lab super-project
Follow #6888
Staging branch URL: https://pr-6898.pfe-preview.zooniverse.org/lab/1982/workflows/editor/3711?env=staging
This PR updates the Tasks Page's UI so that it lists the workflow's Tasks, organised in Steps.
Screenshot: 3-page workflow with 1, 1, and 2 . Behind the scenes, the Steps are labelled
['P0', 'P1', 'S2']
- this is due to the first 2 Question tasks being added via Pages Editor, and the last Transcription Task added via project builder classic.Note: this is a good sign that mixed-editor usage isn't causing any problems. (Yet.)
Testing
Testing has been done with macOS + Chrome. This is primarily a UI update, so ensure that the actual webpage matches the intended design.
Status
Ready for review