Manav Rathi
3ea4879cf0
Remove text qualifier
...
The type already enforces that. And it reads better and the call sites this way.
2024-04-15 12:20:41 +05:30
Manav Rathi
73ef03a5d9
Move read/write whole files into fs
2024-04-15 12:17:33 +05:30
Manav Rathi
18ac361688
Remove unused IPC method
2024-04-14 20:11:25 +05:30
Manav Rathi
28574e516d
[desktop] Fix export related IPC - Part 3/x ( #1439 )
2024-04-14 19:04:38 +05:30
Manav Rathi
eb64a00ed2
Remove unnecessary checks
...
It is simpler for us to parallel the rm command than our bespoke variant.
2024-04-14 18:22:46 +05:30
Manav Rathi
59b9e3e586
Move into fs
2024-04-14 18:12:19 +05:30
daviddeepan
2a9060bd39
css-alignment-issue-page-gallery
2024-04-14 13:53:00 +05:30
Manav Rathi
7438c3301e
Move mkdirIfNeeded into fs
2024-04-14 10:25:28 +05:30
Manav Rathi
72dd47fa7b
Audit rename
2024-04-14 09:27:52 +05:30
Manav Rathi
297ca09535
Refactor and extract
2024-04-13 21:20:20 +05:30
Manav Rathi
4fbfbf0aa0
Cleanup
2024-04-13 20:53:35 +05:30
Manav Rathi
c7757cb08e
Prune more stale overrides
2024-04-13 18:54:15 +05:30
Manav Rathi
ce642e12c1
Remove stale disables
2024-04-13 18:50:12 +05:30
Manav Rathi
64231c73f1
[web] Add ESLint to enforce HMR how vite likes it
...
Configuration changes taken from the vite starter (react-ts).
From the vite docs (https://github.com/vitejs/vite-plugin-react-swc?tab=readme-ov-file#consistent-components-exports )
> For React refresh to work correctly, your file should only export React components.
>
> If an incompatible change in exports is found, the module will be invalidated.
> To make it easier to export simple constants alongside your component the module
> is only invalidated when their value changes.
While we're not currently using vite for our main apps, it would be worthwhile
to write code in a way that a future migration to it is painless if needed.
About the what and the why, the Gatsby docs are illuminating:
https://www.gatsbyjs.com/docs/reference/local-development/fast-refresh/#how-it-works
Some other refs:
- https://github.com/ArnaudBarre/eslint-plugin-react-refresh
- https://github.com/vitejs/vite/discussions/4577#discussioncomment-1161007
- https://github.com/vitejs/vite-plugin-react/issues/34
2024-04-13 18:38:24 +05:30
Manav Rathi
95a0e80c5b
Recreate ML db
2024-04-13 12:46:48 +05:30
Manav Rathi
75e693186a
Inline
2024-04-13 10:14:35 +05:30
Manav Rathi
5082124aa5
Cleanup
2024-04-13 09:44:06 +05:30
Manav Rathi
4055f02a1d
Cleaner
2024-04-13 08:52:37 +05:30
Manav Rathi
b32c13fe31
thumb2
2024-04-13 08:48:39 +05:30
Manav Rathi
c52fd4383c
Nicer delete
2024-04-13 08:43:01 +05:30
Manav Rathi
a86cdb1f1e
Interface
2024-04-13 08:40:08 +05:30
Manav Rathi
e8b779745d
put2
2024-04-13 08:33:13 +05:30
Manav Rathi
f2aee30f7c
get
2024-04-13 08:18:11 +05:30
Manav Rathi
db96a0eb1b
get
2024-04-13 08:12:38 +05:30
Manav Rathi
6d1f8b4728
Blobs it is
2024-04-13 08:04:43 +05:30
Manav Rathi
acedbdbe7d
Note
2024-04-13 07:42:24 +05:30
Manav Rathi
6cd795e29c
Create alternate code path
2024-04-13 07:19:28 +05:30
Manav Rathi
3499e47c88
Tweak
2024-04-13 06:47:43 +05:30
Manav Rathi
5ff01c40d8
poc implementation
2024-04-12 21:29:05 +05:30
Manav Rathi
295c0aa82e
Splinter
2024-04-12 21:12:37 +05:30
Manav Rathi
871a0e83cf
Fix
2024-04-12 20:59:15 +05:30
Manav Rathi
a56cf55ffa
Remove indirection
2024-04-12 20:58:00 +05:30
Manav Rathi
b056cf7f56
Move to newer shared package
2024-04-12 20:55:07 +05:30
Manav Rathi
a2a8be3b19
Scaffold the split
2024-04-12 20:52:33 +05:30
Manav Rathi
41472eb87d
Document and structure more
2024-04-12 20:24:48 +05:30
Manav Rathi
c691ad2ac1
Document the plan
2024-04-12 20:11:44 +05:30
Manav Rathi
36f9ca2004
Remove unused param
2024-04-12 19:53:23 +05:30
Manav Rathi
65c7cd2c05
[web] Various changes, moving towards fixing desktop caching ( #1424 )
...
The overall aim was to get the caching layer trimmed down to a point
where we can plug in OPFS into it for desktop. This PR doesn't have that
specific change, but it's just me gradually changing things, working
towards that.
2024-04-12 16:28:59 +05:30
Manav Rathi
b36175a779
user
2024-04-12 15:40:24 +05:30
Manav Rathi
c83dc87d5d
Inline the factory
2024-04-12 14:45:03 +05:30
Manav Rathi
495ff99874
Replace enum with TS type
2024-04-12 14:41:33 +05:30
Manav Rathi
cd3ff6f878
Delete is not needed outside
2024-04-12 14:32:50 +05:30
Manav Rathi
b447dedf83
Cache limit is usused
2024-04-12 14:26:41 +05:30
Manav Rathi
bdadc839e0
Remove firefox specific workaround
...
In a quick (but possibly incomplete) test I wasn't able to reproduce this in an
incognito window. Throwing the error from here has a potential for breaking
things though, I'll try to verify this as I go through the flows individually.
2024-04-12 14:23:56 +05:30
Crowdin Bot
ac534cf163
New Crowdin translations by GitHub Action
2024-04-12 01:37:37 +00:00
Manav Rathi
7fa9e924eb
Consolidate
2024-04-11 20:57:54 +05:30
Manav Rathi
320db9f8b7
Fix the putEmbeddings API calls for now
2024-04-11 16:22:38 +05:30
Manav Rathi
ff66a2f44c
The ML code runs in workers
2024-04-11 15:27:02 +05:30
Manav Rathi
a1d6ef43b4
Roundtrip
2024-04-11 14:37:44 +05:30
Manav Rathi
a88f551b6a
WIP IPC API
2024-04-11 13:58:52 +05:30