Commit graph

24160 commits

Author SHA1 Message Date
vishnukvmd
d8541e6a46 Remove special casing for background execution 2024-02-18 11:02:07 +05:30
vishnukvmd
c821d6e2a5 Rely on MLController for firing all events 2024-02-18 11:01:04 +05:30
vishnukvmd
7eb490ced4 Make sure completer is only completed once 2024-02-18 10:53:47 +05:30
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
Vishnu Mohandas
248130b5a0
Update build to use Node20 (#1727)
Update build to use Node20
2024-02-17 21:54:42 +05:30
laurenspriem
bf73e04a4c Update build to use Node20 2024-02-17 16:09:13 +01:00
vishnukvmd
bbb1caa313 Configure App to use MachineLearningController 2024-02-17 18:52:21 +05:30
vishnukvmd
b87e40429f Pause machine learning if device is not healthy 2024-02-17 18:47:38 +05:30
vishnukvmd
2bb5730791 Listen to device health stats 2024-02-17 18:40:20 +05:30
vishnukvmd
5094e1a4be Move semantic_search into machine_learning 2024-02-17 18:10:30 +05:30
vishnukvmd
86e0842d2b Add dependency on battery_info 2024-02-17 18:08:27 +05:30
Vishnu Mohandas
ad14269af1
Do not block on user interactions in the background (#1726) 2024-02-17 15:41:54 +05:30
vishnukvmd
5da4ff8d52 resume -> start 2024-02-17 15:35:58 +05:30
Vishnu Mohandas
25d127bac2
Merge branch 'main' into bg_indexing 2024-02-17 15:33:16 +05:30
vishnukvmd
7708c38ef5 Do not block on user interactions in the background 2024-02-17 15:32:53 +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
Vishnu Mohandas
de0fd5aa27
Fix formatting (#1725) 2024-02-17 14:04:13 +05:30
Vishnu Mohandas
5f8a11a911
Merge branch 'main' into fix_typo 2024-02-17 13:59:53 +05:30
vishnukvmd
5050767de1 Fix formatting 2024-02-17 13:59:11 +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
Manav Rathi
8939ea2463 Add type checking to the next config 2024-02-17 12:17:36 +05:30
Manav Rathi
675bd9657b
Fix build (#1628) 2024-02-17 11:17:18 +05:30
Manav Rathi
5c2b57a657 Fix build 2024-02-17 11:16:50 +05:30
Manav Rathi
58fc035fae Prune gitignore 2024-02-17 10:39:11 +05:30
Vishnu Mohandas
db72fdcfa7
README tweaks (#1624)
README tweaks
2024-02-17 10:28:41 +05:30
Manav Rathi
2a1bd2c13e README tweaks 2024-02-17 10:24:28 +05:30
Neeraj Gupta
d434b6fc56
Remove .turbo directories (#1623) 2024-02-17 10:22:57 +05:30
Neeraj Gupta
e3019b6a40
[Draft] Passkey Fixes (#1617) 2024-02-17 10:14:18 +05:30
Manav Rathi
1b94609060
Use GitHub's integrated CodeQL analysis instead of a custom workflow (#1622) 2024-02-17 09:51:53 +05:30
Manav Rathi
28fcee9464 Use GitHub's integrated CodeQL analysis instead of a custom workflow
https://github.blog/2023-01-09-default-setup-a-new-way-to-enable-github-code-scanning/
2024-02-17 09:50:18 +05:30
Manav Rathi
8e80563db9
Remove Turbo (#1621) 2024-02-17 09:47:07 +05:30
Manav Rathi
64d5834b6a Remove Turbo
- yarn classic workspaces already do what we need

- The main benefit of turbo, the cache, is already disabled on dev builds. On
  production builds, turbo doesn't support `next build` (this is mentioned in
  Vercel's docs).

- We're not using their remote cache

- Maybe there is a monorepo size when the yarn workspace approach gets
  unwieldly, but I feel we're not near that point.

Will bring it back if it gets missed.
2024-02-17 09:21:25 +05:30
Manav Rathi
51f127cccd
Add a utils package (#1620) 2024-02-16 22:07:04 +05:30
Manav Rathi
5b67316720 Update docs
Ref: https://www.joshuakgoldberg.com/blog/configuring-eslint-prettier-and-typescript-together/
2024-02-16 22:05:56 +05:30
Manav Rathi
242bb5a890 Remove debugging code 2024-02-16 21:58:42 +05:30
Manav Rathi
a99903e3e9 next export is deprecated in Next 14 2024-02-16 21:45:02 +05:30
Vishnu Mohandas
f9dfc8d4d1
Fix typo (#1724) 2024-02-16 21:20:04 +05:30
Manav Rathi
97ff657ba6 Add a lint-fix command 2024-02-16 20:48:26 +05:30
Manav Rathi
779d3b4e8a Update yarn.lock after rebasing from main 2024-02-16 20:48:26 +05:30
Manav Rathi
82fbe55e5a Remove debugging package 2024-02-16 20:48:26 +05:30