Skip to content
This repository has been archived by the owner on Jul 30, 2022. It is now read-only.

Universal Language Selector should be always visible in the top navigation bar #177

Open
quimgil opened this issue Sep 7, 2014 · 9 comments
Assignees

Comments

@quimgil
Copy link

quimgil commented Sep 7, 2014

Currently the ULS widget is only visible for logged in users under the "profile" icon. Chances that this chasm will never be crossed by their primary target (anonymous users not proficent in English) are very high.

The default location of ULS in a MediaWiki instance is in the top bar, and I wonder whether it would be possible to tweak Foreground's navigation to follow this behavior.

@jthingelstad
Copy link
Owner

Good point. Not sure how difficult it will be to get this type of behavior but worth looking into.

@Hutchy68
Copy link
Collaborator

Hutchy68 commented Sep 7, 2014

Hmm, I thought ULS auto selected a language based on IP address(location of user) and the default broswer language. Some combination of both or something like that. In other words, the user should not have to select their language setting, it is auto selected for them.

User can override it by choosing a different language, perhaps it would be more prominent in the top navbar. That sets a cookie with a token, IIRC. Just unsure how we are going to change the location of attachment. 😄 ULS attaches itself to the personal-tools. Need to think on it a bit and look at ULS extension some more.

@Hutchy68
Copy link
Collaborator

Hutchy68 commented Sep 7, 2014

Cool, looks like we can set it. $wgULSPosition I'll investigate some more, but will probably have to be a configuration option.

@Hutchy68 Hutchy68 self-assigned this Sep 7, 2014
@jthingelstad
Copy link
Owner

Strikes me we should consider a EXTENSIONS.md file that could have sections for Foreground info for specific extensions.

@Hutchy68
Copy link
Collaborator

Hutchy68 commented Sep 7, 2014

Strikes me we should consider a EXTENSIONS.md file that could have sections for Foreground info for specific extensions.

Yes, that's not a bad idea.

The setting of ULS only has two specific places. Personal is a popup, the other is a right fly out popup from a added text and icon in the sidebar across the top. Very ugly.

Alternative choice is code it in as a config, but ULS imposes its own icon.

image

Not sure it should be in the navbar, maybe top of screen in body. It wants to float right automatically. Lots of really bad coding to make this extension look nice on vector. Already pointed this out on the discussion page there months ago.

@jthingelstad
Copy link
Owner

What about locating it by the page actions sort of like you did with Echo notifications? I’m guessing it imposing it’s own icon is why it has never lined up right in Foreground. It has always had an annoying space to the left.

Alternatively, placing it to the left of Search like you did above is totally fine too. It won't be shown unless you have the extension enabled anyway right?

@Hutchy68
Copy link
Collaborator

Hutchy68 commented Sep 7, 2014

I'll test it some more. See if I can come up with a good place to put it. Space is at a premium in the top navbar. Yes it won't show unless the extension is enabled. But I still would rather it be set as a configuration to change the default location. Actually, even when it's set as a configuration it's still going to automatically show under the personal tools if someone's logged in. Unless they set ULS position to null.

@phryneas
Copy link

phryneas commented Sep 6, 2015

What is the status of this? I would be very happy about something like in your screenshot above - currently it is only available for logged in users (in personal) or as a small icon next to the languages-list (which is empty for me)

@nemobis
Copy link

nemobis commented Sep 22, 2015

ULS imposes its own icon

This seems a minor issue which should not block the fix of this bug and should instead be fixed separately. AFAICS, ULS does not impose anything and the icon is set by the CSS class uls-trigger; if you need something else from ULS, please file your bug against ULS.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants