Skip to content
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

Better control over toolbar display on subsites #337

Closed
boonebgorges opened this issue Feb 25, 2021 · 11 comments
Closed

Better control over toolbar display on subsites #337

boonebgorges opened this issue Feb 25, 2021 · 11 comments
Assignees
Labels
Enhancement Needs testing OpenLab Issues specifically related to the OpenLab package
Milestone

Comments

@boonebgorges
Copy link
Member

The OpenLab toolbar can cause issues with various themes. See #324. In the absence of a broader rewrite, we might consider allowing admins some control over how and when the toolbar is shown (instead of forcing it on everywhere, as we do now).

@boonebgorges boonebgorges added Enhancement OpenLab Issues specifically related to the OpenLab package labels Feb 25, 2021
@bree-z
Copy link

bree-z commented Mar 1, 2021

Thanks Boone. @charliemedwards and I discussed and think this is a good solution for now. I'll also put in a placeholder ticket for a broader rewrite, which we might want to consider in the future.

One question: Is it possible to apply this to the footer as well? While usually not as problematic as the toolbar, it can have minor issues in some themes, and we've also had a few users on the OpenLab requesting a way to remove it from group sites.

Thanks!

@boonebgorges
Copy link
Member Author

Thanks for chiming in, @bree-z. Can you clarify what you mean by "this", when you say "this is a good solution for now"? Do we want to simply hide the toolbar for non-logged-in users across subsites? This is easy. Or do we want to introduce a UI that allows individual site admins control over whether logged-out users see the toolbar? If so, where will this setting live, and what will it look like (a simple checkmark toggle, or something more complex)?

@bree-z
Copy link

bree-z commented Mar 2, 2021

Sorry to be vague. We don't want to hide the toolbar across sub-sites, but would like to introduce a UI that allows individual site admins control over whether logged-out users see the toolbar.

We were thinking this would just be an on/off toggle -- a checkmark would work, with a default setting of checked = toolbar is visible; uncheck to hide. And that this could perhaps appear in Group Home > Settings > Site?

However, that said, we're going to discuss some more in our meeting on Thursday. We're wondering whether it's worth considering prioritizing a broader rewrite, if we can shuffle around some of the other things on our list.

Thanks!

cc: @charliemedwards

@boonebgorges
Copy link
Member Author

Thanks for the clarification. For context, a small UI toggle like this could be fitted into the existing scope for the 1.3.0 release. A broader rewrite of how the toolbar works is a much larger task, which would almost certainly displace some of the items that we've already committed to for 1.3.0. In addition, that kind of rewrite would require considerable design thought and conversation, which is tricky with Jenna on sabbatical.

@bree-z
Copy link

bree-z commented Mar 17, 2021

Thanks, Boone. We'll wait on the broader rewrite, but go ahead with the UI toggle for 1.3.0.

@bree-z bree-z added this to the 1.3.0 milestone Mar 17, 2021
boonebgorges added a commit to cuny-academic-commons/cbox-openlab-core that referenced this issue Mar 22, 2021
boonebgorges added a commit to cuny-academic-commons/openlab-theme that referenced this issue Mar 22, 2021
@boonebgorges
Copy link
Member Author

I've built a first version of this. It's hard to come up with a setting that is clear enough. Here's my attempt:

Screenshot_2021-03-22_16-33-54

@bree-z
Copy link

bree-z commented Jul 17, 2021

Thanks, Boone! I think this is the best place for the setting. Perhaps we could make it a little more clear by changing the instructional text that appears below the checkbox, as follows:

The admin bar appears at the top of your site. Logged-in visitors will always see it but you can hide it for site visitors who are not logged in.

Could we also change the color to #757575? The current color is not accessible.

Thanks!

Thanks!

boonebgorges added a commit to cuny-academic-commons/openlab-theme that referenced this issue Jul 19, 2021
boonebgorges added a commit to cuny-academic-commons/openlab-theme that referenced this issue Jul 19, 2021
@boonebgorges
Copy link
Member Author

I've made these changes. Note that the contrast change affects all similar elements (italic text below input labels) throughout the group admin UI.

@bree-z
Copy link

bree-z commented Jul 20, 2021

Thanks Boone! I didn't see this change after clearing my cache.

@boonebgorges
Copy link
Member Author

Looking OK to me - maybe it hadn't been deployed properly when you tested? See screenshot

Screenshot_2021-07-22_11-25-41

@bree-z
Copy link

bree-z commented Jul 22, 2021

Whoops, sorry about that Boone! For some reason I was looking for non-italicized text.

Your change looks good, thanks!

@bree-z bree-z closed this as completed Jul 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Needs testing OpenLab Issues specifically related to the OpenLab package
Projects
None yet
Development

No branches or pull requests

2 participants