Commit graph

25 commits

Author SHA1 Message Date
Gabe Kangas
bcbaa4e688
Only create source maps when setting SOURCE_MAPS 2023-01-30 09:40:29 -08:00
Gabe Kangas
19c228eaf6
Allow adding custom javascript to the page. Closes #2604 2023-01-18 22:38:24 -08:00
Gabe Kangas
85dc3bf21e
Fix storybook errors 2023-01-10 01:00:13 -08:00
Gabe Kangas
98070d8751
Turnning swc back off as it does not seem to work with storybook 2023-01-10 00:44:03 -08:00
Gabe Kangas
03cd2af1d2
Experiment with enabling swc for faster builds 2023-01-10 00:37:13 -08:00
Gabe Kangas
f95fbcc38b
Enable source maps in production 2023-01-08 20:41:46 -08:00
Gabe Kangas
42facacd24
Set next setting to not try to optimize images 2022-10-28 20:19:11 -07:00
Gabe Kangas
d91f682d21
Lazy load chat container 2022-10-28 12:19:39 -07:00
Gabe Kangas
6564fc69bf
Support web vitals attribution 2022-10-28 12:19:39 -07:00
Gabe Kangas
91edad5024
Add webpack bundle analyzer for debugging 2022-10-28 12:19:38 -07:00
Gabe Kangas
ec57feac94
Enable React strict mode 2022-10-26 22:45:13 -07:00
Gabe Kangas
2c45b420e5
Import server-rendered template as plain text + add title tag. Closes #2161 2022-10-20 19:40:33 -07:00
Gabe Kangas
cedfd18208
Fix next builds 2022-09-08 21:43:32 -07:00
James Young
d1f3fffe2f
reafctor: normalize component formatting (#2082)
* refactor: move/rename BanUserButton file

* refactor: move/rename Chart file

* refactor: update generic component filenames to PascalCase

* refactor: update config component filenames to PascalCase

* refactor: update AdminLayout component filename to PascalCase

* refactor: update/move VideoJS component

* chore(eslint): disable bad react/require-default-props rule

* refactor: normalize ActionButton component

* refactor: normalize ActionButtonRow component

* refactor: normalize FollowButton component

* refactor: normalize NotifyButton component

* refactor: normalize ChatActionMessage component

* refactor: normalize ChatContainer component

* refactor: normalize ChatJoinMessage component

* refactor: normalize ChatModerationActionMenu component

* refactor: normalize ChatModerationDetailsModal component

* refactor: normalize ChatModeratorNotification component

* refactor: normalize ChatSocialMessage component

* refactor: normalize ChatSystemMessage component

* refactor: normalize ChatTextField component

* refactor: normalize ChatUserBadge component

* refactor: normalize ChatUserMessage component

* refactor: normalize ContentHeader component

* refactor: normalize OwncastLogo component

* refactor: normalize UserDropdown component

* chore(eslint): modify react/function-component-definition rule

* refactor: normalize CodecSelector component

* refactor: update a bunch of functional components using eslint

* refactor: update a bunch of functional components using eslint, pt2

* refactor: update a bunch of functional components using eslint, pt3

* refactor: replace all component->component default imports with named imports

* refactor: replace all component-stories->component default imports with named imports

* refactor: remove default exports from most components

* chore(eslint): add eslint config files for the components and pages dirs

* fix: use-before-define error in ChatContainer

* Fix ChatContainer import

* Only process .tsx files in Next builds

Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2022-09-07 00:00:28 -07:00
Gabe Kangas
6de93f9651
Move the favicons 2022-06-24 21:53:16 -07:00
Gabe Kangas
8ed01ed4da
../
First pass at the emoji picker
2022-05-26 18:59:16 -07:00
Gabe Kangas
dde9878a46
Fix favicon 404s in dev 2022-05-25 21:33:06 -07:00
Gabe Kangas
0bf1c7ce48
Add category icons as customizable svgs 2022-05-17 21:20:27 -07:00
Gabe Kangas
528ae4c1ad
Add logo component and social links 2022-05-16 21:44:09 -07:00
Gabe Kangas
ff6886575f
Add player poster 2022-05-10 15:36:09 -07:00
Gabe Kangas
3b3f785984
Use the webpack dev server proxy for requests 2022-05-08 23:28:54 -07:00
Gabe Kangas
79bfa0145f Moved admin to /admin and created blank placeholder for v2 frontend 2022-04-25 15:54:37 -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
0ccb60c528 Change export paths 2020-11-09 12:06:28 -08:00
Gabe Kangas
bcf9c34946 Build should expect /admin to be the root 2020-09-30 17:12:22 -07:00