iiab / iiab-admin-console

GUI (Admin Console) to configure IIAB and install content
GNU General Public License v2.0
13 stars 16 forks source link

Feature Request: Add Toggle Display Button to Menu [Desktop view often needed by Mobile users, for Content Pack details/metadata/footnote] #227

Closed tim-moody closed 4 years ago

tim-moody commented 5 years ago

On the home page menu add a button to toggle between desktop and mobile layouts:

holta commented 5 years ago

I'm overwhelmed with administrative work in coming weeks, so others should be invited to work on this critically needed feature.

@georgejhunt can you consider looking into this?

Additional background is posted at: https://github.com/iiab/iiab/issues/1775

tim-moody commented 5 years ago

@holta no work will begin until you agree to the design. afterwards I will do the work.

holta commented 5 years ago

@tim-moody as far as I understand your above design, it appears excellent. As mentioned to @georgejhunt at https://github.com/iiab/iiab/issues/1775#issuecomment-507039251.

Quick Design Thoughts / Questions:

avni commented 5 years ago

Some 2 cent thoughts: There is a concern that with the amount of content on the page, finding the button at the bottom of the page is not as discoverable as needed from a UX perspective. Another possibility is placing it above/below the Feedback button. It may be worth getting input/testing with 4-5 "TLCs" to get their viewpoints.

tim-moody commented 5 years ago

@avni if you see a feedback button you may be looking at the wrong repo

tim-moody commented 5 years ago

Are there any other questions that need resolving, around making this multilingual? While the words "Desktop view" are perfectly sufficient for me, I know many Spanish-speaking countries last year preferred the button to be labelled "Vista Móvil/PC". And other languages will no doubt follow the Spanish precedent ? Do you need these words translated into French? I can get several native French speakers to do this later today if nec.

Configuration: Fields similar to those for power off will be added to the Admin Console to allow configuration of this feature.

includes the prompt

Storage: when the button is clicked it stores display_mode = 'default' or 'override' in localStorage. When the menu is loaded it will check this value to decide whether to display in mobile or desktop layout for a given device.

means you only have to set it once

tim-moody commented 5 years ago

I'll begin once there is signoff

holta commented 5 years ago

"Vista Móvil/PC". And other languages will no doubt follow the Spanish precedent ? Do you need these words translated into French? I can get several native French speakers to do this later today if nec.

Configuration: Fields similar to those for power off will be added to the Admin Console to allow configuration of this feature.

includes the prompt

Great news.

Storage: when the button is clicked it stores display_mode = 'default' or 'override' in localStorage. When the menu is loaded it will check this value to decide whether to display in mobile or desktop layout for a given device.

means you only have to set it once

Until cookies are deleted?

Does this affect all/other users?

Can you clarify a bit?

tim-moody commented 5 years ago

uses browser permanent local storage, not cookie. no other users involved. visit the vertical ellipsis and select a language to see it. this (in the ellipsis) is where I originally planned to put the layout selection btw.

holta commented 5 years ago

uses browser permanent local storage, not cookie. no other users involved. visit the vertical ellipsis and select a language to see it. this (in the ellipsis) is where I originally planned to put the layout selection btw.

Sounds perfect, thanks @tim-moody.

Some 2 cent thoughts: There is a concern that with the amount of content on the page, finding the button at the bottom of the page is not as discoverable as needed from a UX perspective. Another possibility is placing it above/below the Feedback button. It may be worth getting input/testing with 4-5 "TLCs" to get their viewpoints.

@avni you're right that several teachers/implementers legitimately prefer this "Desktop view" button on top ( of IIAB home pages like http://box, perhaps replacing the old "Feedback" button in the top-right, or positioned in the center on top as with http://iiab.me/nigeria and http://iiab.me/peru, so that it is far more discoverable ) however I don't think we have time to interview 4-5 TLC's at this point in time.

As such I'd prefer that we get this working first, absolutely anywhere on the main page (a visually prominent button if possible?) and then iterate the graphical design placement issues in a later release, should that prove necessary.

tim-moody commented 5 years ago

I now prefer the button in the ellipsis menu rather than bottom of page.

tim-moody commented 4 years ago

done