Commit Graph
881 Commits
Author SHA1 Message Date
Gabe Kangas dc2c46e2a4 fix(ui): fix for exception when chat is disabled. Closes #3138 2023-07-05 14:02:39 -07:00
janWilejanGitHubjanWilejan <>
74ad8d5e18 Fix chat flicker / Usernames collapse in order (#3135)
Co-authored-by: janWilejan <>
2023-07-05 11:51:16 -07:00
John ReganandGitHub 5c07e3ced6 highlighting: make case-insensitive, support unicode (#3137)
* highlighting: make case-insensitive, support unicode

* highlighting: also highlight simplified/normalized form

* highlighting: use MDN-recommended escape pattern
2023-07-05 11:23:39 -07:00
Gabe Kangas 65d52072d4 fix(chat): reposition chat loading spinner 2023-07-04 16:11:54 -07:00
Gabe Kangas 00a5fb8dc8 fix: pass username and instance url to external actions. Fixes #3130 2023-07-04 12:14:21 -07:00
Gabe Kangas 5876c7cfbb fix(ui): simplify modal loading ui state 2023-07-04 12:11:27 -07:00
bf1ccf21d2 chat: simplify input handling (#3124)
* chat: simplify input handling

Removes the cursor save/restore functionality.

Removes most key handling.

Allows message to go over limit.

Moves the message length check into SendMessage.

Changes the chat input to change to the max style only when over the limit,
rather than at the limit. Makes it apparent that something is wrong.

Fixes #3121

* Prettified Code!

---------

Co-authored-by: jprjr <jprjr@users.noreply.github.com>
2023-06-30 12:22:01 -07:00
Gabe Kangas bcd08633b4 fix(chat): simplify emoji + char count handling. Closes #3120 2023-06-29 20:35:53 -07:00
Gabe Kangas f1bde962cc feat(admin): auto-expand news item if there is only one 2023-06-29 19:37:52 -07:00
Dev GuptaandGitHub d973d1ac38 Update Sidebar.tsx (#3119) 2023-06-28 12:16:10 -07:00
Gabe Kangas b1a8f712c0 fix(embed): leave room for status bar in video embed. Closes #3104 2023-06-28 10:13:24 -07:00
janWilejanGitHubjanWilejan <>
ce724fa073 username of repeat chat messages is display:none (#3101)
users who want to show repeat usernames can inject the following CSS:
[class^="ChatUserMessage_repeatUser"]{display:flex !important;}

Co-authored-by: janWilejan <>
2023-06-28 09:58:07 -07:00
Gabe Kangas 6805a7c1db feat(ui): more improvements to initial loading state 2023-06-28 07:53:06 -07:00
Gabe Kangas d60289c8bc feat(ui): improve loading state 2023-06-27 22:52:23 -07:00
Gabe Kangas 0fd18cf889 fix: split out styles into two style tags. Should help #2989 2023-06-27 17:44:09 -07:00
Gabe Kangas e7f464a10f fix(ui): fix not being able to disable browser notifications. Closes #3115 2023-06-27 16:40:35 -07:00
Gabe Kangas 1ea9a548e1 fix(ui): fallback to an empty array. Closes #3116 2023-06-27 16:19:16 -07:00
Gabe Kangas 1f755cb0ba fix(chat): do not allow chat scrolling to impact page scrolling. Closes #3109 2023-06-27 16:11:07 -07:00
Gabe Kangas 1d6877d3ef fix(admin): fix error displaying and do not allow deleting of the last stream key. Closes #3114 2023-06-27 16:08:07 -07:00
Gabe Kangas 02811ef37e feat(chat): preload and cache the custom emoji. Closes #3117 2023-06-27 15:48:16 -07:00
Gabe Kangas a354787a9e feat(chat): support line breaks and pasted content. Closes #3108 2023-06-27 14:51:01 -07:00
Gabe Kangas d33f117a82 fix(chat): fix missing alt tags on custom emoji. Closes #3106 2023-06-26 11:38:10 -07:00
janWilejanGitHubjanWilejan <>
7930747cbb Fix highlight in video quality selection menu (#3102)
Also removed dead code in video quality selection menu.
Also 'minimize latency (experimental)' button is no longer renamed when pressed
(it is now highlighted when enabled).

Co-authored-by: janWilejan <>
2023-06-26 09:40:28 -07:00
janWilejanGitHubjanWilejan <>
c563742856 Chat popup (#3098)
* add pop out chat button

* add button to close chat popup

* chat is hidden on main interface when a popup chat is open

* NameChangeEvent renames clients with the given id

if you have two or more owncast windows (or pop-out chats) open, changing your
name in 1 client is reflected in all clients.

* replace isChatVisible booleans with chatState enum

* update stories to use ChatState

* fix build tests

---------

Co-authored-by: janWilejan <>
2023-06-26 09:00:27 -07:00
janWilejanGitHubjanWilejan <>
e752934fd5 fix TitleNotifier crash (#3100)
rare chance of crashing when using ReactRefresh with an empty chat

Co-authored-by: janWilejan <>
2023-06-23 19:12:34 -07:00
Gabe Kangas 06adee2bc2 fix(chat): restore placeholder value to what it was before 2023-06-22 09:48:26 -07:00
Gabe Kangas 7924a561b2 fix(chat): update scroll to bottom button text color 2023-06-21 14:26:57 -07:00
Gabe Kangas ccb9b5d075 chore: run stylelint on our css files 2023-06-20 20:58:00 -07:00
Gabe Kangas 0e13bd143e fix(chat): set cursor for chat input field 2023-06-20 20:51:36 -07:00
Gabe Kangas fb5cb10aa2 fix(ui): set description value to action button title 2023-06-20 20:25:17 -07:00
Gabe Kangas ad814a8802 fix(chat): refactor chat input to not use slatejs. Closes #3094 2023-06-20 17:06:24 -07:00
Gabe KangasandGitHub 8862d5d6ef Remove unused default exports 2023-06-19 18:32:56 -07:00
Gabe Kangas a86049729e fix(chat): enable tld validation in autolinking and add online to accepted tlds 2023-06-15 05:41:19 -07:00
Gabe Kangas 8a3bae4c30 fix(mobile): bottom section not filling width. Closes #3073 2023-06-14 13:31:18 -07:00
7fc5857d4c Fix path for image open meta tag #3075. (#3087)
* Commit updated API documentation

* Fix content path used for meta tags.

TT:#3075

* Fix lint for go code.

TT:#3075

* Revert docs/api/index.html

TT:#3075

---------

Co-authored-by: Owncast <owncast@owncast.online>
2023-06-13 19:28:35 -07:00
Mohib KhanandGitHub 6fa576a04a feat: close modal after name change (#3084)
* feat: close modal after name change

* refactor: shortened modal name

* fix: added a no-op for NameChangeModal storybook
2023-06-12 22:54:12 -07:00
Gabe Kangas 58f2d09815 fix(chat): try to improve auto scroll to bottom. Closes #3029 2023-06-12 15:47:41 -07:00
Gabe Kangas 447ab10738 feat: add ios specific push notification instructions
Closes #2992
2023-06-05 21:01:51 -07:00
YusukeandGitHub c4cd2d8472 Fix NotifyReminderPopup warning #3034. (#3068)
* Fix NotifyReminderPopup warning.

TT:#3034

* Revert web/components/action-buttons/NotifyButton.tsx

* Add div tag to make the children recognized as plain html element.

TT: #3034
2023-06-05 17:39:27 -07:00
Gabe Kangas 07db73b084 fix(ui): set offline banner color to be static palette white 2023-06-05 08:55:21 -07:00
Gabe Kangas 2046e4999f feat(chat): decrease msg collapse timeout + add spacing. Closes #3062 2023-06-02 19:48:07 -07:00
renovate[bot]GitHubrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>Gabe Kangas
a4f984e7d1 fix(deps): update dependency slate-react to v0.95.0 (#3065)
* fix(deps): update dependency slate-react to v0.95.0

* fix: slate requires prop name change

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2023-06-02 11:44:44 -07:00
Tung Bui (Leo)andGitHub 6976b0ddb8 fix(admin): Broken link to the stream health page (#3064) 2023-06-02 11:15:01 -07:00
Gabe Kangas 6d30de19f6 fix(chat): cleanup of moderator flag check 2023-05-31 16:54:30 -07:00
Gabe Kangas 924223328c fix(chat): tweak layouts of chat user badges. Closes #3009 2023-05-31 14:53:13 -07:00
Gabe Kangas 71703f2245 fix(chat): fix bot status not showing. Closes #3046 2023-05-31 13:54:03 -07:00
Gabe KangasandGitHub cd458630ec Support using the custom video serving endpoint even if you don't use object storage (#2924)
* feat(video): refactor video serving endpoint

It can now be used without an object storage provider. Closes #2785

* fix: remove debug log
2023-05-30 14:05:24 -07:00
Gabe KangasandGitHub 15dc718e61 feat: add support for robots.txt disabling search indexing (#2929)
* feat: add support for robots.txt

Can toggle disabling search engine indexing. Closes #2684

* fix: unexport ts const
2023-05-30 11:09:51 -07:00
Gabe Kangas 15e06b9b2b fix(mobile): remove extra 20px of padding 2023-05-25 08:20:03 -07:00
Gabe Kangas 432a348deb fix(ui): move id to menu button instead of wrapper div 2023-05-23 16:51:48 -07:00