? NPM Resource Changed PR-4.3-dev Pending

User tests: Successful: Unsuccessful:

avatar dgrammatiko
dgrammatiko
10 Feb 2023

Pull Request for Issue # .

Summary of Changes

  • Switch breadcrumbs to select element to fix the width on many nested paths

Testing Instructions

  • Apply the patch and run npm ci
  • Check that the breadcrumbs work (try many nested folders)

Actual result BEFORE applying this Pull Request

Broken layout

Expected result AFTER applying this Pull Request

Screenshot 2023-02-10 at 11 00 53
Screenshot 2023-02-10 at 11 01 24

Screenshot 2023-02-10 at 11 01 12

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

Also just for clarification, this should solve some a11y problems with breadcrumbs and the design and idea for the select menu comes directly from the Apple Finder (the File Explorer of MacOS):
Screenshot 2023-02-11 at 13 14 04

avatar joomla-cms-bot joomla-cms-bot - change - 10 Feb 2023
Category Administration com_media NPM Change JavaScript Repository
avatar dgrammatiko dgrammatiko - open - 10 Feb 2023
avatar dgrammatiko dgrammatiko - change - 10 Feb 2023
Status New Pending
avatar dgrammatiko dgrammatiko - change - 10 Feb 2023
The description was changed
avatar dgrammatiko dgrammatiko - edited - 10 Feb 2023
avatar Quy
Quy - comment - 10 Feb 2023

Pleas make spacing consistent.

39831

avatar dgrammatiko dgrammatiko - change - 10 Feb 2023
Labels Added: NPM Resource Changed PR-4.3-dev
avatar Quy Quy - change - 10 Feb 2023
Title
[4.3] Media manager better breadcrump
[4.3] Media manager better breadcrumb
avatar Quy Quy - edited - 10 Feb 2023
avatar Quy
Quy - comment - 10 Feb 2023

Please fix for RTL.

39831-rtl

avatar Quy Quy - test_item - 10 Feb 2023 - Tested successfully
avatar Quy
Quy - comment - 10 Feb 2023

I have tested this item successfully on fbae43d


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/39831.

avatar richard67
richard67 - comment - 11 Feb 2023

@dgrammatiko I've just tested this PR but it seems not to work with keyboard navigation. When I tab to the breadcrumbs, I would expect it to open the dropdown when using the enter key, but it doesn't. So there is no way to use it for navigation with keyboard only.

avatar dgrammatiko
dgrammatiko - comment - 11 Feb 2023

When I tab to the breadcrumbs, I would expect it to open the dropdown when using the enter key,

I think you need to press space to open the dropdown and then use the arrow keys to select the one you want and then press enter. So there's an enter but at the end of the chain not in the start...

avatar richard67
richard67 - comment - 11 Feb 2023

@dgrammatiko Ah, the space key was the trick. It seems only the skipto plugin uses the enter key, all our backend list views use space to open e.g. the list filters. So it's fine and consistent and just me did not know that.

avatar richard67 richard67 - test_item - 11 Feb 2023 - Tested successfully
avatar richard67
richard67 - comment - 11 Feb 2023

I have tested this item successfully on fbae43d


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/39831.

avatar richard67 richard67 - change - 11 Feb 2023
Status Pending Ready to Commit
avatar richard67 richard67 - edited - 11 Feb 2023
avatar richard67
richard67 - comment - 11 Feb 2023

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/39831.

avatar dgrammatiko dgrammatiko - change - 11 Feb 2023
The description was changed
avatar dgrammatiko dgrammatiko - edited - 11 Feb 2023
avatar dgrammatiko
dgrammatiko - comment - 11 Feb 2023

all our backend list views use space to open

@richard67 actually this comes from the browser, it's the default accessibility mapping. Thus whenever we use the default select element we guarantee that the element is accessible (assuming that label, etc are in place)

avatar obuisard obuisard - change - 11 Feb 2023
Labels Added: ?
avatar laoneo
laoneo - comment - 13 Feb 2023

I don't think so that this is a good change as breadcrumbs are displayed differently in joomla, where the full path is visible. With this change only the current path is listed which might work on desktop apps (honestly I don't like this behavior but that is another story) but never saw it on the web.
image

avatar brianteeman
brianteeman - comment - 13 Feb 2023

Do we even need breadcrumbs? Its just a duplication of the information in the tree

avatar laoneo
laoneo - comment - 13 Feb 2023

My personal opinion is that I like it, when I have an indicator where I'm actually navigated to with links without searching in the tree. Especially on smaller screens.

avatar chmst
chmst - comment - 13 Feb 2023

I am not in favour of this solution as it iis quite different from or usual braedcrumbs. Users expect that the behaviour of elements is consistent in a system.

avatar dgrammatiko
dgrammatiko - comment - 13 Feb 2023

I am not in favour of this solution as it iis quite different from or usual braedcrumbs.

Then fix the current one so it doesn't break even on huge screens:
Screenshot 2023-02-13 at 11 54 40

avatar dgrammatiko dgrammatiko - change - 13 Feb 2023
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2023-02-13 10:55:43
Closed_By dgrammatiko
avatar dgrammatiko dgrammatiko - close - 13 Feb 2023

Add a Comment

Login with GitHub to post a comment