-
Notifications
You must be signed in to change notification settings - Fork 824
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
NEW: Improved task runner UI. #9540
NEW: Improved task runner UI. #9540
Conversation
c72fc0d
to
7e0dccd
Compare
Just FYI @mfendeksilverstripe, this will have to target |
7e0dccd
to
c9f7ec2
Compare
@ScopeyNZ Rebased on |
Can we reduce the whitespace / padding? Seems like it's almost been optimized for touch devices, though I cannot imagine that anyone running dev/tasks will be on an mobile device. |
@emteknetnz Padding / whitespace reduced. Please review :) |
@silverstripeux to advise on UI before merge. |
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.
Looking pretty good.
Some observations:
- The queued jobs module still uses the old interface
- There is a lot of inconsistent styling used here. We should follow official SilverStripe styling conventions if possible
- The new grid layout doesn't actually seem to display more tasks on the screen. Maybe it should be scaled down a bit so we can fit more data on the screen. We could also consider displaying more than 2 columns
- The layout must be responsive
(see above point) - We need localisation
I really struggle to understand the effort to localise this screen, or even the effort to make this responsive. I would be incredibly surprised if this page was accessed by anyone other than site developers. |
Not sure about about the need to have this UI responsive and localised. Would be happy to hear more detailed feedback on the consistency though. |
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.
Hey @mfendeksilverstripe thanks for taking time to come up with a new proposed UI! At this point the UI you're introducing has created a little more UX debt than before. I have a couple of suggestions to strip back the UI and simplify it a bit. How I see your UI being simplified:
- Remove the table you have around the tasks (this clutters the UI)
- Keep the split into 2 columns using something like https://www.w3schools.com/css/css3_multiple_columns.asp which breaks up a list into multiple columns. Also add a media query to make it responsive. My reasoning for keeping the dev screen responsive is regardless who uses it we should keep the UI to a high standard. The screen was responsive before this change so in turn this would create UX debt. I'm also thinking of the developers who use split screens on a day to day basis.
- Restyle the buttons to use similar styling as 'button-outline-secondary' to keep consistent with the CMS. The red/green (queuedjobs PR) hovers suggest 'Danger' and 'Go' so I would keep these as just standardised buttons. I've included the colours for you at the bottom of the design.
- The 'Run immediately' button could be renamed to just 'Run task'.
- Remove the task headers links and make these h3's.
- You can remove the main header 'Tasks' and it's description as it doesn't provide anymore information that the h1 does above.
- Try not to use #00000 as your text colour as this is considered bad practice for users. You can stick with Silverstripe bootstrap colours. I'd suggest changing the paragraph style to use #43536d and #303b4d for headers.
As long as this screen is accessible (colour contrast), responsive and doesn't clutter the UI or create UX debt I'm happy to approve and merge but currently as it stands I think it could be simplified back with some smaller improvements to enhance the UI. I do realise it's a little extra work but think would keep our dev screens cleaner and easier to use and build upon in the future 🙂
I do see the benefit from your quededjobs PR but also suggest the same changes in that screen. I think the top tabs you have could be improved as currently they are grey on grey (which is not accessible) and could mimic how we do tabs in the CMS. Here's an example of how I see these changes being applied to this PR also:
I'll link this comment to your other PR as a review also.
That's really helpful @sachajudd many thanks :) |
No problem! Let me know if you need a hand, I'm happy to help out and provide feedback if needed 🙂 |
@sachajudd Pushed up new changes based on UI feedback, please review. This is how the UI looks like now: Large screenSmall screen |
Hey @mfendeksilverstripe it's looking great! Awesome to see you tackle this 🙂 just noticing a few things when I pulled down your branch:
|
@sachajudd Pushed up new changes, please review:
I looked into the issues with inconsistent spacing between title and description. This is caused by arbitrary HTML that can be included in the task description. I don't think this is a layout issue. Fixing the content of specific tasks is beyond the scope of this PR. The gaps between the tasks are caused by equal grid spacing as I'm using |
New changes:
@sachajudd This is now ready for review. |
@sachajudd I pushed up the changes you requested, please review. Also, there is a handy tool you can use to suggest small changes. This is useful especially for the tiny one line changes you suggested last time ;-) |
@sachajudd I managed to fix the spacing issue as well. It turns out there was some extra whitespace which was turned into line breaks. If you pull the latest branch you should get nice spacing for all dev tasks (between title and description). |
I tried to find the commit button on Friday but couldn't seem to find it 😂 cheers, I'll take a look this afternoon |
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.
Approved from a UX perspective! Awesome work @mfendeksilverstripe 🙂
Co-authored-by: Sacha Judd <[email protected]>
@Cheddam Pushed up changes as requested, please review. |
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.
Thanks for your contribution @mfendeksilverstripe!
Task runner better UI
Simple UI changes which improve usability of the task runner. Lightweight CSS (no build chain or JS required).
Problem
Current UI
Solution
Proposed UI
Related issues
#9541
Related Pull requests
symbiote/silverstripe-queuedjobs#301