Commit Graph
100 Commits
Author SHA1 Message Date
Gabe Kangas 20e9d030ed Fix logo alignment for mobile. Closes #2263 2022-11-06 16:09:05 -08:00
Gabe Kangas b9f5b1da19 Fix change name modal story not rendering. Closes #2255 2022-11-06 15:33:21 -08:00
Gabe Kangas 4cdbcc642d Tweak Chromatic diffThreshold to reduce false negative tests 2022-11-05 17:27:44 -07:00
Gabe KangasandGitHub 352447e3d4 Web UI frontend automated browser tests (#2223)
* First pass at basic browser tests for #1926

* Run tests against dev web server not go server

* Bundle the web code into the server before running tests

* Move cypress UI tests into its own npm project + add tests

* Add additional tests + wire up with cypress dashboard

* Limit concurrency of workflow jobs

* Temporarily comment out some tests that do not pass in mobile. Will fix later.
2022-11-04 20:04:13 -07:00
Gabe Kangas 595865c11d Fix infinite load on first launch. Closes #2302 2022-11-04 18:35:50 -07:00
Gabe Kangas 50f23a0807 Changes to troubleshoot #2291 2022-11-02 00:02:32 -07:00
Gabe Kangas a89bceea37 Do not show empty state when loading followers. Closes #2249 2022-11-01 21:10:55 -07:00
Gabe Kangas c3722256fb Explicitly set AP post as public. Closes #2112 2022-10-28 23:25:26 -07:00
Gabe Kangas 0e8f14a58a Fix text input width. Closes #2184 2022-10-28 22:47:21 -07:00
Gabe Kangas e0b7ae5b3a Fix auth modal story not rendering. Closes #2254 2022-10-28 22:22:56 -07:00
Gabe Kangas 42facacd24 Set next setting to not try to optimize images 2022-10-28 20:19:11 -07:00
Gabe Kangas 628d70e37c Add rel=me to social links. Closes #2269 2022-10-28 20:16:30 -07:00
Gabe Kangas 64a2fbd3e8 Add to anchor rel attributes do not overwrite 2022-10-28 20:15:49 -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 2e7787f70b Force the bundler to build the player as its own file 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 65fcbb9d3f Use Next Image component for social links 2022-10-28 12:19:38 -07:00
Gabe Kangas ae7c02b421 Add support for public static files. Closes #2234 2022-10-27 22:30:39 -07:00
Gabe Kangas d1051a895f Merge remote-tracking branch 'origin/develop' into webv2 2022-10-27 21:26:33 -07:00
Gabe Kangas ec57feac94 Enable React strict mode 2022-10-26 22:45:13 -07:00
Gabe KangasandGitHub 3fb1bb575b Tweak Renovate options for automerge 2022-10-26 19:00:50 -07:00
Gabe Kangas 0af1db73a4 Revert "Tweak Renovate options for automerge"
This reverts commit 1e0d1575d5.
2022-10-26 19:00:02 -07:00
Gabe KangasandGitHub 1e0d1575d5 Tweak Renovate options for automerge 2022-10-26 18:58:47 -07:00
Gabe Kangas e7a4d53453 Remove buttons from offline banner and add inline links. Closes #2261 2022-10-24 22:24:14 -07:00
Gabe Kangas 952b28f8bf Explicitly set state for config+status when hydrated 2022-10-24 21:26:03 -07:00
Gabe Kangas da66f3b051 Do not display go template tag in dev 2022-10-24 18:27:01 -07:00
Gabe Kangas 7ba541012f Update default page content text. Closes #2178 2022-10-24 11:13:55 -07:00
Gabe Kangas a0093fb0c9 Fix server rendered title tag. Closes #2251 2022-10-23 23:09:21 -07:00
Gabe Kangas 77369a3cbe Add follow+notify to actions menu and refactor how those modals are displayed. Closes #2247 2022-10-23 21:59:25 -07:00
Gabe Kangas 8aed27e44d Refactor server-rendered tags. Closes #2246 2022-10-22 16:51:09 -07:00
Gabe Kangas f2f3dcfea7 Add mobile actions dropdown menu. Closes #2231 2022-10-21 23:58:39 -07:00
Gabe Kangas 3fbbecc0e8 Refactor action buttons callback 2022-10-21 22:24:29 -07:00
Gabe Kangas fb9001949b Fix follow modal height. Closes #2235 2022-10-20 20:36:44 -07:00
Gabe Kangas 420d6c835d Add missing slashes 2022-10-20 20:36:44 -07:00
Gabe Kangas 4ca0e69be6 Open all links in a new tab. Closes #2160 2022-10-20 20:13:18 -07:00
Gabe Kangas 5e761b13c4 Fix storybook build 2022-10-20 19:48:00 -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 c6364959c9 Experiment with showing footer on about tab for mobile 2022-10-20 18:00:13 -07:00
Gabe Kangas de90e6a74c Fix some broken social icons in frontend and admin 2022-10-18 23:38:26 -07:00
Gabe Kangas ca320660f0 rc-util is no longer required to be explicitly added 2022-10-18 23:23:11 -07:00
Gabe Kangas 2f8c5ec131 rc-overflow is no longer explicitly required to be added 2022-10-18 23:23:11 -07:00
Gabe Kangas d8e1b037d9 Remove some unused storybook addons 2022-10-18 23:11:18 -07:00
Gabe Kangas e75b20d6ca Support customSocketOverride value for websocket. Closes #2225 2022-10-18 20:43:23 -07:00
Gabe Kangas 0c127a65ce Add action message type to chat. Closes #2226 2022-10-18 20:43:23 -07:00
Gabe Kangas 91c7bed0e8 Add action message type to chat. Closes #2226 2022-10-18 19:47:38 -07:00
Gabe Kangas a58d4d6997 Remove debug logging 2022-10-18 19:44:46 -07:00
Gabe Kangas 37cdbb8dbd Add backgrounded stream+messages title notifier. Closes #2208 2022-10-18 19:21:08 -07:00
Gabe Kangas 3e89937d2b Handle websocket errors and reconnection. Closes #1869 2022-10-18 16:39:49 -07:00
Gabe Kangas 106e144cba Add user color database migration. Closes #1984 2022-10-17 21:44:12 -07:00
Gabe Kangas 8689061498 Do not run chromatic for renovate user 2022-10-17 19:44:05 -07:00
Gabe Kangas 60805ebed0 Put actual token in workflow so Chromatic will run against PRs 2022-10-16 23:01:22 -07:00
Gabe Kangas e3c038f48d Revert "fix notification reminder popup -> purple background (#2209)"
This reverts commit ab573f67e9.
2022-10-16 22:49:43 -07:00
Gabe Kangas 660c95786e Run chromatic on PRs 2022-10-16 22:46:45 -07:00
Gabe Kangas a2a294bc4c No longer lazy load followers 2022-10-16 22:40:17 -07:00
Gabe Kangas 6745759904 Tell storybook to use mdxv2 2022-10-16 21:48:19 -07:00
Gabe Kangas 27565c2b02 Show play button on player pause. Closes #2206 2022-10-12 19:24:41 -07:00
Gabe Kangas ee283311ec Do not render icon of action button if icon is not set. Closes #2203 #2202 2022-10-12 19:15:47 -07:00
Gabe Kangas d40e66b7ef Stop playback metrics on player unmount 2022-10-12 19:15:47 -07:00
Gabe Kangas 88bb8336f3 Fix player not staying inline on iOS. Closes #2097 2022-10-12 17:53:37 -07:00
Gabe Kangas c844e98a19 Merge remote-tracking branch 'origin/develop' into webv2 2022-10-12 16:52:05 -07:00
Gabe KangasandGitHub cade15ea1b Run API tests on pull requests 2022-10-12 15:34:35 -07:00
Gabe Kangas 2e435628b9 Add mdx-js/react to silence missing dependency error 2022-10-11 23:09:31 -07:00
Gabe Kangas 61e1a49fd4 Replace markdown editor with CodeMirror 2022-10-10 20:16:14 -07:00
Gabe Kangas e1416e90e5 Use a real code editor for CSS editing. Closes #1843 2022-10-10 19:49:06 -07:00
Gabe Kangas 7967106fcc Restore the loading state of the app. Closes #2195 2022-10-10 18:33:22 -07:00
Gabe Kangas a526decef4 Refactor use of antd tab component. Closes #2098 2022-10-10 17:54:03 -07:00
Gabe Kangas 83fb88ad70 Use the new light background color for chat bg color 2022-10-10 17:15:48 -07:00
Gabe Kangas aa1b4819bb Fix hook count error 2022-10-10 16:57:11 -07:00
Gabe Kangas 80a012a3c7 Add current user object that holds user session values instead of standalone getters. Closes #2050 2022-10-10 16:40:13 -07:00
Gabe Kangas d94723bd3a Fix embeds not loading on prod builds. Closes #2186 2022-10-10 14:06:02 -07:00
Gabe Kangas 4c13c3618d Remove admin stylesheets from loading with app. Closes #2183 2022-10-10 13:31:37 -07:00
Gabe Kangas 8f0541a0f1 Remove hardcoded websocket host 2022-10-09 21:17:55 -07:00
Gabe Kangas dd5b8e7ce5 Start of empty follower tab state. For #1913 2022-10-09 20:31:14 -07:00
Gabe Kangas 7843487b76 Fix followers request 2022-10-09 18:52:45 -07:00
Gabe Kangas 34a5104a6d Add and use additional light background color for custom page content 2022-10-09 18:41:52 -07:00
Gabe Kangas 7788fe3327 Support custom text in notify button 2022-10-09 14:45:42 -07:00
Gabe Kangas 9c1fac7468 Do not show raw error in the fatal error modal 2022-10-08 23:15:38 -07:00
Gabe Kangas cd3722d9f1 Limit chat input to max characters. Closes #2109 2022-10-08 22:33:50 -07:00
Gabe Kangas 8a946b8444 Do not show status bar unless live 2022-10-08 18:53:45 -07:00
Gabe Kangas 7e284aa4df Remove the restricted width of the page content 2022-10-08 18:53:45 -07:00
Gabe Kangas 23b5468ed4 Fix error thrown by player after player is unmounted 2022-10-08 17:51:17 -07:00
Gabe Kangas 6773fc37a5 Fix space bar moving page. Closes #2110 2022-10-08 17:15:19 -07:00
Gabe Kangas ded47a0c25 Make live indicator use our theme colors. For #1899 2022-10-08 16:51:49 -07:00
Gabe Kangas 19e9895fe5 First pass at updated the default page content. For #2178 2022-10-08 16:25:20 -07:00
Gabe Kangas 2de23a3458 Only client-render server-rendered templates in production builds. Closes #2176 2022-10-08 15:34:11 -07:00
Gabe Kangas 6c2e25e597 Update the offline banner. Filed #2179 to discuss text 2022-10-08 15:05:52 -07:00
Gabe Kangas 19e4e99127 First pass at the social/federated chat component. Closes #2172 2022-10-05 22:43:24 -07:00
Gabe Kangas 45c7fa4f7e Only show chat send button on mobile 2022-10-04 19:14:50 -07:00
Gabe Kangas 6c9f9f6507 Add additional example chat items to story 2022-10-04 19:14:50 -07:00
Gabe Kangas 5742845b7c Fix values in the follow form 2022-10-04 18:43:15 -07:00
Gabe Kangas 215a3096db Do not allow enabling federation features on if not port 443. Closes #2008 2022-10-03 22:24:12 -07:00
Gabe Kangas cb65dde46a Increase cache time of javascript and css since the files are hashed 2022-10-03 21:44:03 -07:00
Gabe Kangas b1484f4c9f Lazy load some components that aren't needed at load. For #2167 2022-10-03 21:06:46 -07:00
Gabe Kangas 7fb97c56aa Merge remote-tracking branch 'origin/develop' into webv2 2022-10-02 21:44:06 -07:00
Gabe KangasandGitHub f1a2a918c8 Change host in fixture script 2022-10-02 21:40:15 -07:00
Gabe KangasandGitHub d69e3656e2 Add example welcome message in fixture data. 2022-10-02 21:38:50 -07:00
Gabe Kangas 555a289840 Set long-lived cache duration for fonts. Closes #2162 2022-10-02 17:22:13 -07:00
Gabe KangasandGitHub f7ced7bb58 Fetch all branches in webv2 build 2022-10-02 13:30:49 -07:00
Gabe Kangas 128d6c011d Set script as +x 2022-10-02 13:17:49 -07:00