Commit graph

232 commits

Author SHA1 Message Date
Manav Rathi 949a42004f
Remove the need for a separate page 2024-04-04 09:53:11 +05:30
Manav Rathi 56d500f4e8
Keep React in scope 2024-04-03 21:41:03 +05:30
Manav Rathi 7a41ba43a5
Another cleanup of billing-service 2024-04-03 21:32:38 +05:30
Manav Rathi 7a729183e2
Cleanup the pages 2024-04-03 20:03:02 +05:30
Manav Rathi aa5422db6c
Clean up CSS 2024-04-03 19:54:16 +05:30
Manav Rathi c0fee7bc91
Clean up strings 2024-04-03 19:51:01 +05:30
Manav Rathi 1411ca6fad
Continue refactoring 2024-04-03 19:46:15 +05:30
Manav Rathi d0f1bbfca7
Refactor billing service 2024-04-03 17:22:00 +05:30
Manav Rathi 8a00f1b85f
Remove custom errors indirection 2024-04-03 15:45:20 +05:30
Manav Rathi f10f751a2f
Inline local storage calls
The methods are trivial, and we cannot centralize the keys since they will be
different for different apps. So an abstraction for this is not beneficial.

Also move the next specific dev build check to @/next
2024-04-03 14:21:11 +05:30
Manav Rathi d28daece8a
ignorePatters seems to be inherited (as we wished) when extending 2024-04-03 13:48:41 +05:30
Manav Rathi 24bce96d71
Shorten 2024-04-03 13:44:30 +05:30
Manav Rathi ad6dea2ecb
prettier markdown 2024-04-03 13:39:44 +05:30
Manav Rathi 212dcfb88a
Tinker 2024-04-03 13:32:05 +05:30
Manav Rathi a689aca4a6
Remove the eslint stuff from docs
(trying to remove the eslint-disables throughout)
2024-04-03 13:26:46 +05:30
Manav Rathi e2fd88bff0
Remove (possibly) unnecessary tsconfigRootDir
Let's see what breaks
2024-04-03 13:15:12 +05:30
Manav Rathi 764b6bf2f3
Move react setup to react specific file 2024-04-03 13:02:09 +05:30
Manav Rathi b3a86874db
yarn.lock 2024-04-02 20:47:35 +05:30
Manav Rathi 5c1ed5be8f
Restructure eslint config 2024-04-02 20:44:57 +05:30
Manav Rathi 14fde54d87
Not really 2024-04-02 20:04:23 +05:30
Manav Rathi 26b35cec9e
Merge @/ui into @/next 2024-04-02 19:58:42 +05:30
Manav Rathi 6213628aee
[web] Prefer .local files for local only configuration (#1280)
Refs: https://vitejs.dev/guide/env-and-mode.html
2024-04-02 17:22:32 +05:30
Manav Rathi cc90dd7ba5
[web] Enable Russian
The translation percentage of Russian in crowdin is now 100%, it's time to
enable it as an option in the UI.

A big thank you to the translators.
2024-04-02 17:16:33 +05:30
Manav Rathi 9cb289e002
[desktop] Prevent the desktop app from getting stuck on viewing openstreetmap info
Open the link in a new tab. This prevents the desktop app from getting into a
state where the user cannot navigate back.
2024-04-02 17:05:23 +05:30
Crowdin Bot ce5627f04c New Crowdin translations by GitHub Action 2024-04-02 11:28:47 +00:00
Manav Rathi 2e7dcc6bc2
Make the cast link clickable 2024-04-02 16:51:27 +05:30
Manav Rathi 0e1bdfe07e
Support arbitrary ReactNodes as title 2024-04-02 14:38:37 +05:30
Manav Rathi b95fc54adb
[web] Prefer .local files for local only configuration
Refs:
https://vitejs.dev/guide/env-and-mode.html
2024-04-01 19:59:02 +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 d5f294980e
Remove use of emotion from payments 2024-04-01 17:08:54 +05:30
Manav Rathi 1e410a82f2
Remove stray use of @mui/system 2024-04-01 17:05:05 +05:30
Manav Rathi 3b3d314f9c
Remove stale import from styled-engine 2024-04-01 16:52:57 +05:30
Manav Rathi eced463f6f
Investigate and explain why component selectors don't work with Next vanilla
Refs:
- https://github.com/mui/material-ui/issues/27380#issuecomment-928973157
- https://codesandbox.io/s/hopeful-browser-4q17t5?file=/README.md
- https://mui.com/system/styled/#how-to-use-components-selector-api
- https://github.com/vercel/next.js/issues/46973
2024-04-01 16:43:10 +05:30
Manav Rathi 9b27cac465
Remove @emotion/server
It is not mentioned as a dependency in the SSR page

> For v10 and above, SSR just works in Next.js.
>
> https://emotion.sh/docs/ssr

Tested by - yarn dev, yarn preview:photos
2024-04-01 16:05:17 +05:30
Manav Rathi 7248a226bc
Remove bootstrap 2024-04-01 15:35:45 +05:30
Manav Rathi 8ae7ae2de9
Replace the Spinner in payments 2024-04-01 15:32:56 +05:30
Manav Rathi 28cf7d76d5
Even numbers don't seem to be kosher, only strings work 2024-04-01 15:13:43 +05:30
Manav Rathi c2957238da
Fix the date handling 2024-04-01 15:07:29 +05:30
Manav Rathi f9a2ec774a
Make it work with MUI components 2024-04-01 14:54:29 +05:30
Manav Rathi 0568cd03c9
Refactor somewhat
More to come
2024-04-01 13:07:36 +05:30
Manav Rathi 39bc68390f
Match the variable name 2024-04-01 10:49:28 +05:30
Manav Rathi 83dabfbdee
Refactor 2024-04-01 10:23:54 +05:30
Manav Rathi 35f2a6944e
Inline 2024-04-01 09:58:55 +05:30
Manav Rathi 18698d35bb
Replace in export progress 2024-03-31 21:43:24 +05:30
Manav Rathi 9e41b906a7
Swap progress bar 2024-03-31 21:38:26 +05:30
Manav Rathi 0f2181c09b
Remove more legacy ml code 2024-03-31 18:41:15 +05:30
Manav Rathi 707e14702e
Remove unused ML debug code 2024-03-31 18:34:00 +05:30
Manav Rathi f3a0240f1d
Remove more dead code
...that uses bootstrap instead of spending migration effort on it.
2024-03-31 18:23:05 +05:30
Manav Rathi e84b989484
Remove unused code
Came across this when trying to migrate off bootstrap in the few remaining
places, this code is unused and just removing it instead of doing a migration of
it to mui.
2024-03-31 18:19:48 +05:30
Manav Rathi 86e4cffb8e
Replace bootstrap buttons in fix time dialog 2024-03-31 18:16:57 +05:30