CORE-1968 Add page titles in each DE page #552
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR will add a basic page title to each DE page.
For example, the home page will still be titled
Discovery Environment
, but this PR will update the page title for the/data
page toData - Discovery Environment
, the/apps
listing page toApps - Discovery Environment
, the/help
page toHelp - Discovery Environment
, etc.Some pages will add additional info to the page title, if available.
For example, when viewing the details of a collection or team, the collection or team name will also display in the title, as
Collection - name - Discovery Environment
orTeam - name - Discovery Environment
; and when a user navigates to their home folder under/data/ds/cyverse/home/user
, then the page title will display asData - /cyverse/home/user - Discovery Environment
.When viewing subfolders of a user's home folder, then only the name of the current file or folder will display in the title (e.g.
Data - current_folder - Discovery Environment
).App categories will also display in the page title when viewing the different app listings, but because the category names usually also contain the word "App", then the title will not have
App -
prepended to it (e.g. justFavorite Apps - Discovery Environment
).