44 Commits

Author SHA1 Message Date
Manav Rathi
efa82b7fb7 Scaffold 2025-07-18 18:05:28 +05:30
Manav Rathi
a8c270433a Web deps 2025-07-02 15:33:35 +05:30
Manav Rathi
19d6f437e3 web deps 2025-06-19 14:34:55 +05:30
Manav Rathi
b567dddfc3 routine dep update 2025-06-02 19:26:47 +05:30
Manav Rathi
7b48dbc1ad Dep updates 2025-05-23 16:47:54 +05:30
Manav Rathi
d047e05bc8 Routine dependency updates 2025-04-30 19:43:33 +05:30
Manav Rathi
60b484a2ad Fix type errors by ensuring single react types 2025-04-09 07:51:43 +05:30
Manav Rathi
0b9242c527 Add web dockerfile 2025-03-19 09:47:23 +05:30
Manav Rathi
b6aefd1845 [web] Dependency updates 2025-03-07 18:21:05 +05:30
Manav Rathi
2cfc5d9c59 Unused 2025-02-19 09:58:25 +05:30
Manav Rathi
5752463360 Pin to 5.6 until the ArrayBufferLike regressions are resolved
e.g. https://github.com/microsoft/TypeScript/issues/60846, https://github.com/microsoft/TypeScript/issues/60579

Note that we can't also update the node types since we're using node 20.
2025-01-06 11:48:41 +05:30
Manav Rathi
c52a62d944 Update React 18 => 19, Next 14 => 15, MUI 5 => 6 (wip checkpoint) 2025-01-06 10:23:41 +05:30
Manav Rathi
e31b55499b Upd 2024-12-30 15:37:38 +05:30
Manav Rathi
17aa1b67c1 [web] Prettier upgrade 2024-12-30 14:10:54 +05:30
Manav Rathi
7c2b8422a8 Dot's no longer needed
From docs:

> If you are using a flat configuration file(eslint.config.js), you can also omit the file arguments and ESLint will use .
2024-11-20 07:45:25 +05:30
Manav Rathi
1b772b644a Move to config 2024-11-19 19:14:12 +05:30
Manav Rathi
143d346ed4 eslint migration wip checkpoint 2024-11-19 17:49:37 +05:30
Manav Rathi
daee8fb4f6 Update deps 2024-11-18 16:56:15 +05:30
Manav Rathi
37aa2af39d Fix 2024-11-06 09:31:52 +05:30
Manav Rathi
00791641a4 [web] Remove unused yarn invocations
These are in infra.
2024-11-06 09:28:19 +05:30
Manav Rathi
f3a3c68488 [web] Package updates 2024-09-11 11:13:25 +05:30
Manav Rathi
79cd1dd0d1 Another attempt at fixing react-select issues 2024-09-11 10:03:30 +05:30
Manav Rathi
3cc1f3e9d7 [web] Add workaround for dup emotion used by react-select
Ref: https://github.com/JedWatson/react-select/issues/5658
2024-09-11 09:15:27 +05:30
Manav Rathi
d788ca28af Update 2024-08-23 14:35:19 +05:30
Manav Rathi
d1c9033866 [web-ish] yarn 1.22.21 => 1.22.22 2024-06-18 10:56:37 +05:30
Manav Rathi
9660a1c32a Remove old deployment shortcuts 2024-06-07 10:59:45 +05:30
Manav Rathi
103d907781 [web] Fail to start if the port is taken
This prevents cases say where the web app is running in a terminal, but when we
try to run the desktop app it silently switches to a different and then failing
to load in a manner that is harder to debug compared to if it'd failed outright.

Ref:
- https://github.com/vercel/next.js/discussions/23932#discussioncomment-599284
2024-05-17 14:35:10 +05:30
Manav Rathi
8c2654e30a [web] Make corepack happy
Latest Node 20 (20.13.1) ships with an updated corepack which seems to insist
putting a package manager field in package.json
(https://github.com/nodejs/corepack/pull/413).

Let it have its way, hoping that this doesn't break someone's workflow
(depending on how they installed yarn without corepack or if they have a node
version that doesn't have corepack).
2024-05-16 15:43:02 +05:30
Manav Rathi
45183422e2 [web] Lint concurrently 2024-05-15 13:59:10 +05:30
Manav Rathi
6283cccac3 tsc when linting 2024-05-10 22:31:52 +05:30
Manav Rathi
6c716ad892 Tell prettier not to print the names of the files it processes 2024-05-01 08:30:35 +05:30
Manav Rathi
e07559c8da Fix oopsie 2024-04-13 18:41:47 +05:30
Manav Rathi
384ec365e8 Add starter staff app 2024-04-04 15:25:38 +05:30
Manav Rathi
4255e48abb Convert payments app to use Vite - Part 1
(Doesn't compile)
2024-04-04 11:10:34 +05:30
Manav Rathi
25e762ba57 Remove mui from list of transpiled packages
- I can't see this mentioned anywhere in the docs
- Removing it didn't break anything dev / preview
2024-04-01 17:13:06 +05:30
Manav Rathi
14e99ea26a Fix ports 2024-03-30 20:59:05 +05:30
Manav Rathi
5810d2b762 Add yarn preview:* 2024-03-30 18:06:58 +05:30
Manav Rathi
a06a93e73d Use 3001 for sidecars 2024-03-29 11:58:42 +05:30
Manav Rathi
06f1fa086e Fix dev 2024-03-28 11:56:05 +05:30
Manav Rathi
8f0ef055c5 [web] Make the imported payments code feel at home in the new monorepo
- Use the shared yarn monorepo configuration
- styled-components => emotion (since that's what the rest of the code uses)
- Remove Sentry (since it's gone elsewhere)
2024-03-28 11:40:22 +05:30
Manav Rathi
70cddfdf0b [web] Remove Sentry
Sentry has a measurable impact on page load, a metric that I'm keen to
improve. Apparently by default it loses us 8-9 page speed points, though that
can be reduced to 3-4
(https://github.com/getsentry/sentry-javascript/issues/9179).

All of this is doable, but there are bigger tasks to deal with. This is not to
say that Sentry won't be useful again at some point, when we have time to deal
with it better. But right now, we discussed that it's just better to remove
Sentry instead of piling on to the sunk cost.
2024-03-12 13:24:33 +05:30
Manav Rathi
d26d193a41 Update the URLs for opening new deployment PRs
Note that the three dot syntax is needed, the two dot compare doesn't open a pull request.

Ref:
- https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/using-query-parameters-to-create-a-pull-request
- https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-comparing-branches-in-pull-requests#three-dot-and-two-dot-git-diff-comparisons
2024-03-06 14:48:28 +05:30
Manav Rathi
7057b53d2c Add deployment shortcuts 2024-03-06 11:58:41 +05:30
Manav Rathi
e15c7e1642 Move into web/ 2024-03-01 12:21:07 +05:30