Commit graph

9716 commits

Author SHA1 Message Date
Manav Rathi
d152f08382
Remove the need for nested child selectors to workaround emotional (sic) issues (#1646) 2024-02-22 09:57:07 +05:30
Manav Rathi
b3ad2dc9ed Remove the need for nested child selectors to workaround emotional (sic) issues
This workaround was added in https://github.com/ente-io/photos-web/pull/1027,
but it has stopped working again, likely due to the update to Next 14. We're
only using nested child selectors in one place (not 100% sure of this, but I did
try to poke around and verify that statement a bit).

This was causing an error in dev mode, and silent failure in production mode.

- Hover state is restored
- dev mode seems to work fine
- yarn build also works
2024-02-22 09:51:31 +05:30
Manav Rathi
6dd6af3eb1
Fix yarn workspace photos add foo (#1645) 2024-02-21 21:25:13 +05:30
Manav Rathi
dd6d599150 Temporarily turn off some newly added warnings to allow lint to pass
These were introduced since we updated the eslint-package version.
2024-02-21 21:19:36 +05:30
Manav Rathi
c9bb6d443b Fix yarn workspace photos add foo
This was likely happening because the package versions in the top level
package.json and the eslint-config package.json were different. I've synced them
for now.

> On a longer time frame, the idea is not have such conflicting cases, and
remove mostly all the top level package.json dependencies and for the rest rely
on them solely being in the top level package.json and not duplicated in two
places.
2024-02-21 21:12:11 +05:30
Manav Rathi
5e2470f957
docs: Mention need to yarn install (#1644) 2024-02-21 17:20:52 +05:30
Manav Rathi
ee4cd922e4 Mention both dev and build 2024-02-21 17:20:09 +05:30
Manav Rathi
8def9d548c Mention need to yarn install 2024-02-21 17:18:55 +05:30
Manav Rathi
7cd6b8cad9
docs: Mention aliases (#1643) 2024-02-21 17:12:59 +05:30
Manav Rathi
b925ba273b docs: Mention aliases 2024-02-21 17:12:31 +05:30
Manav Rathi
ddc5076201
Update Sentry DSNs (#1642) 2024-02-21 14:07:16 +05:30
Manav Rathi
51869969e4 Also update project names (needed for sourcemap uploads) 2024-02-21 14:01:43 +05:30
Manav Rathi
164ee70943 Update Sentry DSNs 2024-02-21 13:53:49 +05:30
Manav Rathi
26db4c5f29
Remove dangling semicolon (#1640) 2024-02-20 14:58:55 +05:30
Manav Rathi
d12878cc3b Remove dangling semicolon
Fixes https://github.com/ente-io/auth/issues/462
2024-02-20 14:49:59 +05:30
Manav Rathi
76b547aa3e
Prepare cast - Part 2 (#1639) 2024-02-20 12:42:17 +05:30
Manav Rathi
b8640bee46 Prune API list 2024-02-20 12:36:36 +05:30
Manav Rathi
dfd789ab14 Use latest translations 2024-02-20 12:30:49 +05:30
Manav Rathi
440b665141 Bring up to date 2024-02-20 11:26:11 +05:30
Manav Rathi
4cb7cc1297 Use ts file naming conventions 2024-02-20 11:23:17 +05:30
Manav Rathi
fe1f70ce97 Add deployment notes 2024-02-20 11:22:22 +05:30
Manav Rathi
fe636e23bb Add deployment entry for cast 2024-02-20 11:18:28 +05:30
Manav Rathi
d5a2e7822b
Prepare cast for deployment from this same repo - Part 1 (#1638) 2024-02-20 11:09:52 +05:30
Manav Rathi
5bd904bc74 gitignore next-env.d.ts 2024-02-20 11:08:51 +05:30
Manav Rathi
5bf6d5d5ed Align package JSONs
yarn seems to require version for all workspaces, even if they are not imported (apps/*).
2024-02-20 10:58:53 +05:30
Manav Rathi
bd345c9583 Fix cast sentry 2024-02-20 10:52:17 +05:30
Manav Rathi
3db2673d2a Remove boilerplate READMEs 2024-02-20 10:36:50 +05:30
Manav Rathi
bc22a8a1a2 Rely on top level gitignore 2024-02-20 10:34:49 +05:30
Manav Rathi
623fb944a7 Inline the cast app id 2024-02-20 10:32:04 +05:30
Manav Rathi
f90038d246
Backfill accounts release into main (#1637)
Co-authored-by: Neeraj Gupta <neeraj.gupta983@gmail.com>
Co-authored-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2024-02-20 10:15:03 +05:30
Manav Rathi
c288a2bb84
Add type checking to the next config (#1636) 2024-02-20 09:50:53 +05:30
Manav Rathi
3279d5e10b
Further prune .gitignore (#1635) 2024-02-20 09:27:18 +05:30
Manav Rathi
311417a705 Further prune .gitignore 2024-02-20 09:24:17 +05:30
Manav Rathi
a8ec4f9112
Add a small (generic workflow) getting started doc (#1633) 2024-02-18 12:51:16 +05:30
Manav Rathi
56d931dfce Add a small (generic workflow) getting started doc 2024-02-18 12:46:56 +05:30
Manav Rathi
01f30d7fb1
docs: add webauthn passkeys (#1632) 2024-02-18 11:12:45 +05:30
httpjamesm
01beb4f6f0
docs: add webauthn passkeys 2024-02-18 00:41:04 -05:00
Manav Rathi
7bbd85b187 Reintroduce accidentally deleted line related to passkeys
I'm not sure if this was intentional, but it looks like the initialization of
`pkg` was accidentally deleted in e3019b6a40.
2024-02-18 09:46:58 +05:30
Manav Rathi
cbf107f1a4
Fix sourcemaps association (#1630) 2024-02-17 15:30:03 +05:30
Manav Rathi
54d93047ee Fix sourcemap association
We don't need to set `productionBrowserSourceMaps` because the Sentry Webpack
plugin always assumes that to be true.

- @sentry/nextjs withSentryConfig enables productionBrowserSourceMaps, in the
  end, assets sourcemap is open to the public
  https://github.com/vercel/next.js/discussions/32920

- @sentry/nextjs will generate and upload source maps automatically
  https://docs.sentry.io/platforms/javascript/guides/nextjs/sourcemaps/
2024-02-17 15:16:14 +05:30
Manav Rathi
7d0b7d9ef8 Emit source maps during production builds
Ref: https://nextjs.org/docs/pages/api-reference/next-config-js/productionBrowserSourceMaps
2024-02-17 14:44:48 +05:30
Manav Rathi
d984c6046c
Lint on PRs instead of relying on husky (#1629) 2024-02-17 13:18:34 +05:30
Manav Rathi
57ed3e6fd5 Prevent eslint from descending into out/
eslint already ignores node_modules and folders beginning with a dot
https://eslint.org/docs/latest/use/configure/ignore
2024-02-17 13:11:36 +05:30
Manav Rathi
ac834f405e prettier 2024-02-17 13:02:45 +05:30
Manav Rathi
96921e1845 Add a linting action for each PR 2024-02-17 13:02:15 +05:30
Manav Rathi
8fbe5fa323 Remove husky 2024-02-17 12:52:18 +05:30
Manav Rathi
ad494507cd Remove global .vscode 2024-02-17 12:49:33 +05:30
Manav Rathi
7c19954227 Remove possibly unnecessary yarnrc
This used to be an issue back then while downloading some packages, or so I've
heard, let us see if it is still one.
2024-02-17 12:47:18 +05:30
Manav Rathi
025ab13bcd Fix casing for Ente 2024-02-17 12:46:15 +05:30
Manav Rathi
357cbf66c8 Add type checking to the next config 2024-02-17 12:45:15 +05:30