owncast/web/components
Patrick Bollinger e59167deaa
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-08 18:58:43 -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-07 13:14:07 -07:00
chat feat(chat): add support for chat part messages. Closes #3201 (#3291) 2023-09-10 10:58:11 -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
stores Stop Firefox from adding mysterious hash (#3348) 2023-10-08 18:58:43 -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
.eslintrc.js
_COMPONENT_HOW_TO.md Use simpler example for ErrorBoundary 2023-03-14 21:34:36 -07:00