Commit graph

202 commits

Author SHA1 Message Date
Manav Rathi 6b5859dca7 Funnel .tsx extensions via subfolders 2024-02-16 20:48:26 +05:30
Manav Rathi 3720abe0ed Integrate the actual one 2024-02-16 20:47:25 +05:30
Manav Rathi 3289d137bf forceConsistentCasingInFileNames is true by default with TS 5 2024-02-16 20:47:25 +05:30
Manav Rathi 632af065fe Add a working WIP example 2024-02-16 20:47:25 +05:30
Manav Rathi 7263969953 Make src work with next
- The star in package.json matches any version
  https://docs.npmjs.com/cli/v10/configuring-npm/package-json

- VSCode is still giving errors
2024-02-16 20:47:25 +05:30
Manav Rathi 3fad0427a7 Next.js does not use Babel (at least for single file) anymore
> Compiling using Next.js compiler instead of Babel is enabled by default since v12

https://nextjs.org/docs/architecture/nextjs-compiler
2024-02-16 20:47:25 +05:30
Manav Rathi f3340db57e Make it work with src 2024-02-16 20:47:25 +05:30
Manav Rathi c87aca72ad Use yarn add @ente-io/utils@'file:packages/utils'
The version field is still required, but we can additionally add a private for
both semantic signalling and preventing this from being published to npm.
2024-02-16 20:47:25 +05:30
Manav Rathi 3aa0f4d0b8 Make it work with yarn workspace 2024-02-16 20:47:25 +05:30
Manav Rathi 9723f818e0 Add tsconfig 2024-02-16 20:47:25 +05:30
Manav Rathi c56f11fb8f Scaffold utils project 2024-02-16 20:47:25 +05:30
Neeraj Gupta 5d7d166976 Merge branch 'main' into accounts-passkeys 2024-02-16 14:53:04 +05:30
Manav Rathi 6797dde517
Unify and prune environment variables (#1613) 2024-02-14 18:13:00 +05:30
Manav Rathi 6e7e214d01 Improve comment 2024-02-13 13:17:13 +05:30
Manav Rathi c2523c695d Mimic an approach that also works with the desktop app build 2024-02-13 13:14:31 +05:30
Manav Rathi 07faec7851 Improve readability 2024-02-13 12:12:48 +05:30
Manav Rathi bf70857a41 Don't initialize Sentry on dev builds 2024-02-13 12:11:14 +05:30
Manav Rathi 8a769ea08b Specify the release in Sentry.init instead of the webpack plugin 2024-02-13 11:25:31 +05:30
Neeraj Gupta de163b79db
Merge branch 'main' into cast 2024-02-13 09:35:00 +05:30
Manav Rathi 39034474ba Include the git SHA in the logs 2024-02-12 19:04:40 +05:30
Manav Rathi 54cbbfb722 Fix the release string 2024-02-10 23:00:25 +05:30
Manav Rathi dc68659104 Go back to using a .properties 2024-02-10 22:24:07 +05:30
Manav Rathi e8dfbdd581 Fix source maps 2024-02-10 21:34:24 +05:30
Manav Rathi d54ff83bba Resurrect SENTRY_AUTH_TOKEN 2024-02-10 19:47:59 +05:30
Manav Rathi c34654e995 Further prune down Sentry 2024-02-10 17:38:33 +05:30
Manav Rathi 0119cddd50 Prune 2024-02-10 17:26:23 +05:30
Manav Rathi 36e76626cd Unconditionally use environment overrides 2024-02-10 16:11:19 +05:30
Manav Rathi fc695eff75 Rename Deployment to Build
Perhaps (perhaps) this better conveys the fact that the build itself is a static
entity that doesn't and cannot change after deployment.
2024-02-10 15:33:10 +05:30
Manav Rathi 3ad29a504c Move to a singular flag
This might not be enough if we also want to cater for development desktop
builds, but let's start with this and add them back later if needed.
2024-02-10 15:32:15 +05:30
Manav Rathi c921399540 WIP 2024-02-10 15:21:06 +05:30
Manav Rathi 88b4aa02c7 Inline constant 2024-02-09 13:33:18 +05:30
Manav Rathi 9289bbd0d0 Reduce Sentry DSN noise
We don't need to customize this, so reduce all the indirection and dance around it.
2024-02-09 13:32:28 +05:30
httpjamesm 9852e3cf37
Merge branch 'main' 2024-02-08 16:04:28 -05:00
httpjamesm ad1fab8edb
feat: getAccountsURL() 2024-02-08 15:42:51 -05:00
Manav Rathi 7225071b64 Remove unused LS_KEYS.API_ENDPOINT
This is currently unused. We can resurrect this at a later point when we could
want to make the API we connect to dynamically changable within the app settings
itself, but right now that won't be trivial (e.g. mixing credentials across
instances). So just removing this.
2024-02-08 14:24:57 +05:30
Manav Rathi 6a1c82429a Remove unused auth-url 2024-02-07 12:51:56 +05:30
Neeraj Gupta 87ce124eb4 Build fix 2024-02-01 18:06:58 +05:30
Neeraj Gupta 4bbf79c321 Fix collection refresh and token revokation 2024-01-29 18:09:47 +05:30
Neeraj Gupta 18c3369fc0 Revoke active casts 2024-01-29 17:19:01 +05:30
Neeraj Gupta f39e095168 Fix handling of wrong pin 2024-01-29 15:50:01 +05:30
Neeraj Gupta 89f8e2f564 Update based on new API spec 2024-01-29 15:15:30 +05:30
Neeraj Gupta 61a7d2cbbb Remove duplicate method 2024-01-29 13:17:54 +05:30
Neeraj Gupta 57e415f5c9 Remove unused code 2024-01-29 11:45:15 +05:30
Neeraj Gupta 6e4d17cdb9 Clean up code 2024-01-29 11:41:58 +05:30
Neeraj Gupta 36cad03c71 Merge branch 'main' into cast 2024-01-29 11:09:58 +05:30
Neeraj Gupta 25959246b1 Undo redundant change 2024-01-29 11:02:56 +05:30
Neeraj Gupta 7cd7676cb0 Fix file download 2024-01-29 10:40:31 +05:30
Neeraj Gupta 68bfe9118a Switch to castGateway API 2024-01-28 02:07:27 +05:30
Abhinav 6735075880 add comment 2024-01-24 13:35:00 +05:30
Abhinav 49c4331f81 make searchWorker setFiles useEffect SingleThreaded 2024-01-24 11:44:53 +05:30