Commit Graph

28 Commits

Author SHA1 Message Date
Manav Rathi
96cd6b3759 rl3 2024-05-15 12:48:33 +05:30
Manav Rathi
0bcc6e3f3f Redo logout 2024-05-15 11:46:37 +05:30
Manav Rathi
902074022a ff
This reverts commit 6568cb19a9.
2024-05-10 22:22:39 +05:30
Manav Rathi
69193e374c Wait for i18n loaded before accessing messages 2024-04-28 15:51:45 +05:30
Manav Rathi
5eda8fd464 Log in other apps too 2024-04-10 13:09:14 +05:30
Manav Rathi
0d0e20f7c4 More manual tweaks 2024-04-09 11:58:44 +05:30
Manav Rathi
1dc8f4617e log.error regex replacement
- logError\(e, (".+")\);
- log.error($1, e);

+ a whole bunch of manual tweakings
2024-04-09 11:32:34 +05:30
Manav Rathi
90a770c619 WIP 2024-04-08 18:09:08 +05:30
Manav Rathi
18e47b3d4e Synchronize startup banners 2024-04-08 14:09:59 +05:30
Manav Rathi
121df66ada Cleanup 2024-04-06 11:19:14 +05:30
Manav Rathi
e16834e52e Remove unused styled jsx tag
This caused the lint to fail on CI

    > auth
    $ /home/runner/work/ente/ente/web/node_modules/.bin/tsc
    Error: src/pages/auth/index.tsx(125,20): error TS2322: Type '{ children: string; jsx: true; }' is not assignable to type 'ClassAttributes<HTMLStyleElement> & StyleHTMLAttributes<HTMLStyleElement> & { css?: Interpolation<Theme>; }'.
      Property 'jsx' does not exist on type 'ClassAttributes<HTMLStyleElement> & StyleHTMLAttributes<HTMLStyleElement> & { css?: Interpolation<Theme>; }'.
    error Command failed with exit code 2.

From reading the code, this CSS doesn't seem to be coming into effect. Then I
also did a test to verify that the auth app is correctly switching to a 2 column
layout even without this.
2024-04-05 21:39:52 +05:30
Manav Rathi
791cc61ca7 Fix more leftover issues 2024-04-05 21:18:26 +05:30
Manav Rathi
7a674dcf95 lint-fix 2024-04-05 21:10:59 +05:30
Manav Rathi
411984ebdc Fix lint errors 2024-04-05 21:09:47 +05:30
Manav Rathi
0b39759ad9 Inline 2024-04-05 19:58:45 +05:30
Manav Rathi
fe6215d0fd Replace context entry with useRouter 2024-04-05 19:58:45 +05:30
Manav Rathi
fa7cbaea18 Remove custom _document
Looking towards a longer term transition out of next
2024-04-05 10:09:37 +05:30
Manav Rathi
039387a84e Initial-scale=1 is still recommended
Ref:
https://teamtreehouse.com/community/is-initialscale-not-needed
2024-04-05 09:36:18 +05:30
Manav Rathi
26b35cec9e Merge @/ui into @/next 2024-04-02 19:58:42 +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
f6abcafc83 Copy over fix into auth and accounts 2024-03-30 17:20:26 +05:30
Manav Rathi
4ff378cd06 [web] Update translations for the non-photos apps 2024-03-18 20:01:37 +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
Neeraj Gupta
638de0a769 [authw] Handle passkey finish redirect 2024-03-12 09:33:14 +05:30
Manav Rathi
e3826695c5 Remove the unnecessary console warning 2024-03-11 15:31:46 +05:30
Manav Rathi
d845be6691 Fix formatting for web 2024-03-04 15:23:38 +05:30
Manav Rathi
918e70b516 Update links to GitHub from within the apps 2024-03-03 18:08:11 +05:30
Manav Rathi
e15c7e1642 Move into web/ 2024-03-01 12:21:07 +05:30