owncast/web/components
Patrick Bollinger d42a705d33 Stop Firefox from adding mysterious hash (#3348)
This resolves https://github.com/owncast/owncast/issues/3240

From the comments:
This was trickier than expected, but the root of the problem is Firefox will set `#` in the URL bar when `window.location.hash` is set to _any_ string, even a blank string. The morale of the story is, don't mutate base data if you just want to copy values. 😅

Sample of Firefox JavaScript console session that demonstrates the issue:
```javascript
>> window.location.href
"https://github.com/owncast/owncast/issues/3240"

>> const setBlankHash = () => { window.location.hash = ''; };
undefined

>> window.location.hash
""

>> window.location.href
"https://github.com/owncast/owncast/issues/3240"

>> setBlankHash()
undefined

>> // My browser just jumped to the top of the page
undefined

>> window.location.hash
""

>> window.location.href
"https://github.com/owncast/owncast/issues/3240#"
```
2023-10-26 13:14:28 -07:00
..
action-buttons chore(deps): update dependency eslint-plugin-react to v7.33.0 (#3205) 2023-07-29 15:57:45 -07:00
admin Update ClientTable.tsx (#3342) 2023-10-26 13:13:48 -07:00
chat feat(chat): add support for chat part messages. Closes #3201 (#3291) 2023-10-26 13:10:08 -07:00
common Fix deprecated antd dropdown warnings (#3171) 2023-07-13 20:28:12 +00:00
layouts change chat from a sidebar to a column (#3113) 2023-07-09 14:07:35 -07:00
modals Name change: better unicode handling (#3164) 2023-07-11 10:44:09 -07:00
ServerRendered Support CSP nonce for webv2. Closes #2127 2022-12-12 17:04:00 -08:00
stores Stop Firefox from adding mysterious hash (#3348) 2023-10-26 13:14:28 -07:00
theme fix: split out styles into two style tags. Should help #2989 2023-06-27 17:44:09 -07:00
TitleNotifier fix TitleNotifier crash (#3100) 2023-06-23 19:12:34 -07:00
ui fix: fix positioning of mobile buttons menu. Closes #3216 (#3217) 2023-07-28 02:20:04 +00:00
video Increase width of volume slider to 100px (#3155) 2023-07-09 12:50:04 -07:00
workers/PushNotificationServiceWorker Use built-in Next layout support + lazy load 2023-01-09 01:08:24 -08:00
.eslintrc.js reafctor: normalize component formatting (#2082) 2022-09-07 00:00:28 -07:00
_COMPONENT_HOW_TO.md Use simpler example for ErrorBoundary 2023-03-14 21:34:36 -07:00