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
Manav Rathi
1d02fe4f32
Remove unused fix-large-thumbnail feature
...
This was disabled years ago. Specifically removing this now to reduce the amount
of work in removing bootstrap.
2024-03-31 18:07:17 +05:30
Manav Rathi
e5edeae370
Remove the bootstrap carousel
2024-03-31 18:01:38 +05:30
Manav Rathi
40a1da1ba7
Fine tune
2024-03-31 18:00:09 +05:30
Manav Rathi
5dfafa28c7
Almost there in terms of styling
2024-03-31 17:54:38 +05:30
Manav Rathi
d3df6b31ae
Use actual contents
2024-03-31 17:31:33 +05:30
Manav Rathi
145850a66e
Try using intrinsic size
2024-03-31 17:28:26 +05:30
Manav Rathi
6b56c28870
Mark vscode-styled-components optional
2024-03-31 17:07:48 +05:30
Manav Rathi
9ec68ecd3d
Mention vscode-styled-components
2024-03-31 17:04:38 +05:30
Manav Rathi
8c127a6cec
Animate
2024-03-31 16:47:10 +05:30
Manav Rathi
3890373d4a
Try pure-react-carousel as a replacement of bootstrap's Carousel
2024-03-31 16:45:46 +05:30
Manav Rathi
ee1eb75bdf
Extract component
2024-03-31 16:41:50 +05:30
Manav Rathi
14e99ea26a
Fix ports
2024-03-30 20:59:05 +05:30
Manav Rathi
7183a8b493
[web] Remove emotion caches
...
This is no longer needed for emotion > 10
> For v10 and above, SSR just works in Next.js.
>
> https://emotion.sh/docs/ssr#nextjs
Tested with
- yarn dev:*
- yarn preview:*
This change screws up the CSS in places in dev mode though.
2024-03-30 20:56:38 +05:30
Manav Rathi
5810d2b762
Add yarn preview:*
2024-03-30 18:06:58 +05:30
Manav Rathi
f6abcafc83
Copy over fix into auth and accounts
2024-03-30 17:20:26 +05:30
Manav Rathi
911cdd9448
Remove more dead code from cast
2024-03-29 22:37:42 +05:30
Manav Rathi
b4699ecfcb
Remove ElectronFile from cast
2024-03-29 22:26:50 +05:30
Manav Rathi
ded151241f
Remove more dead code from cast
2024-03-29 22:22:03 +05:30
Manav Rathi
3dfc3a6dba
Remove dead code from cast
2024-03-29 21:56:33 +05:30
Manav Rathi
7ef59bb4cc
Short circuit unused code
...
isFileEligibleForCast filters out isRawFileFromFileName. Specifically, it
filters out HEIC files. So getRenderableImage is a no-op.
2024-03-29 21:01:17 +05:30
Manav Rathi
049a240916
Remove dead code from cast
2024-03-29 20:54:10 +05:30
Manav Rathi
3fdf5f1e46
Remove dead cast code
2024-03-29 20:12:57 +05:30
Manav Rathi
9440b967c8
Remove the extra spaces being inserted when we copy paste
...
Ref:
- https://github.com/facebook/react/issues/1643
- https://stackoverflow.com/questions/10837063/display-text-with-spaces-that-are-not-copied
2024-03-29 17:10:51 +05:30
Manav Rathi
d22cf34a0e
Remove nesting
2024-03-29 16:18:49 +05:30
Manav Rathi
0d3662d9fe
Remove the 123456 below the actual code
...
It prevents copy pasting (and doesn't look too good either)
2024-03-29 16:03:34 +05:30
Manav Rathi
70e5e9b13c
[cast] Change slideshow time from 5s => 10s
2024-03-29 12:34:54 +05:30
Manav Rathi
949780d1e8
[cast] Use the placeholder as the placeholder, not as the label
2024-03-29 12:15:06 +05:30
Manav Rathi
a06a93e73d
Use 3001 for sidecars
2024-03-29 11:58:42 +05:30
Manav Rathi
1f6b9030ff
[web] Fix nightly build
...
This was accidentally an ancient version of axios when importing from the older
repo - update it to what the rest of the code uses (via the shared package).
2024-03-29 09:11:28 +05:30
Manav Rathi
055ebd0447
Fix leftover gunk
2024-03-28 17:44:27 +05:30
Manav Rathi
212b2663d0
Add payments deployment scripts
2024-03-28 17:42:54 +05:30