NPM Resource Changed ? ? Failure

User tests: Successful: Unsuccessful:

avatar ceford
ceford
14 Oct 2020

Pull Request for Issue #30507.

Summary of Changes

Added css to make com_admin index divs limited height vertical scroll
Added code to toggle index display on small screens

Testing Instructions

Go to Admin Home Dashboard / Help / Joomla Help
Scroll to the bottom of the list - a long way - and select the last item
View in responsive mode
Repeat for the Global Configuration page

Apply the patch and then run an npm build

Actual result BEFORE applying this Pull Request

Nothing appears to happen because the iframe to the right is out of sight.
In the small screen view the menu cannot be collapsed.

Expected result AFTER applying this Pull Request

The index div is scrollable and the iframe is always visible - so a selection change is obvious
On small screens the index can be collapsed.

Documentation Changes Required

None

avatar ceford ceford - open - 14 Oct 2020
avatar ceford ceford - change - 14 Oct 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 14 Oct 2020
Category Administration com_admin Templates (admin) NPM Change
avatar rdeutz rdeutz - change - 14 Oct 2020
Labels Added: NPM Resource Changed ?
avatar Quy
Quy - comment - 14 Oct 2020

After expanding the menu and clicking on an item should collapse the menu like it is under Global Configuration page.

avatar ceford
ceford - comment - 14 Oct 2020

After expanding the menu and clicking on an item should collapse the menu like it is under Global Configuration page.

I think you probably mean the Help index should close in small screens after selecting a new item - looking into it.

avatar Quy
Quy - comment - 14 Oct 2020

Yes, just like the Global configuration page. Toggle the menu, click an item, and menu collapses.

avatar ceford
ceford - comment - 14 Oct 2020

In the Help page I added an id to the index div and a few simple javascript statements to the iframe using onLoad. That is probably not the way it should be done but it is the best I can come up with after looking at the problem all day. Advice accepted!

avatar joomla-cms-bot joomla-cms-bot - change - 15 Oct 2020
Category Administration com_admin Templates (admin) NPM Change Administration com_admin com_config Templates (admin) NPM Change
avatar ceford
ceford - comment - 16 Oct 2020

Removed aria label as suggested. And also in the global configuration page.

avatar ceford
ceford - comment - 17 Oct 2020

The change from 75vh to 100vh was a mistake caused by the intervention of a third party. I have put it back the way it waa - the way I intended.

avatar degobbis degobbis - test_item - 17 Oct 2020 - Tested successfully
avatar degobbis
degobbis - comment - 17 Oct 2020

I have tested this item successfully on 1bc7b4b

Successfully tested, but I still have one question.
Is it intended that you get the list of help pages only by clicking the toggle menu? I would like it to be already open like in the desktop view 😄


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

avatar nadjak77 nadjak77 - test_item - 17 Oct 2020 - Tested successfully
avatar nadjak77
nadjak77 - comment - 17 Oct 2020

I have tested this item successfully on 1bc7b4b

if you mean, that the toggle-button should be in the help site, I tested it successfull.
But the menue do not collapse automatically.
tested


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

avatar richard67 richard67 - change - 17 Oct 2020
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 17 Oct 2020

RTC


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

avatar chmst chmst - change - 18 Oct 2020
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-10-18 09:37:23
Closed_By chmst
Labels Added: ?
avatar chmst chmst - close - 18 Oct 2020
avatar chmst chmst - merge - 18 Oct 2020
avatar chmst
chmst - comment - 18 Oct 2020

Thanks!

avatar brianteeman
brianteeman - comment - 19 Oct 2020

The change from 75vh to 100vh was a mistake caused by the intervention of a third party. I have put it back the way it waa - the way I intended.

Why was it a mistake? Should be able to use at least 90vh

avatar ceford
ceford - comment - 19 Oct 2020

Long story! I tried 80 and 75 and opted for the latter. The drone complained that my css statements were in the wrong order. When I tried to fix that I found that someone had changed my PR. That meant that I could not push my clone as usual. Not being experienced in such matters I tried this and I tried that and I tried I dunnowhat. When I did manage force a push I did not notice that vh had been reset to 100vh (by me?). Currently, I think a tad short is better than a tad long.

Add a Comment

Login with GitHub to post a comment