Commit graph

1092 commits

Author SHA1 Message Date
t1enne
d1ea0fa81b Destructured props 2022-05-22 14:19:39 +02:00
t1enne
abc210477f Added icons to buttons 2022-05-22 14:18:16 +02:00
t1enne
3c72114d5e Changed some button and dropdown overrides 2022-05-22 14:17:26 +02:00
t1enne
bef99afa05 Few changes to Chat input 2022-05-22 08:37:23 +02:00
t1enne
e045ab605b Changed user dropdown to include icon and removed font size 2022-05-22 08:36:52 +02:00
Gabe Kangas
99f40e28cb
Add placeholders for moderation actions 2022-05-20 13:23:46 -07:00
Gabe Kangas
3c291556e0
Add mock to follower 2022-05-20 13:12:16 -07:00
Gabe Kangas
3bc13fd08a
Add more mocks 2022-05-20 12:32:26 -07:00
Gabe Kangas
c03be0cf9f
Add some detail around how colors are defined 2022-05-19 13:38:05 -07:00
t1enne
1b9c04210b Fixed Slate error by providing initial value 2022-05-18 08:16:46 +02:00
Gabe Kangas
0bf1c7ce48
Add category icons as customizable svgs 2022-05-17 21:20:27 -07:00
Gabe Kangas
0d5d89a1c8
Fix empty state for text field 2022-05-17 17:58:51 -07:00
Gabe Kangas
f6525412c8
Fix typo + var defined in generated file 2022-05-17 17:58:06 -07:00
Gabe Kangas
97b2e64f58
Position the logo and title components 2022-05-17 16:08:39 -07:00
Gabe Kangas
51a12dc905
Fix logo to support non-square sizes 2022-05-17 16:08:38 -07:00
Gabe Kangas
8925e1b4e2
Organize stories into folders 2022-05-17 16:08:38 -07:00
Gabe Kangas
8ce045aa9a
Fix dark mode on storybook 2022-05-17 16:08:38 -07:00
t1enne
b6aa20b0aa worked on chat styling 2022-05-17 16:36:07 +02:00
t1enne
5f9995bab9 Merge branch 'webv2' of https://github.com/owncast/owncast into webv2 2022-05-17 08:43:01 +02:00
t1enne
a69ec7511a Changed Layout a bit
now we use less state for the layout. Chat and header are now sticky.
Moved some css vars.
2022-05-17 08:41:39 +02:00
Gabe Kangas
f6eeee2463
Use icon instead of the word viewers 2022-05-16 23:20:56 -07:00
Gabe Kangas
8d7a5d6d6e
Add placeholder embed pages 2022-05-16 22:55:22 -07:00
Gabe Kangas
5645f0070f
Add start of chat documentation 2022-05-16 22:18:07 -07:00
Gabe Kangas
528ae4c1ad
Add logo component and social links 2022-05-16 21:44:09 -07:00
Gabe Kangas
a1c06ec9de
Add notification reminder popup component 2022-05-16 20:08:22 -07:00
Gabe Kangas
f14b8ea8ba
Wire up placeholder name change modal 2022-05-13 15:07:49 -07:00
Gabe Kangas
e0f8a1f702
More accurately hide/show and track chat state 2022-05-13 14:44:16 -07:00
Gabe Kangas
de4ed9bb62
Fix some styling 2022-05-12 21:27:21 -07:00
Gabe Kangas
67cec2dcbb
Expand documentation for web project. Closes #1848 2022-05-12 20:58:08 -07:00
Gabe Kangas
ae78716572
Add more placeholder components and some mocks 2022-05-12 20:52:19 -07:00
Gabe Kangas
d427c0ad70
Organize stories and populate readme 2022-05-12 17:59:40 -07:00
Gabe Kangas
363787faa3
Add some links and context to readme 2022-05-12 15:41:54 -07:00
Gabe Kangas
f1e3adbec5
Split up design/style pages 2022-05-12 14:45:56 -07:00
Gabe Kangas
72c01e1b9a
Fix web project build errors 2022-05-11 23:31:31 -07:00
Gabe Kangas
b66617961d
Remove old web workflows and add new ones 2022-05-11 20:41:32 -07:00
Gabe Kangas
ff6886575f
Add player poster 2022-05-10 15:36:09 -07:00
Gabe Kangas
9bb37679c0
Add some images+icons to assets section 2022-05-09 19:02:10 -07:00
Gabe Kangas
92fe213b9b
Remove unused images 2022-05-09 16:40:41 -07:00
Gabe Kangas
92a1da4df6
Add custom Modal component 2022-05-09 15:34:02 -07:00
Gabe Kangas
8c7c11cb72
Continue to troubleshoot the emoji picker 2022-05-09 13:44:11 -07:00
Gabe Kangas
d6e0b55337
Missing file 2022-05-09 13:06:17 -07:00
Gabe Kangas
97762c17b0
Add viewer ping + volume saving to player 2022-05-08 23:42:40 -07:00
Gabe Kangas
3b3f785984
Use the webpack dev server proxy for requests 2022-05-08 23:28:54 -07:00
Gabe Kangas
2a8b474fa1
Format status bar text 2022-05-08 20:41:26 -07:00
Gabe Kangas
21585f5aea
Use title or name in header 2022-05-08 18:05:37 -07:00
t1enne
00bc662c7f Changed Logo and Header
logo has two variants. Changed story to reflect that. Updated header
2022-05-08 10:45:45 +02:00
t1enne
93d69a26eb Moved UserDropdown to comps/common/, updated imports, some styling on Header 2022-05-08 09:41:47 +02:00
t1enne
ced449175c renamed component 2022-05-08 09:39:58 +02:00
t1enne
df131acd06 wrapped with recoil 2022-05-08 09:39:26 +02:00
t1enne
d5145942bd Closed ending bracket 2022-05-08 09:38:42 +02:00
Gabe Kangas
f835ae5086
Add action buttons and status bar 2022-05-07 16:13:06 -07:00
Gabe Kangas
448c23d097
Use some style values so it looks like this page is making progress 2022-05-07 10:25:04 -07:00
Gabe Kangas
c99fcf5ed9
Tweak storybook UI a bit 2022-05-07 01:13:26 -07:00
Gabe Kangas
f7a03705a8
Use the generated style variables 2022-05-07 00:36:57 -07:00
Gabe Kangas
a78869302e
Add style-dictionary definitions 2022-05-06 23:29:44 -07:00
Gabe Kangas
97b957adbe
Add WIP external action buttons 2022-05-05 15:01:23 -07:00
Gabe Kangas
44173ac09d
WIP emoji picker 2022-05-05 14:43:40 -07:00
Gabe Kangas
66a55401a8
Use slate.js as a rich text editor for chat messages 2022-05-05 13:52:10 -07:00
Gabe Kangas
f96bde4f71
Can send a message from text input using submit button 2022-05-04 23:06:35 -07:00
Gabe Kangas
c56c45d904
Use contentEditable for chat input field 2022-05-04 16:55:54 -07:00
Gabe Kangas
008f607cf7
Fill out the follower component 2022-05-04 08:56:47 -07:00
t1enne
2cfb336411 Added mobile chat and some responsiveness
weird 0 popping out when toggling chat. wasn't able to find which
component is responsible. Used bare mininum scss. May refactor in the
future.
2022-05-04 09:55:44 +02:00
t1enne
502cf4478a reworked slightly main layout 2022-05-03 23:55:13 +02:00
Gabe Kangas
d65be6013a
Add some todo comments 2022-05-03 13:26:04 -07:00
Gabe Kangas
8b07eb7457
Render chat messages that come over the socket 2022-05-03 13:01:50 -07:00
Gabe Kangas
15becc5121
Connect to websocket and start accepting messages 2022-05-02 22:13:36 -07:00
Gabe Kangas
a0354d6d49
Handle centralized app state and registration + chat history 2022-05-02 17:45:22 -07:00
Gabe Kangas
b590e4f765
Add button to test chat msgs being added 2022-05-01 22:51:57 -07:00
Gabe Kangas
6314ed8667
Add performant list componant for rendering chat messages 2022-05-01 20:56:11 -07:00
Gabe Kangas
457dead455
Add some state logic based on enums 2022-05-01 20:12:34 -07:00
Gabe Kangas
4997c7c5ac
Fill out some more components + add application state enums 2022-04-29 15:10:13 -07:00
Gabe Kangas
e5d3b0e4ee
More blank components and stories to be filled in 2022-04-28 14:36:05 -07:00
Gabe Kangas
e0c073171d
Rename layout files 2022-04-28 12:57:51 -07:00
t1enne
b90eadcb4e
restructured components folders and layout (#1886) 2022-04-28 09:54:33 -07:00
Gabe Kangas
91b0db9c2e
Add placeholder components to be worked on 2022-04-27 23:19:45 -07:00
Gabe Kangas
07c6faad60
Add basic player component 2022-04-26 19:29:13 -07:00
Gabe Kangas
35546c0c6d
Added user registration call 2022-04-26 14:04:35 -07:00
Gabe Kangas
15ca73a438
WIP VideoPoster 2022-04-26 13:50:14 -07:00
Gabe Kangas
e2e21d915b
Initial api requests + stores + basic layout 2022-04-25 23:10:07 -07:00
Gabe Kangas
21af5ce020
Update readme instructions 2022-04-25 19:10:29 -07:00
Gabe Kangas
eadd27b6c0 Some Storybook configuration 2022-04-25 15:55:05 -07:00
Gabe Kangas
88bbc80748 Update readme 2022-04-25 15:54:38 -07:00
Gabe Kangas
79bfa0145f Moved admin to /admin and created blank placeholder for v2 frontend 2022-04-25 15:54:37 -07:00
gabek
75354527f6 Prettified Code! 2022-04-25 15:52:39 -07:00
Gabe Kangas
be441ae530 Add inter font to project 2022-04-25 15:52:39 -07:00
gabek
80b31af253 Prettified Code! 2022-04-25 15:52:39 -07:00
Gabe Kangas
e49948a215 Add colors to storybook 2022-04-25 15:52:39 -07:00
Gabe Kangas
19d6652c7a Add blank colors page to fill in 2022-04-25 15:52:39 -07:00
Gabe Kangas
3ce6fd4cb3 Add support for less variables and using a custom theme 2022-04-25 15:52:38 -07:00
Gabe Kangas
1c77219a75 First pass at component library 2022-04-25 15:52:38 -07:00
Renovate Bot
7a2441e6ea Lock file maintenance 2022-04-25 14:54:19 +00:00
Gabe Kangas
55ce0c0869 Add some basic validation logic for form. Closes https://github.com/owncast/owncast/issues/1847 2022-04-24 18:44:32 -07:00
Gabe Kangas
29ae557c0f Tweak some stream health text 2022-04-24 16:48:46 -07:00
funkyhippo
8cead20b60 Generate proper StatusStates for errors from backend. (#469) 2022-04-23 13:52:04 -07:00
funkyhippo
f625c31279 Fixes and enhancements to the client table. (#468)
* Fix sorting and order for name.

* Add the ability to sort display names.

* Remove no-unstable-nested-components rule.

* Use includes() rather than startsWith() for better 'searching' semantics.
2022-04-23 09:37:28 -07:00
Gabe Kangas
d78e28fd47 Add link to notification documentation 2022-04-22 17:32:25 -07:00
Gabe Kangas
0dcfbca318 Fix join msgs switch not firing api call 2022-04-19 12:52:40 -07:00
Renovate Bot
6cb3856ac0 Lock file maintenance 2022-04-18 15:47:37 +00:00
Gabe Kangas
2621665f54 Layout updates to stream health stats and messages 2022-04-09 23:05:10 -07:00
Gabe Kangas
810e2e0aaa Update gitignore 2022-04-09 23:05:10 -07:00
dependabot[bot]
5e4b95a90e Bump moment from 2.29.1 to 2.29.2 (#466) 2022-04-09 09:11:17 -07:00
Gabe Kangas
ad2f40810c Close confirm popup on cancel. Closes https://github.com/owncast/owncast/issues/1809 2022-04-04 14:18:58 -07:00
Gabe Kangas
4ba6822b33 Round hardware usage values. Closes https://github.com/owncast/owncast/issues/1815 2022-04-04 14:16:00 -07:00
Gabe Kangas
9f235bcaa5 Remove viewers label from Y axis. Closes https://github.com/owncast/owncast/issues/1816 2022-04-04 14:07:07 -07:00
renovate[bot]
f502a51b43 Pin dependency rc-overflow to 1.2.4 (#464)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-28 10:26:31 -07:00
Renovate Bot
b1999cefef Lock file maintenance 2022-03-28 12:51:19 +00:00
Gabe Kangas
299b7ff6de Display the representation % of players in metrics 2022-03-27 16:28:14 -07:00
Gabe Kangas
65efdb91b9 Add stream health overview component 2022-03-24 23:21:57 -07:00
Gabe Kangas
58acc7a449 Fix only one bitrate drawing on health graph. Tweak text. 2022-03-24 16:44:34 -07:00
Gabe Kangas
8ad2240247 Mange outbound notification settings (#458)
* ActivityPub admin pages for configuration

* Fix dev build

* Add support for requiring follow approval. Closes https://github.com/owncast/owncast/issues/1208

* Point at admin version of followers endpoint

* Add setting for toggling displaying fediverse engagement in admin. https://github.com/owncast/owncast/issues/1404

* Add instance URL textfield to federation config and disable federation if it is empty

* If instance URL is not https disable federation

* Tweak federation toggle text. Make go live message optional

* Add federation info modal. Closes https://github.com/owncast/owncast/issues/1544

* Add support for blocked federated domains. For https://github.com/owncast/owncast/issues/1209

* Simplify fediverse post input

* Add placeholder Fediverse icon

* Tweak federation logo in admin menu. Closes https://github.com/owncast/owncast/issues/1603

* Add global button for composing a fediverse post.

Closes https://github.com/owncast/owncast/issues/1610

* Federation -> Social

* Add page for listing federated actions. Closes https://github.com/owncast/owncast/issues/1573

* Auto-close social post modal after success

* Make user modal action buttons look nicer

* Center and reduce width and center count column. Closes https://github.com/owncast/owncast/issues/1580

* Update the followers table to be clearer

* Fix exception thrown when passing undefined

* Disable federation settings if feature is disabled

* Update enable social modal. For https://github.com/owncast/owncast/issues/1594

* Fix type props

* Quiet, linter

* Move compose button to the left

* Add tooltip for compose button

* Add NSFW toggle to federation config. Closes https://github.com/owncast/owncast/issues/1628

* Add support for blocking/removing followers. For https://github.com/owncast/owncast/issues/1630

* Allow editing the server url field even when federation is disabled

* Continue to update the copy around the social features

* Use relative path to action images. Fixes https://github.com/owncast/owncast/issues/1646

* Link IRIs and make action verbse present tense

* Update caniuse

* Notifications configuration UI

* Remove twilio add email notifications

* WIP email support

* Add support for managing twitter notifications

* Mark fields as passwords

* Continued WIP

* Post merge cleanup

* Cleanup

* Remove email config. Handle disabled notifications state

* Remove email related components

* Remove email related settings properties
2022-03-23 08:57:09 -07:00
Gabe Kangas
68fd329cc9 Downgrade antd to resolve broken slider. Hopefully resolves https://github.com/owncast/owncast/issues/1791 2022-03-21 14:40:04 -07:00
Renovate Bot
6c6f013194 Lock file maintenance 2022-03-21 12:54:27 +00:00
Gabe Kangas
a367b1dd07 Remove support for SVG logos. Closes https://github.com/owncast/owncast/issues/1773 2022-03-17 14:54:05 -07:00
Gabe Kangas
dd392e34db Expand upon playback metrics 2022-03-16 22:49:38 -07:00
Gabe Kangas
1ce2ee398c Admin UI for playback metrics. For https://github.com/owncast/owncast/issues/793 (#462) 2022-03-16 17:54:34 -07:00
Lerk
ae88a38acc Add description and name for VideoToolbox codec (#460)
* add description and name for VideoToolbox codec

* fix typo
2022-03-15 00:05:46 -07:00
Renovate Bot
d265fbc3ad Lock file maintenance 2022-03-14 12:49:48 +00:00
Gabe Kangas
e44f175350 Fix error thrown when renderinging without a value 2022-03-07 16:28:19 -08:00
Gabe Kangas
ebe5558d58 Fix error created by a non-menu item inside a menu 2022-03-07 15:59:58 -08:00
Gabe Kangas
c360b943db Use paginated followers result 2022-03-07 14:41:54 -08:00
Gabe Kangas
57d100b9e8 Fix hidden social config 2022-03-07 14:41:30 -08:00
Gabe Kangas
9c747f6b0f Show notice on admin home encouraging people to enable social federation features. (#447)
* Show notice on admin home encouraging enabling social. Closes https://github.com/owncast/owncast/issues/1653

* Do not import unused icon
2022-03-07 00:08:57 -08:00
Gabe Kangas
181a7c3431 Add admin support for established user mode. https://github.com/owncast/owncast/issues/1587 (#430) 2022-03-07 00:06:07 -08:00
Gabe Kangas
d6604300e1 Fix linter workflow? 2022-03-07 00:02:00 -08:00
Gabe Kangas
301e149a67 Add support for managing IP-based bans. For https://github.com/owncast/owncast/issues/1534 (#434) 2022-03-06 20:39:36 -08:00
Gabe Kangas
b97f805850 Display windowed time series viewer metrics (#454)
* WIP displaying windowed time series viewer metrics. Closes https://github.com/owncast/owncast/issues/1478

* Remove unused import
2022-03-06 19:49:42 -08:00
Gabe Kangas
17eca14be4 Add viewer details table. Closes https://github.com/owncast/owncast/issues/1477 (#453) 2022-03-06 17:39:52 -08:00
Gabe Kangas
6cd1687916 Paginated actions & followers API usage (#446)
* Hide social config if disabled

* Use paginated APIs. For https://github.com/owncast/owncast/issues/1654
2022-03-06 17:24:01 -08:00
Gabe Kangas
6f1ece7894 Add support for setting a socket override. https://github.com/owncast/owncast/issues/1378 (#431) 2022-03-06 17:12:37 -08:00
Gabe Kangas
ff3cda97f3 Add support to disable chat join messages. Closes https://github.com/owncast/owncast/issues/1582 (#452) 2022-03-05 22:36:38 -08:00
Gabe Kangas
f66357da46 Update antd 2022-02-28 19:16:10 -08:00
Renovate Bot
0cb575dd36 Lock file maintenance 2022-02-28 14:49:54 +00:00
Renovate Bot
2b51a65259 Lock file maintenance 2022-02-28 12:18:32 +00:00
Renovate Bot
5f0d305b13 Lock file maintenance 2022-02-21 13:04:07 +00:00
renovate[bot]
d2079b4263 Update dependency next to v12.1.0 [SECURITY] (#449)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-18 13:10:02 -08:00
Gabe Kangas
824754f318 New format for linter config? 2022-02-18 13:05:37 -08:00
Gabe Kangas
6e471a1124 Remove trailing slash for copied rtmp url 2022-02-17 21:29:10 -08:00
renovate[bot]
1ff44e436a Lock file maintenance (#448)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-14 09:53:22 -08:00
Gabe Kangas
4c72347fd3 Update linter config 2022-02-11 14:15:23 -08:00
Gabe Kangas
78b891cc51 Bump eslint-changed-files to v9 2022-02-11 14:11:26 -08:00
Renovate Bot
e10295b64e Lock file maintenance 2022-02-07 10:58:50 +00:00
Gabe Kangas
69c0cb8bd0 Require NPM modules to be stable for 3 days 2022-02-02 14:49:50 -08:00
Gabe Kangas
7f6d6c1f3c Schedule to run weekly 2022-02-02 14:47:53 -08:00
Gabe Kangas
b37c5ff575 Only require major updates to be surfaced on dashboard 2022-02-02 14:36:46 -08:00
renovate[bot]
12c265c6c0 Update all non-major dependencies (#443)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-02 00:11:26 -08:00
renovate[bot]
ebae6f34f1 Update creyD/prettier_action action to v4 (#444)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-02 00:10:27 -08:00
Gabe Kangas
5bf1acf8f6 Group dependency PRs together 2022-02-01 20:41:32 -08:00
Gabe Kangas
29ca9d86c8 Auto-merge dev dependencies 2022-02-01 20:33:43 -08:00
renovate[bot]
0089c2f8b5 Pin dependencies (#441)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-01 20:22:17 -08:00
Gabe Kangas
54cbd3ea5f Remove dependabot 2022-02-01 20:21:53 -08:00