Commit graph

41 commits

Author SHA1 Message Date
d8cdc1c62a fix(Editor): add empty role picker help page and link 2021-07-09 04:30:34 -05:00
d39b9db781 feat: bot-join machinery redirect 2021-07-08 17:10:50 -05:00
ab3f718e6d
Feat/editor as preview (#294)
* try editor as preview

* add databinding for editor actions and message

* add actions, reordering base interactions

* add drag and drop ordering for categoriers

* category skeleton

* fix linting issues

* add role list and add button, non-functional

* bump packages

* add role search prototype

* yarn.lock sync

* fix lint

* remove cfw-emulator bin
2021-07-08 16:51:00 -05:00
7d681d69d6
Feat/editor category pass2 (#290)
* feat(design-system): add editor skeletons

* use css media queries rather than JS media queries

* init remake

* feat: add basis of toggle atom

* finish toggle

* use pointer cursor with toggle

* sync

* feat: add server message in editor

* cleanup storybook

* add short editor item and data model for categories

* chore: fix build by moving jest version downward

* chore: remove old category editor

* chore: fix EditorCategoryShort index

* add editor wiring and styling updates

* fix linting issues
2021-07-05 12:18:40 -05:00
a37d481b18 chore: downgrade ts-loader because webpack 4 2021-06-30 08:39:07 -04:00
10e095656f chore: update codestyle due to prettier/rule updates 2021-06-30 08:02:36 -04:00
ccff2684ad chore: bump packages 2021-06-30 07:37:35 -04:00
9ee7fb4878 chore: update npm packages 2021-03-24 05:31:49 -04:00
25055fc204 chore: update npm packages 2021-03-24 05:27:07 -04:00
dependabot[bot]
ff1a756b3d
chore(deps): bump @types/react-dom from 17.0.2 to 17.0.3 (#197)
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 17.0.2 to 17.0.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-03 18:00:14 -04:00
dependabot[bot]
db10cfdd30
chore(deps): bump @testing-library/jest-dom from 5.11.9 to 5.11.10 (#204)
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 5.11.9 to 5.11.10.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.11.9...v5.11.10)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-03 17:59:33 -04:00
dependabot[bot]
0a28c4f38c
chore(deps): bump @testing-library/user-event from 13.0.7 to 13.1.1 (#208)
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 13.0.7 to 13.1.1.
- [Release notes](https://github.com/testing-library/user-event/releases)
- [Changelog](https://github.com/testing-library/user-event/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/user-event/compare/v13.0.7...v13.1.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-03 17:59:21 -04:00
a9c94eefc3 chore(web): update index.html description for auto-embeds 2021-03-23 23:09:27 -04:00
884be92db3
chore: refactor BreakpointsProvider to use hooks (#199) 2021-03-23 23:01:01 -04:00
a5f819bc3e
feat(web): add error pages (#193) 2021-03-22 21:18:56 -04:00
f4165f8055 chore: update some dev packages 2021-03-22 00:22:57 -04:00
93d2dba8e8 chore: remove packages/web/yarn.lock as it was accidentally committed 2021-03-22 00:18:07 -04:00
a983492154 chore: bump npm packages 2021-03-19 15:27:09 -04:00
81b6de7f71
performance pass on /s/:id route (#183)
* chore(web): attempt a slightly faster unauthed /s/ load

* retype RouteWrapper
2021-03-15 20:22:18 -04:00
e0fcfc310e
feat: add skeleton masthead and generic loading page (#182)
* feat: add skeleton masthead and generic loading page

* add generic loader to picker page

* smooth out spinner, add no-motion state
2021-03-15 19:51:56 -04:00
fa85b30cf0 fix(web): new-session should load a new page rather than fix state 2021-03-14 19:47:54 -04:00
42323a46f6
Refactor SessionContext (#181)
* fix(web): refactor session context so it works more consistently

* add warning for when syncSession is locked but called again

* cd

* add tests to new-session
2021-03-14 19:20:30 -04:00
b6ae2abd2f chore: add postauthUrl link to skip broken auth flow 2021-03-14 16:44:28 -04:00
10522e73c2 chore: disable auth flow temporarily 2021-03-14 16:40:39 -04:00
fd02dad62b
Improve pre- and post-auth redirect flows (#180)
* fix(web): add /machinery/new-session/... route, start auth flow from there

* fix(api): change redirect to path-based format

* fix(api): remove extra / from login-callback redirect

* fix(web): /auth/login should skip flows if isAuthenticated is true
2021-03-14 16:28:51 -04:00
8fbf8f2519
feat(web): add /machinery/bot-join temporary page (#179)
* feat(web): add /machinery/bot-join temporary page

* add case for non-id'd bot-join route
2021-03-14 15:35:27 -04:00
0c586404e8
feat(web): add /machinery/logout (#177) 2021-03-14 15:09:52 -04:00
f24d2fcc99
chore: update prettier tab width for consistency (#175) 2021-03-13 22:54:34 -05:00
e7702fbcac chore: bump react-icons, @types/node 2021-03-13 21:23:58 -05:00
637be8bfa1
feat(web): add page titles (#170)
* feat(web): add page titles

* add html title
2021-03-13 21:17:00 -05:00
2d9d70734b
feat(web): do a cleanup pass over static HTML (#169) 2021-03-13 20:51:01 -05:00
99952aa19f
Feat/recent guilds (#89) (#167)
* feat(web): add server-setup page for when bot isn't in the server picked

* chore: move contexts into their own folder

* feat(web): add recent guilds context, and app shell helper context

* feat(web): show recent guilds in masthead

* feat(web): functionally add recents to servers list

* fix(web): correct styling for servers listing recents/all headers

* fix(web): correct some type issues with appShellProps

* fix(web): don't show ServerListing recents when recents is empty
2021-03-13 19:31:36 -05:00
3a36d7a85d feat(web): wire up discord auth button 2021-03-13 16:48:50 -05:00
0a399938d6 fix(web): simplify callbackHost builder 2021-03-13 16:28:01 -05:00
6edfe7455f chore: temporarily loosen CORS, add OAuth state info for backend bouncing 2021-03-13 15:49:36 -05:00
ed82a67594 fix(web): better define stage url matcher to prevent unexpected use-cases :) 2021-03-13 05:57:33 -05:00
2b467b8452 fix(web): api context should pass it's current hostname into API URL selector 2021-03-13 05:21:09 -05:00
fac361d277 chore(web): memoize default url since it'll mostly always be the same no matter what 2021-03-13 05:16:25 -05:00
a87ccd9c54 fix(web): getDefaultApiUrl should handle stage.roleypoly.com as stage 2021-03-13 04:55:20 -05:00
cd448b56c9
Reach parity with last web iteration. (#162)
* feat: add Api and Session contexts

* feat(web): add machinery/new-session

* feat(web): add servers page

* chore(web): AppRouter spacing/ordering

* feat(web): add picker, missing update-roles call for now

* feat(web): add picker saves

* chore: add roleTransactions tests

* feat(web): add auth/login
2021-03-13 04:42:07 -05:00
2ff6588030
Refactor node packages to yarn workspaces & ditch next.js for CRA. (#161)
* chore: restructure project into yarn workspaces, remove next

* fix tests, remove webapp from terraform

* remove more ui deployment bits

* remove pages, fix FUNDING.yml

* remove isomorphism

* remove next providers

* fix linting issues

* feat: start basis of new web ui system on CRA

* chore: move types to @roleypoly/types package

* chore: move src/common/utils to @roleypoly/misc-utils

* chore: remove roleypoly/ path remappers

* chore: renmove vercel config

* chore: re-add worker-types to api package

* chore: fix type linting scope for api

* fix(web): craco should include all of packages dir

* fix(ci): change api webpack path for wrangler

* chore: remove GAR actions from CI

* chore: update codeql job

* chore: test better github dar matcher in lint-staged
2021-03-12 18:04:49 -05:00