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

Feature request: Put board name before site name #4406

Open
laryn opened this issue May 15, 2022 · 3 comments
Open

Feature request: Put board name before site name #4406

laryn opened this issue May 15, 2022 · 3 comments

Comments

@laryn
Copy link

laryn commented May 15, 2022

Expected Behavior

If I have multiple boards open in multiple tabs, it would be nice to be able to tell them apart based on the small preview of the page title in the tab.

Current Behavior

Currently if you click into a card, the tab title is changed. But if you have the page open to the board overview, it displays as "Sitename's Restyaboard | Board - Boardname" and all tabs look identical even if they have different boards open.

Possible Solution

I suggest a default pattern of "Boardname | Sitename's Restyaboard" for page titles when viewing the board overview page (ie. not clicked into a specific card).

@laryn
Copy link
Author

laryn commented May 15, 2022

This appears to be where the code sets the page title:

https://github.com/RestyaPlatform/board/blob/dev/client/js/common.js#L21-L30

@laryn
Copy link
Author

laryn commented May 15, 2022

So it looks like the sitename first is intentional, but I suggest changing that.

    var title_format = (Iscardview === true) ? "%s | %s's Restyaboard" : "%s's Restyaboard | %s";
    var title_content = (Iscardview === true) ? [title, SITE_NAME] : [SITE_NAME, title];

Am I missing a reason why having the sitename first is preferable?

@sridhar391
Copy link
Contributor

@laryn We have site name first in the title of Restyaboard pages to differentiate the Restyaboard page from other tabs and thanks for the suggestion and we will discuss within the team

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

No branches or pull requests

2 participants