Commit graph

2751 commits

Author SHA1 Message Date
John Regan
c132d82645
simpler chatbox (#3146) 2023-07-09 13:42:03 -07:00
renovate[bot]
b0ebf9e9d0
chore(deps): update dependency stylelint-config-standard to v34 (#3144)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-09 13:04:19 -07:00
janWilejan
d09031faeb
Increase width of volume slider to 100px (#3155)
Co-authored-by: janWilejan <>
2023-07-09 12:50:04 -07:00
Gabe Kangas
40de64fffe
chore: add support for exporting our colors as Swift files 2023-07-09 12:43:04 -07:00
renovate[bot]
a64d7fb7d6
chore(deps): update dependency cypress to v12.17.0 2023-07-09 15:59:41 +00:00
renovate[bot]
9a62ddf2fa
chore(deps): update dependency @babel/core to v7.22.8 2023-07-09 12:53:13 +00:00
Owncast
873f2f37db Commit screenshots 2023-07-09 04:11:23 +00:00
renovate[bot]
91b6d4581c
chore(deps): update dependency npm to v9.8.0 2023-07-08 21:59:05 +00:00
Owncast
f248defcaf Commit screenshots 2023-07-08 04:10:34 +00:00
dependabot[bot]
0f9a5e9a1e
Bump stylelint from 15.10.0 to 15.10.1 in /web (#3151)
Bumps [stylelint](https://github.com/stylelint/stylelint) from 15.10.0 to 15.10.1.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/15.10.0...15.10.1)

---
updated-dependencies:
- dependency-name: stylelint
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-07 16:38:59 -07:00
renovate[bot]
9babe96887
fix(deps): update dependency react-hotkeys-hook to v4.4.1 2023-07-07 13:50:09 +00:00
renovate[bot]
6d8de93456
chore(deps): update dependency @babel/core to v7.22.6 2023-07-07 10:51:04 +00:00
Owncast
867decab0e Commit screenshots 2023-07-07 04:31:31 +00:00
renovate[bot]
b2788e76bc
fix(deps): update dependency @fontsource/poppins to v5.0.4 2023-07-06 23:27:49 +00:00
renovate[bot]
a05df21084
chore(deps): update typescript-eslint monorepo to v5.61.0 2023-07-06 19:55:27 +00:00
John Regan
58bc3ac173
emoji: display native emoji simiarly to custom (#3147) 2023-07-06 12:47:38 -07:00
janWilejan
185123dab2
fail silently when no codces are found (#3142)
Co-authored-by: janWilejan <>
2023-07-05 21:41:50 -07:00
Owncast
f2d9d407c3 Commit screenshots 2023-07-06 04:10:24 +00:00
Gabe Kangas
9288837f9d
fix(admin): fix custom emoji imgs being rendered with odd size. Fixes #3126 2023-07-05 17:58:24 -07:00
John Regan
46ca5223f9
Chat wire protocol (#3125)
* core: remove file extension from emoji name

* web: transform emotes to labels when sending

* chat: replace br with line break

* core: implement emoji cache

* chat: send shortcodes for custom emoji

* chat: correct esling errors

* core: move emoji injection into dedicated function

* emoji: integrate emoji into markdown renderer, fix formatting

* chat protocol: correct golangci-lint findings

* chat field: specify that the contentEditable is an HTMLElement

* admin: mention that emoji should have unique names

* Prettified Code!

* regenerate pack-lock

* chat: correct the emphasis tag, provide fallback for other elements

---------

Co-authored-by: jprjr <jprjr@users.noreply.github.com>
2023-07-05 17:25:47 -07:00
Gabe Kangas
dc2c46e2a4
fix(ui): fix for exception when chat is disabled. Closes #3138 2023-07-05 14:02:39 -07:00
janWilejan
74ad8d5e18
Fix chat flicker / Usernames collapse in order (#3135)
Co-authored-by: janWilejan <>
2023-07-05 11:51:16 -07:00
John Regan
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
Owncast
1c7a7b88b5 Commit screenshots 2023-07-05 04:09:49 +00: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
renovate[bot]
372a025ed0
chore(deps): update dependency eslint to v8.44.0 2023-07-04 14:46:55 +00:00
Owncast
294a79a665 Commit screenshots 2023-07-04 04:09:55 +00:00
renovate[bot]
e170123d0c
chore(deps): update dependency @types/node to v18.16.19 2023-07-04 00:48:24 +00:00
renovate[bot]
bd8f4452dc
chore(deps): update dependency stylelint-config-standard-scss to v10 (#3128)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-03 17:42:20 -07:00
renovate[bot]
13173f532e
fix(deps): update dependency antd to v4.24.12 2023-07-03 16:14:59 +00:00
renovate[bot]
7b2b4a525d
chore(deps): update dependency ts-jest to v29.1.1 2023-07-03 12:37:18 +00:00
renovate[bot]
4347bd8963
chore(deps): update dependency mermaid to v10.2.4 2023-07-03 11:31:46 +00:00
Owncast
7abac469d5 Commit screenshots 2023-07-03 04:11:16 +00:00
Owncast
e23ff64362 Commit screenshots 2023-07-02 04:10:30 +00:00
Owncast
0a50b02bd2 Commit screenshots 2023-07-01 04:10:25 +00:00
John Regan
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
renovate[bot]
4bec812a9f
chore(deps): update dependency cypress to v12.16.0 2023-06-30 14:00:38 +00:00
renovate[bot]
bd6c44396b
fix(deps): update dependency antd to v4.24.11 2023-06-30 10:39:09 +00:00
renovate[bot]
1c381fc4bf
fix(deps): update dependency @uiw/react-codemirror to v4.21.7 2023-06-30 07:27:56 +00:00
Owncast
23b431c3d0 Commit screenshots 2023-06-30 04:10:19 +00: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
renovate[bot]
127853dcdf
fix(deps): update dependency @uiw/codemirror-theme-bbedit to v4.21.7 2023-06-29 22:51:13 +00:00
renovate[bot]
2b2a8298ec
chore(deps): update typescript-eslint monorepo to v5.60.1 2023-06-29 18:48:32 +00:00
renovate[bot]
6c60424c77
chore(deps): update dependency knip to v2.14.3 2023-06-29 16:38:37 +00:00
renovate[bot]
4266583d67
fix(deps): update dependency xstate to v4.38.0 2023-06-29 04:44:51 +00:00
Owncast
bfb3cf2bf2 Commit screenshots 2023-06-29 04:10:12 +00:00
renovate[bot]
88b453c168
fix(deps): update dependency @uiw/react-codemirror to v4.21.5 2023-06-28 22:28:48 +00:00
Dev Gupta
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
janWilejan
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
renovate[bot]
739ddd6487
fix(deps): update dependency @uiw/codemirror-theme-bbedit to v4.21.5 2023-06-28 06:00:01 +00:00
Gabe Kangas
d60289c8bc
feat(ui): improve loading state 2023-06-27 22:52:23 -07:00
Owncast
ac8f9b3945 Commit screenshots 2023-06-28 04:10:46 +00: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
renovate[bot]
35023f20df
chore(deps): update dependency stylelint to v15.9.0 2023-06-27 17:49:26 +00:00
renovate[bot]
cfcd7d2a65
chore(deps): update dependency knip to v2.14.2 2023-06-27 14:57:15 +00:00
renovate[bot]
fb2379c1be
fix(deps): update dependency react-virtuoso to v4.3.11 2023-06-27 11:48:29 +00:00
renovate[bot]
72e9404717
fix(deps): update dependency picmo to v5.8.5 2023-06-27 07:20:58 +00:00
renovate[bot]
ff7642a50f
fix(deps): update dependency @uiw/codemirror-theme-bbedit to v4.21.4 2023-06-27 04:41:15 +00:00
Owncast
ab47015397 Commit screenshots 2023-06-27 04:12:36 +00:00
renovate[bot]
2766aace44
fix(deps): update dependency @uiw/react-codemirror to v4.21.4 2023-06-26 21:49:12 +00:00
renovate[bot]
4ae071b3ab
chore(deps): update dependency @types/react to v18.2.14 2023-06-26 18:45:19 +00:00
Gabe Kangas
d33f117a82
fix(chat): fix missing alt tags on custom emoji. Closes #3106 2023-06-26 11:38:10 -07:00
renovate[bot]
b7c5e75f19
fix(deps): update codemirror 2023-06-26 16:46:57 +00:00
janWilejan
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
janWilejan
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
Owncast
fca85a4a42 Commit screenshots 2023-06-26 04:10:35 +00:00
renovate[bot]
9903174ad1
chore(deps): update dependency chromatic to v6.19.9 2023-06-25 17:22:51 +00:00
renovate[bot]
23bf5c3bc5
fix(deps): update nextjs monorepo to v13.4.7 2023-06-25 05:16:58 +00:00
Owncast
17f1967eff Commit screenshots 2023-06-25 04:10:14 +00:00
renovate[bot]
585aff1889
chore(deps): update dependency sass to v1.63.6 2023-06-24 23:05:04 +00:00
renovate[bot]
f36841194b
chore(deps): update dependency npm to v9.7.2 2023-06-24 19:42:42 +00:00
renovate[bot]
51a6a7c95a
chore(deps): update dependency sass to v1.63.5 2023-06-24 04:44:49 +00:00
Owncast
f6c855312d Commit screenshots 2023-06-24 04:10:24 +00:00
janWilejan
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
renovate[bot]
0ad9b6c9cd
chore(deps): update dependency @storybook/testing-library to v0.2.0 2023-06-23 21:57:46 +00:00
renovate[bot]
d5bb88c2cc
chore(deps): update dependency cypress to v12.15.0 2023-06-23 18:38:52 +00:00
Owncast
093b9dc087 Commit screenshots 2023-06-23 04:11:02 +00:00
renovate[bot]
068afa1b61
chore(deps): update typescript-eslint monorepo to v5.60.0 2023-06-22 20:09:48 +00:00
Gabe Kangas
06adee2bc2
fix(chat): restore placeholder value to what it was before 2023-06-22 09:48:26 -07:00
renovate[bot]
7c92482e7c
chore(deps): update dependency @types/react to v18.2.13 2023-06-22 13:49:50 +00:00
Owncast
974e4d8879 Commit screenshots 2023-06-22 04:11:16 +00:00
Gabe Kangas
742131695c
fix(tests): ignore stylint packages 2023-06-21 14:40:29 -07:00
Gabe Kangas
7924a561b2
fix(chat): update scroll to bottom button text color 2023-06-21 14:26:57 -07:00
Owncast
3eacb5e8d3 Commit screenshots 2023-06-21 04:17:37 +00:00
Gabe Kangas
ccb9b5d075
chore: run stylelint on our css files 2023-06-20 20:58:00 -07:00
Gabe Kangas
9a4b19068f
chore(tests): add stylelint config 2023-06-20 20:51:37 -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