lbry-desktop/ui/constants
infinite-persistence 79be67831b
Add page titles (affects browser Tab, History, etc.)
## Issue
- While changing the "Back" behavior in the Settings Page PR, it was a pain to troubleshoot when the entire history list is listed as "odysee.com".
- If you have multiple tabs open, it's hard to know which is which for non-claim and non-channel pages.

## Approach
Initially, I thought of overriding the document's title through the `<Page>` component, since the titles are usually defined there. However, given that the router is already doing the overriding, I think it's best to do the same thing all in one place.

Downside: it might get missed when a new page is added.

## Unknown
- Not sure if are rules for titles. There seems to be a mix of sites -- some have specific titles per page, most just use the site title for each page.
- I think the `return` statement in the `useEffect` is unnecessary, since it'll just be setting to the same value now during the cleanup stage. (??)
2021-08-28 21:25:20 +08:00
..
action_types.js Fill in remaining Recsys fields 2021-08-03 09:34:36 -04:00
claim.js Fix: Added \ and = to Reserved symbols warning 2021-08-05 11:09:30 -04:00
claim_search.js wip 2021-06-08 13:25:52 -04:00
classnames.js Revert lazy-loading videojs 2021-07-06 17:04:16 +08:00
collections.js wip 2021-06-08 13:25:52 -04:00
comment.js Restore comment pagination 2021-07-16 10:54:12 -04:00
email.js simpler email regex 2019-11-18 14:50:29 -05:00
file_render_modes.js Enable PDF Viewer in App 2021-01-28 10:21:35 -05:00
form-field.js some recon (#6532) 2021-07-18 13:06:52 -04:00
icons.js Use solid heart for "subscribed" (#6947) 2021-08-24 10:57:01 -04:00
language-migrations.js Revert "Simplify language lists" 2021-04-06 15:42:27 -04:00
languages.js Tagalog Language Fix (#6951) 2021-08-25 10:19:16 -04:00
licenses.js refactor lbrytv web server 2019-11-11 13:27:29 -05:00
livestream.js livestream api constant rename 2021-07-28 16:51:11 -04:00
modal_types.js Add confirmation on comment removal 2021-07-30 10:24:04 -04:00
moonpay.js moonpay 2020-06-03 14:16:43 -04:00
navigation.js Fill in remaining Recsys fields 2021-08-03 09:34:36 -04:00
notifications.js Skin fiat-tip notification 2021-07-08 11:21:58 +08:00
pages.js Fix 'bighits' vs 'big_hits' 2021-08-25 22:45:12 +08:00
pageTitles.js Add page titles (affects browser Tab, History, etc.) 2021-08-28 21:25:20 +08:00
publish_types.js livestream related publish fixes 2021-04-22 10:59:03 -04:00
reactions.js creator only like reactions 2020-10-27 12:27:30 -04:00
report_content.js Rick constants 2021-04-21 10:49:31 -04:00
search.js Search: infinite scroll 2021-04-07 12:08:17 -04:00
searchable_languages.js claim-search by language 2020-10-29 15:20:18 -04:00
settings.js Settings Page Side Navigation 2021-08-23 23:45:23 +08:00
stripe.js Chore desktop cleanup (#6896) 2021-08-17 18:34:16 -04:00
subscriptions.js refactor lbrytv web server 2019-11-11 13:27:29 -05:00
supported_browser_languages.js Restore lost languages (#5972) 2021-04-28 20:27:04 -04:00
supported_languages.js Tagalog Language Fix (#6951) 2021-08-25 10:19:16 -04:00
supported_sub_languages.js support brazilian portugese 2021-04-16 11:16:25 -04:00
tags.js review changes 2021-02-04 20:55:36 -05:00
themes.js refactor lbrytv web server 2019-11-11 13:27:29 -05:00
thumbnail_upload_statuses.js refactor lbrytv web server 2019-11-11 13:27:29 -05:00
token.js refactor lbrytv web server 2019-11-11 13:27:29 -05:00
transaction_types.js fix: double confirmation on channel updates 2020-04-06 14:11:24 -04:00
user.js wip 2021-06-08 13:25:52 -04:00