Manav Rathi
d1069dcfbb
Dig a gully on the side
2024-04-19 16:06:33 +05:30
Manav Rathi
bf3d04fc12
Deeper
2024-04-19 16:01:05 +05:30
Manav Rathi
de783b6158
Seep in paths
2024-04-19 15:54:42 +05:30
Manav Rathi
41aeb63465
Fix lint issues
...
unrelated to this PR, come from https://github.com/ente-io/ente/pull/1479
2024-04-19 15:02:09 +05:30
Manav Rathi
82c365b2db
Inline
2024-04-19 14:49:24 +05:30
Manav Rathi
5f87dce547
Inline
2024-04-19 14:47:44 +05:30
Manav Rathi
643d028ffc
Inline
2024-04-19 14:44:29 +05:30
Manav Rathi
7ed6e729f5
Inline
2024-04-19 14:37:35 +05:30
Manav Rathi
2b35d586c1
Inline
2024-04-19 14:33:54 +05:30
Manav Rathi
292084c00d
Inline
2024-04-19 14:32:09 +05:30
Manav Rathi
0509aad4af
Remove unused prop
2024-04-19 14:15:53 +05:30
Manav Rathi
f59ecdb8d8
Reword
2024-04-19 14:14:48 +05:30
Manav Rathi
2c46be6ded
async
2024-04-19 13:46:09 +05:30
Manav Rathi
967ef2e3ea
[desktop] Watch refactoring to get it work with new IPC ( #1486 )
2024-04-19 13:09:40 +05:30
Manav Rathi
5be1b07c71
Remove noise on logout
2024-04-19 12:50:57 +05:30
Manav Rathi
57d09c08d4
Only load when in electron
2024-04-19 12:47:16 +05:30
Manav Rathi
00173bae1e
Fix type
2024-04-19 12:46:10 +05:30
Manav Rathi
1b3c38d91f
Lintable
2024-04-19 12:40:19 +05:30
Manav Rathi
f3e1abfaa1
Tie loops
2024-04-19 12:34:09 +05:30
Manav Rathi
9d7f056883
Some shape
2024-04-19 12:03:00 +05:30
Manav Rathi
f24fd98bc3
Sculpt
2024-04-19 11:22:02 +05:30
Manav Rathi
722cc74e64
Club
2024-04-19 10:27:18 +05:30
Manav Rathi
0e9703f770
Event listeners
2024-04-19 10:16:46 +05:30
Manav Rathi
500bac0b32
Prune happens on the node side now
2024-04-19 09:26:28 +05:30
Manav Rathi
46ac8968e8
Localize global state
2024-04-19 09:12:45 +05:30
Manav Rathi
b49cb9dec2
Update add/rm
2024-04-18 21:32:15 +05:30
Manav Rathi
a9ccec6398
The remaining 2
2024-04-18 21:26:05 +05:30
Manav Rathi
76053c4029
impl
2024-04-18 21:07:00 +05:30
laurenspriem
31aa46ead2
[desktop] Better blur detection service
2024-04-18 20:41:28 +05:30
Manav Rathi
14285b66ae
Seep deeper
2024-04-18 18:45:02 +05:30
Manav Rathi
4455bb9595
API on electron side
2024-04-18 18:31:38 +05:30
Manav Rathi
275b763648
Work towards it
2024-04-18 16:18:01 +05:30
Manav Rathi
8a728abffe
Envision the API
2024-04-18 15:31:22 +05:30
Manav Rathi
c90cd258ec
Deduce
2024-04-18 15:05:39 +05:30
Manav Rathi
9d4a76a642
Compose
2024-04-18 14:46:13 +05:30
Manav Rathi
9e35469bdc
Emulate basename and dirname
2024-04-18 14:42:52 +05:30
Manav Rathi
4fd9ecba56
Abstraction
2024-04-18 14:13:55 +05:30
Manav Rathi
e9e17e6ea3
Handle dotfiles
2024-04-18 14:10:43 +05:30
Manav Rathi
ca29c81394
Don't need much
2024-04-18 13:59:00 +05:30
Manav Rathi
9c336a38c0
path mainp
2024-04-18 13:47:46 +05:30
Manav Rathi
518d573add
Improve docs
2024-04-18 13:23:20 +05:30
Manav Rathi
532824b3d5
Spruce types
2024-04-18 12:53:47 +05:30
Manav Rathi
04f32d64f1
Unclass
2024-04-18 12:00:01 +05:30
Manav Rathi
4d80dc3af9
Interface for pending uploads
2024-04-18 11:51:14 +05:30
Manav Rathi
7bf5c0ad5c
Continue refactoring
2024-04-17 21:51:17 +05:30
Manav Rathi
cdc45e9fcc
Remove old types
2024-04-17 20:56:58 +05:30
Manav Rathi
acec41f526
More renaming - wip
2024-04-17 20:56:00 +05:30
Manav Rathi
ca5b98b8d2
Enum to type - wip
2024-04-17 20:32:21 +05:30
Manav Rathi
739c541f5d
Terminology
2024-04-17 19:44:39 +05:30
Manav Rathi
f21ccd4935
Rearrange
2024-04-17 19:38:07 +05:30
Manav Rathi
170ea0c997
Cleanup
2024-04-17 19:21:40 +05:30
Manav Rathi
a22423d039
WIP 2
2024-04-17 17:00:51 +05:30
Manav Rathi
52c35108ca
WIP 1
2024-04-17 15:51:51 +05:30
Manav Rathi
2051ccee46
List files alternate
2024-04-17 14:48:03 +05:30
Manav Rathi
ee89506923
Unlegacy isDir
2024-04-17 14:27:48 +05:30
Manav Rathi
00c400f682
Reword
2024-04-17 14:19:11 +05:30
Manav Rathi
4971099da9
Merge
2024-04-17 13:41:10 +05:30
Manav Rathi
75e07353be
Thank you tsc
2024-04-17 12:38:52 +05:30
Manav Rathi
df483b0755
lint
2024-04-17 12:37:18 +05:30
Manav Rathi
184ba91a2d
Refactor
2024-04-17 12:34:00 +05:30
Manav Rathi
652be207be
Update another place
2024-04-17 12:11:08 +05:30
Manav Rathi
fb1d2c800a
Dedup
2024-04-17 12:07:15 +05:30
Manav Rathi
871cb417d6
Replace
2024-04-17 12:03:45 +05:30
Manav Rathi
27a2b087c7
Elaborate
2024-04-17 12:01:54 +05:30
Manav Rathi
2d5ab044ee
Docs
2024-04-17 11:55:07 +05:30
Manav Rathi
637d830f19
Replace encodelivephoto
2024-04-17 11:51:35 +05:30
Manav Rathi
3172104578
Start using @/media's version
2024-04-17 10:08:08 +05:30
Manav Rathi
4b9446a9b0
Create a package to share code between photos and cast
2024-04-17 09:47:28 +05:30
Manav Rathi
d80358552f
Trim spaces for more forgiving copy paste
2024-04-16 21:02:57 +05:30
Manav Rathi
c98d5a3e40
Filter out files with HEIC previews
2024-04-16 21:00:47 +05:30
Manav Rathi
2dd705d7f7
Not better not worse
2024-04-16 20:49:47 +05:30
Manav Rathi
0a248e5ce5
Prepare
2024-04-16 20:22:12 +05:30
Manav Rathi
598a885df2
Refactor
...
This doesn't fix the initial gap, functionality is still the same, but the flow
is now easier to understand.
2024-04-16 20:17:28 +05:30
Manav Rathi
138b775c13
At a more opportune place
2024-04-16 19:57:08 +05:30
Manav Rathi
2bb3e152f8
Precache
2024-04-16 19:54:00 +05:30
Manav Rathi
f78e4d3914
Fix live photo cast
2024-04-16 19:42:53 +05:30
Manav Rathi
f775890af7
Rename on the renderer side
2024-04-16 16:35:30 +05:30
Manav Rathi
9a6f3133b1
Reduce API
2024-04-16 16:17:27 +05:30
Manav Rathi
afec29d6e7
Inline and spruce
2024-04-16 15:54:28 +05:30
Manav Rathi
8fbff7e3a3
Inline
2024-04-16 15:33:47 +05:30
Manav Rathi
96ea996401
Inline
2024-04-16 15:29:56 +05:30
Manav Rathi
cf889b24af
Inline
2024-04-16 15:28:23 +05:30
Manav Rathi
cd4b2a6810
Inline
2024-04-16 15:26:35 +05:30
Manav Rathi
415fa79271
[desktop] Make export work with the new IPC ( #1461 )
...
There is one piece of the puzzle still missing - the files are being
sent wholesale instead of being streamed - and this might cause memory
issues. I haven't benchmarked yet, leaving this until we get some
response from the upstream issue
https://github.com/electron/electron/issues/41872 (hopefully it's just
some thing I missed).
But otherwise, ran export on a trivial library and it worked fine, so
everything is at least hooked up properly now.
2024-04-16 15:12:34 +05:30
Manav Rathi
2403c19f70
Add a temporary fallback
2024-04-16 14:50:25 +05:30
Manav Rathi
450e494a5e
Throwing darts
2024-04-16 11:34:34 +05:30
Manav Rathi
2bc22f472e
[web] New translations ( #1455 )
...
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web )
2024-04-16 11:27:16 +05:30
Manav Rathi
81d1563c3d
Also reproducible on latest beta
2024-04-16 10:17:51 +05:30
Manav Rathi
1e202a76c4
Works if we don't stream
2024-04-16 09:39:43 +05:30
Manav Rathi
d7b0beb949
[web] Clear search bar state when value is falsey
...
Updates https://github.com/ente-io/ente/pull/1453 so that we also clear the
existing state by calling the setFoo methods even when value is falsey.
2024-04-16 09:03:35 +05:30
Crowdin Bot
0f4624e829
New Crowdin translations by GitHub Action
2024-04-16 01:37:39 +00:00
Manav Rathi
2577cfe2f1
Replace cast with @ts-expect-error
2024-04-15 21:43:38 +05:30
Manav Rathi
020ed59d40
[web] Fix dev mode error on search input ( #1453 )
...
## Description
Ran into error after clearing search bar of queries by hitting
backspace.
> The error is shown below
> Thank you to the team for considering
## Tests
**Error**
![Screenshot 2024-04-15
184234](https://github.com/ente-io/ente/assets/82031202/f5f9845c-9420-4746-998b-2c67136d69cd )
**Fix**
Fixed by wrapping the line-causing error around by an `if` block.
2024-04-15 20:50:06 +05:30
daviddeepan
09c07e58e6
search-input runtime-error fix
2024-04-15 19:54:33 +05:30
Manav Rathi
83d2644bf4
Fix double slashing
2024-04-15 19:43:30 +05:30
Manav Rathi
67aacf8391
Replace everywhere
2024-04-15 19:40:50 +05:30
Manav Rathi
c99c4ac839
Use new method
2024-04-15 19:35:19 +05:30
Manav Rathi
6b331612b6
writeStream
2024-04-15 18:39:08 +05:30
Manav Rathi
a74d904989
Use a test stream
...
Example taken from https://developer.chrome.com/docs/capabilities/web-apis/fetch-streaming-requests
2024-04-15 16:00:25 +05:30
Manav Rathi
8cdb31783b
Enhance
2024-04-15 15:57:57 +05:30
Manav Rathi
2a425b0f9b
Add duplex parameter to a streaming request
...
Attempt to solve the following error in the browser's console when trying to
make the request:
[error] download and save failed: TypeError: Failed to construct 'Request':
The `duplex` member must be specified for a request with a streaming body
2024-04-15 14:22:00 +05:30
Manav Rathi
9eab93cfdf
Suppress webpack's critical dependency warnings for libheif
...
Supressing it for now since it obscures other important information in the console.
Upstream issue, which currently doesn't have a workaround:
https://github.com/catdad-experiments/libheif-js/issues/23
Full error message:
⚠ ../../node_modules/libheif-js/libheif-wasm/libheif-bundle.js
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
Import trace for requested module:
../../node_modules/libheif-js/libheif-wasm/libheif-bundle.js
../../node_modules/libheif-js/wasm-bundle.js
../../node_modules/heic-decode/index.js
../../node_modules/heic-convert/index.js
./src/worker/convert.worker.ts
./src/utils/comlink/ComlinkConvertWorker.ts
./src/services/heic-convert/service.ts
...
Refs:
- https://stackoverflow.com/questions/38392697/webpack-umd-critical-dependency-cannot-be-statically-extracted
2024-04-15 13:47:46 +05:30
Manav Rathi
89b832d21f
Baby's first steps
2024-04-15 12:47:55 +05:30
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
896cf0f785
Disable full file caches for now
...
This is only needed for ML indexing, let us revisit this once the ML flow is
done instead of adding a premature and possibly disk-space heavy optimization.
2024-04-15 11:50:23 +05:30
Manav Rathi
95c0f53d21
Preserve parameters
...
This was needed for the purchase success to be relayed back.
2024-04-15 10:59:07 +05:30
Manav Rathi
8d24a489f6
[desktop] Fix payment redirect
...
Fixes: https://github.com/ente-io/ente/issues/1440
There were two issues:
- It was a backward incompatible change to change the scheme from ente:// to
next://. Revert.
- We also need to setup a top level redirect when the user presses back without
making any changes to their subscription.
**Tested by**
Running payments app and desktop app locally, and verifying that after
interactions with the payments endpoint we go back to the desktop app's actual
contents correctly.
2024-04-15 10:47:14 +05:30
Manav Rathi
bcfd144ce9
[web] Use the public link origin provided by the server
...
When implementing https://github.com/ente-io/ente/pull/1443 it was found that
the Photos web app wasnt' using the sharedCollectionUrl prefix that is returned
by the server. Instead, it was using NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT as the
baseHost, while mobile client completely rely on the server for returning the
correct hostUrl.
**Tested by**
Running against the modified server, and verifying that changes to
apps.public-albums were being used.
2024-04-15 09:57:01 +05:30
Manav Rathi
18ac361688
Remove unused IPC method
2024-04-14 20:11:25 +05:30
Manav Rathi
87077417a2
Remove dup
2024-04-14 20:07:17 +05:30
Manav Rathi
d0ac3ea9ca
Remove newly dead code
2024-04-14 20:00:59 +05:30
Manav Rathi
a5f9fdd10d
Restructure selection
2024-04-14 19:59:13 +05:30
Manav Rathi
881a963fde
Inline
2024-04-14 19:46:26 +05:30
Manav Rathi
f9560ec533
Inline
2024-04-14 19:43:31 +05:30
Manav Rathi
22616bb77d
Remove top level error suppressors
2024-04-14 19:42:30 +05:30
Manav Rathi
4d19c46d7c
Replace exception handling for control flow
2024-04-14 19:39:35 +05:30
Manav Rathi
cc323905d5
Another
2024-04-14 19:33:49 +05:30
Manav Rathi
fca4b2aca6
Use also for the image
2024-04-14 19:29:22 +05:30
Manav Rathi
c4ac5e39a2
Refactor
2024-04-14 19:25:01 +05:30
Manav Rathi
28574e516d
[desktop] Fix export related IPC - Part 3/x ( #1439 )
2024-04-14 19:04:38 +05:30
Manav Rathi
22f221d481
Extract
2024-04-14 18:36:36 +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
adb37f38e4
Shorten
2024-04-14 10:31:45 +05:30
Manav Rathi
14922b65f8
Inline
2024-04-14 10:28:27 +05:30
Manav Rathi
7438c3301e
Move mkdirIfNeeded into fs
2024-04-14 10:25:28 +05:30
Manav Rathi
0e8678715a
Remove layer
2024-04-14 10:03:16 +05:30
Manav Rathi
3824ebe91a
Remove exportService indirection
2024-04-14 09:57:58 +05:30
Manav Rathi
ea34eebfc9
Remove implicit electron dependency
2024-04-14 09:53:18 +05:30
Manav Rathi
eeb1952585
Use
2024-04-14 09:30:51 +05:30
Manav Rathi
72dd47fa7b
Audit rename
2024-04-14 09:27:52 +05:30
Manav Rathi
38db03c3a0
Start giving it more power
2024-04-13 21:50:56 +05:30
Manav Rathi
e268b9204e
Inline
2024-04-13 21:46:34 +05:30
Manav Rathi
acd50bb172
Inline
2024-04-13 21:39:36 +05:30
Manav Rathi
28d559bd84
Hoist
2024-04-13 21:35:58 +05:30
Manav Rathi
e87c7ed108
Inline
2024-04-13 21:34:37 +05:30
Manav Rathi
67a81f8d86
Dedup
2024-04-13 21:31:36 +05:30
Manav Rathi
30f147ec5b
Update jsdoc
2024-04-13 21:26:00 +05:30
Manav Rathi
6829d0bf15
Remove unused
2024-04-13 21:24:52 +05:30
Manav Rathi
d03b265eb4
Captialize
...
We've been capitalizing the name at places where we can. This name is only used
when creating new exports, and shouldn't effect existing export, so it is safe
to change.
2024-04-13 21:21:48 +05:30
Manav Rathi
297ca09535
Refactor and extract
2024-04-13 21:20:20 +05:30
Manav Rathi
82bbb1c6dd
Cleanup and document
2024-04-13 21:06:47 +05:30
Manav Rathi
4fbfbf0aa0
Cleanup
2024-04-13 20:53:35 +05:30
Manav Rathi
56d04066ea
sfn
2024-04-13 20:38:29 +05:30
Manav Rathi
7838f7484d
Make explicit
2024-04-13 20:29:17 +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
e07559c8da
Fix oopsie
2024-04-13 18:41:47 +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
4f764dc77c
Consolidate constants
2024-04-13 18:27:40 +05:30
Manav Rathi
63a2ca7606
Fix lint
2024-04-13 18:24:57 +05:30
Manav Rathi
eb995f4354
Split
2024-04-13 18:20:40 +05:30
Manav Rathi
37cb2aaaf9
Refactor
2024-04-13 18:09:32 +05:30
Manav Rathi
1ffa905f99
Inline 2
2024-04-13 17:00:50 +05:30
Manav Rathi
07fa5cb83d
Inline 2
2024-04-13 16:59:47 +05:30
Manav Rathi
c90ba63aad
Inline 1
2024-04-13 16:57:04 +05:30
Manav Rathi
284d7920b3
Inline 2
2024-04-13 16:54:26 +05:30
Manav Rathi
ca114a467d
Inline 1
2024-04-13 16:50:23 +05:30
Manav Rathi
f7e961e86b
Inline
2024-04-13 16:44:55 +05:30
Manav Rathi
7deb0dca8e
Fix lint
2024-04-13 13:17:42 +05:30
Manav Rathi
f2d3ec74a1
Granular migration
2024-04-13 13:12:16 +05:30
Manav Rathi
0f3b28a425
Revert "Recreate ML db"
...
This partially reverts commit 95a0e80c5b
.
2024-04-13 12:56:21 +05:30
Manav Rathi
95a0e80c5b
Recreate ML db
2024-04-13 12:46:48 +05:30
Manav Rathi
b50f8a8212
Promise
2024-04-13 10:35:20 +05:30
Manav Rathi
edd9c94d73
URL => id, which is what it is
2024-04-13 10:32:40 +05:30
Manav Rathi
d0dc8b1320
Dedup
2024-04-13 10:22:24 +05:30
Manav Rathi
c0d95edac8
Inline 2
2024-04-13 10:19:16 +05:30
Manav Rathi
f7ba28d1fb
Inline 1
2024-04-13 10:17:58 +05:30
Manav Rathi
eef9bf1f26
Inline
2024-04-13 10:16:08 +05:30
Manav Rathi
75e693186a
Inline
2024-04-13 10:14:35 +05:30
Manav Rathi
02abe24213
Detect ML search status
2024-04-13 10:00:22 +05:30
Manav Rathi
5082124aa5
Cleanup
2024-04-13 09:44:06 +05:30
Manav Rathi
997c74d064
res2
2024-04-13 09:39:29 +05:30
Manav Rathi
9cf57c847e
Rely on global uncaught handler to log
2024-04-13 09:34:49 +05:30
Manav Rathi
9aaf6098b7
Use new APIs for file
2024-04-13 09:08:13 +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
999f7e45c9
Remove unused param
2024-04-13 08:34:57 +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
6a3f4baed3
Enhance
2024-04-13 07:30:32 +05:30
Manav Rathi
6cd795e29c
Create alternate code path
2024-04-13 07:19:28 +05:30
Manav Rathi
b5096b02da
Remove unused knob
...
Ref:
- https://www.typescriptlang.org/docs/handbook/2/classes.html#parameter-properties
2024-04-13 06:56:46 +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
b061b618e7
Tweaks
2024-04-12 16:16:02 +05:30
Manav Rathi
55632fff64
Use new method
2024-04-12 16:11:34 +05:30
Manav Rathi
401f879424
Consolidate
2024-04-12 16:08:36 +05:30
Manav Rathi
b36175a779
user
2024-04-12 15:40:24 +05:30
Manav Rathi
158186290c
Inline
2024-04-12 15:03:53 +05:30
Manav Rathi
15b601b0ff
Inline and prune
2024-04-12 14:53:11 +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
Manav Rathi
a80ed32bc3
[web] New translations ( #1419 )
...
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web )
2024-04-12 13:20:52 +05:30
Manav Rathi
3e9bbacd2f
[docs] Add a FAQ for album sharing on self hosted instances
2024-04-12 11:30:35 +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
61143c9c62
Cleanup
2024-04-11 16:36:56 +05:30
Manav Rathi
33c84f7a08
Prevent undefined errors
2024-04-11 16:27:27 +05:30
Manav Rathi
320db9f8b7
Fix the putEmbeddings API calls for now
2024-04-11 16:22:38 +05:30
Manav Rathi
e58e96091f
Ignore (expected) errors when trying to cache face crops
2024-04-11 16:15:08 +05:30
Manav Rathi
ef4462553c
Fix incorrect typecheck that fails on undefined
2024-04-11 15:35:25 +05:30
Manav Rathi
ff66a2f44c
The ML code runs in workers
2024-04-11 15:27:02 +05:30
Manav Rathi
33e3265db6
Migration for existing configs
2024-04-11 15:21:21 +05:30
Manav Rathi
52727f2255
Also move the embedding
2024-04-11 15:04:18 +05:30
Manav Rathi
9ff4989d81
Cleanup
2024-04-11 14:44:00 +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
Manav Rathi
2bb9e77e34
Remove unused code
2024-04-11 13:46:34 +05:30
Manav Rathi
6d769773cc
tsc
2024-04-11 12:42:18 +05:30
Manav Rathi
d0ffb83d90
Restore
2024-04-11 12:40:49 +05:30
Manav Rathi
6091ad9cfd
Remove search UI integration
2024-04-11 12:36:37 +05:30
Manav Rathi
4fff855070
lint-fix
2024-04-11 12:31:42 +05:30
Manav Rathi
e52d17dcfc
Last tf
2024-04-11 12:30:07 +05:30
Manav Rathi
485a1e0be4
Remove unused code that required tensorflow
2024-04-11 12:29:06 +05:30
Manav Rathi
da5edc610f
Remove more tf
2024-04-11 12:24:03 +05:30
Manav Rathi
1f8ebc0bca
Inline
2024-04-11 12:22:09 +05:30
Manav Rathi
e57e44c139
Inline
2024-04-11 12:14:59 +05:30
Manav Rathi
6ba5852876
Prune
2024-04-11 12:10:02 +05:30
Manav Rathi
38e9e901f6
Inline
2024-04-11 12:06:50 +05:30
Manav Rathi
79a975a281
Remove various unused util methods
2024-04-11 12:05:09 +05:30
Manav Rathi
ce566f522d
Prune
2024-04-11 11:59:36 +05:30
Manav Rathi
d2e7925c63
Prune
2024-04-11 11:47:07 +05:30
Manav Rathi
006ea085fe
Prune
2024-04-11 11:43:05 +05:30
Manav Rathi
03df858dcc
Remove ssdMobileNetV2
2024-04-11 11:23:23 +05:30
Manav Rathi
da3b58661a
Remove blazeface
2024-04-11 11:21:19 +05:30
Manav Rathi
e6905577c6
Remove blazeface-back
2024-04-11 11:17:15 +05:30
Manav Rathi
e7902c5d83
Remove more tf
2024-04-11 11:15:15 +05:30
Manav Rathi
3182d67ca1
Remove tf utils
2024-04-11 11:13:52 +05:30
Manav Rathi
1ad5cb83f9
Remove object detection related code
2024-04-11 11:09:32 +05:30
Manav Rathi
b6e1c4d3da
Inline
2024-04-10 21:36:43 +05:30
Manav Rathi
0ee416c91b
git rm -r apps/photos/public/js/{tesseract,tfjs,tflite}
2024-04-10 21:32:22 +05:30
Manav Rathi
3e8d88caf2
git rm -r apps/photos/public/models
2024-04-10 21:31:06 +05:30
Manav Rathi
52342a23cb
Remove tensorflow packages
...
yarn workspace photos remove "@tensorflow-models/coco-ssd" "@tensorflow/tfjs-backend-cpu" "@tensorflow/tfjs-backend-webgl" "@tensorflow/tfjs-converter" "@tensorflow/tfjs-core" "@tensorflow/tfjs-tflite"
2024-04-10 21:29:23 +05:30
Manav Rathi
18937581a5
Lint fixes
2024-04-10 16:41:26 +05:30
Neeraj Gupta
eefac7fd01
[web] Import the scaffolding to sync face embeddings from web_face_v2
...
This PR cherry picks Neeraj's ML related changes from the web_face_v2 branch.
Similar to https://github.com/ente-io/ente/pull/1399 , this gets us one step
closer to integrating ONNX-YOLO with our desktop app. But it is not currently in
a usable state (The web app's functionality remains untouched).
2024-04-10 16:38:12 +05:30
Manav Rathi
6fc82ff062
[web] Import ONNX-YOLO face changes from the web_face branch ( #1399 )
...
Laurens has made the relevant changes to get ONNX-YOLO face detection
working in a manner where the generated embeddings are the same as what
get generated by the corresponding ML stack in the mobile client.
This PR cherry picks his ML related changes from the branch he was
working in, but leaves out the surrounding scaffolding (We cannot merge
that branch directly because it relies on wasm that we don't need and
don't want to commit to main).
At this point this functionality is correct but not usable - the next
step will be to tie this to the ONNX runtime that we already have on the
Node.js layer of our desktop app.
**Tests**
- yarn dev + smoke test
- yarn build + smoke test
- yarn lint
2024-04-10 15:36:03 +05:30
Manav Rathi
45d22d5863
Undo concurrency change
2024-04-10 15:34:21 +05:30
Manav Rathi
71e839e9c4
Remove unused minFaceSize
2024-04-10 14:52:23 +05:30
laurenspriem
3eb95bd822
Import ONNX-YOLO face changes from the web_face branch
...
Laurens has made the relevant changes to get ONNX-YOLO face detection working in
a manner where the generated embeddings are the same as what get generated by
the corresponding ML stack in the mobile client.
This commit cherry picks his ML related changes from the branch he was working
in, but leaves out the surrounding scaffolding (We cannot merge that branch
directly because it relies on wasm that we don't need and don't want to commit
to main).
At this point this functionality is correct but not usable - the next step will
be to tie this to the ONNX runtime that we already have on the Node.js layer of
our desktop app.
2024-04-10 14:41:59 +05:30
Manav Rathi
5eda8fd464
Log in other apps too
2024-04-10 13:09:14 +05:30
Manav Rathi
e0fe018f34
Log on unhandled errors and promise rejections
...
Test code:
useEffect(() => {
setTimeout(() => testFunctionSync(), 5000);
}, []);
useEffect(() => {
testFunction();
}, []);
const testFunctionSync = () => {
console.log("sleeping not");
// sleep(2000);
console.log("woke up not");
throw new Error("Handle me");
};
const testFunction = async () => {
console.log("sleeping");
sleep(2000);
console.log("woke up");
throw new Error("Handle me");
};
Refs:
- https://developer.mozilla.org/en-US/docs/Web/API/Window/unhandledrejection_event
- https://github.com/megahertz/electron-log/blob/master/src/renderer/lib/RendererErrorHandler.js
2024-04-10 13:05:00 +05:30
Manav Rathi
af79f4f0c9
Audit app update functions
2024-04-10 12:32:43 +05:30
Manav Rathi
3c7277a0b1
onMainWindowFocus
2024-04-10 11:16:21 +05:30
Manav Rathi
170aef9b30
Rename
2024-04-10 11:06:18 +05:30
Manav Rathi
8bcf77b7f7
IPC keys
2024-04-10 11:03:36 +05:30
Manav Rathi
18606b2358
IPC cleanup
2024-04-10 10:18:06 +05:30
Manav Rathi
d828bcb071
[web] Fix SSR build
...
Fixes the following error on the nightly build
Error: Attempting to assert globalThis.electron in a non-electron context
at r (/home/runner/work/ente/ente/web/apps/photos/.next/server/chunks/676.js:1:25418)
...
> Build error occurred
Error: Failed to collect page data for /gallery
at /home/runner/work/ente/ente/web/node_modules/next/dist/build/utils.js:1258:15 {
type: 'Error'
}
2024-04-10 09:53:30 +05:30
Manav Rathi
1214b4ddc3
Web enum cleanup
2024-04-09 21:12:00 +05:30
Manav Rathi
a813de5617
Only ONNX, web
2024-04-09 20:53:08 +05:30
Manav Rathi
b76b57d07e
Bye GGML web
2024-04-09 20:07:11 +05:30
Manav Rathi
67e39daff5
Cleanup
2024-04-09 19:59:31 +05:30
Manav Rathi
b02600cb42
Rename
2024-04-09 19:26:20 +05:30
Manav Rathi
b937102cda
A more apropos link
2024-04-09 16:22:02 +05:30
Manav Rathi
544e6be3fd
Document
2024-04-09 15:38:59 +05:30
Manav Rathi
4f76cfb912
[web] New translations ( #1380 )
...
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web )
2024-04-09 13:23:39 +05:30
Manav Rathi
b0fbd68d27
Fix errors
2024-04-09 13:13:37 +05:30
Manav Rathi
9127c48787
Remove duplicate files
2024-04-09 12:45:37 +05:30
Manav Rathi
5edca461f7
Final touches
2024-04-09 12:39:37 +05:30
Manav Rathi
4aa3d68e36
Wrap the assertion
2024-04-09 12:36:25 +05:30
Manav Rathi
c729516faf
Final stretch
2024-04-09 12:21:32 +05:30
Manav Rathi
56ce5c0b0e
More transition
2024-04-09 12:17:33 +05:30
Manav Rathi
d441418b5b
Remove deprecated loggers
2024-04-09 12:06:46 +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
2b7aa372bd
Switch
2024-04-09 10:33:54 +05:30
Manav Rathi
72dea7eca6
Start using it
2024-04-09 09:53:28 +05:30
Manav Rathi
54a973c457
Expose on the globalThis
...
Note that the filename of the .d.ts has to be different from any existing file!
https://stackoverflow.com/questions/59728371/typescript-d-ts-file-not-recognized
2024-04-09 09:37:43 +05:30
Crowdin Bot
7dee92f44e
New Crowdin translations by GitHub Action
2024-04-09 01:37:23 +00:00
Manav Rathi
59bda25be2
Fix log entry format
2024-04-08 21:00:05 +05:30
Manav Rathi
f92a4c2a6e
Fix errors
2024-04-08 20:57:13 +05:30
Manav Rathi
92a3650696
Dedup comlink
2024-04-08 20:53:27 +05:30
Manav Rathi
a1c9ceae6b
Add temporary gateways
2024-04-08 20:47:47 +05:30
Manav Rathi
3e3712efb3
Transition
2024-04-08 20:43:42 +05:30
Manav Rathi
5339b1aa89
Merge
2024-04-08 20:39:53 +05:30
Manav Rathi
0be549c91b
Transition
2024-04-08 20:21:49 +05:30
Manav Rathi
826cacd6bf
Reroute
2024-04-08 20:00:24 +05:30
Manav Rathi
90a770c619
WIP
2024-04-08 18:09:08 +05:30
Manav Rathi
f4f041552f
Move electron API types to lower layer
2024-04-08 16:51:48 +05:30
Manav Rathi
18e47b3d4e
Synchronize startup banners
2024-04-08 14:09:59 +05:30
Manav Rathi
84d21984e0
Test complete
...
Tested logging from both worker (in web app) and when running in Electron.
Refs:
- https://github.com/GoogleChromeLabs/comlink/issues/506
- https://github.com/GoogleChromeLabs/comlink/issues/568
2024-04-08 13:16:50 +05:30
Manav Rathi
da9a704094
fixing logging in workers WIP 2
2024-04-08 12:52:10 +05:30
Manav Rathi
a96ad6dfa2
WIP
2024-04-08 12:40:03 +05:30
Crowdin Bot
b3842dab04
New Crowdin translations by GitHub Action
2024-04-08 04:09:44 +00:00
Manav Rathi
7913d5ec2e
lint
2024-04-08 09:37:08 +05:30
Manav Rathi
0b3165b812
Remove unused
2024-04-07 10:58:19 +05:30
Manav Rathi
99579fbf51
Inline
2024-04-07 10:56:15 +05:30
Manav Rathi
75d041dd9c
Inline
2024-04-07 10:53:34 +05:30
Manav Rathi
d992085dbd
Inline
2024-04-07 10:49:31 +05:30
Manav Rathi
cb6cfee9a3
Inline
2024-04-07 10:49:04 +05:30
Manav Rathi
60321111c2
Remove isCanvasBlocked checker
...
We don't really support running without canvas access, we need it for image
manipulation. The firefox feature seems poorly implemented -
https://bugzilla.mozilla.org/show_bug.cgi?id=1429865 - and if someone _really_
wishes to not add an exclusion for our open source web app, then they can
download our desktop app.
2024-04-07 10:45:30 +05:30
Manav Rathi
49b5bff042
Inline
2024-04-07 10:29:00 +05:30
Manav Rathi
7c0ab6dd8a
Remove l11n unsafe direct string manipulation
2024-04-07 10:23:20 +05:30
Manav Rathi
01e6e79819
Cannot be a compile time constant
2024-04-07 10:18:30 +05:30
Manav Rathi
e5b2d737b4
Clean up environment detection code
2024-04-07 10:03:28 +05:30
Manav Rathi
3cb51184b3
[web] Add required transitive dependency of MUI datepicker
...
Previously this was coming from react-datepicker that was otherwise unused and thus removed.
Use the same major version as we had previously.
Ref:
https://stackoverflow.com/questions/71037974/module-not-found-error-cant-resolve-date-fns-adddays-in-c-users
2024-04-07 09:26:52 +05:30
Manav Rathi
d317da6536
Remove unused package react-datepicker
...
+ another unused type
+ an transitive from code
2024-04-07 08:42:27 +05:30
Manav Rathi
0071182721
Revert "Attempt to reenable tsc"
...
This reverts commit 5700b101b2
. We still need to
fix it in photos before re-enabling this.
2024-04-07 08:28:13 +05:30
Manav Rathi
5700b101b2
Attempt to reenable tsc
...
Partially reverts 6333792d64
2024-04-07 08:25:16 +05:30
Manav Rathi
02207ca96c
Remove unused ffmpeg from cast
2024-04-07 08:18:36 +05:30
Manav Rathi
4b074f4475
Fix the CSS for cast
2024-04-06 19:15:42 +05:30
Manav Rathi
b650372d35
Cleanupxs
2024-04-06 19:09:02 +05:30
Crowdin Bot
e779ae5189
New Crowdin translations by GitHub Action
2024-04-06 07:12:09 +00:00
Manav Rathi
568f4540e3
Remove scripts
...
It has done its job, let it rest in peace
2024-04-06 12:12:15 +05:30
Manav Rathi
6bff42ad9b
Remove unused keys
2024-04-06 12:11:29 +05:30
Manav Rathi
d00211964b
Improve heuristic
2024-04-06 11:45:05 +05:30
Manav Rathi
8695f46b43
Improve script for finding unused keys
2024-04-06 11:43:56 +05:30
Manav Rathi
8020d83ced
Fix crowdin paths
2024-04-06 11:30:31 +05:30
Manav Rathi
121df66ada
Cleanup
2024-04-06 11:19:14 +05:30
Manav Rathi
a98a29800b
[web] Bundle translations but load them lazily
...
Refs:
- https://github.com/i18next/i18next-resources-to-backend
- https://stackoverflow.com/questions/77251750/how-to-implement-lazy-loading-translations-in-i18next-with-react
- https://github.com/i18next/react-i18next/issues/525
- https://gist.github.com/SimeonC/6a738467c691eef7f21ebf96918cd95f
- https://www.i18next.com/overview/plugins-and-utils
2024-04-06 11:06:29 +05:30
Manav Rathi
6333792d64
Temporarily disable tsc on CI
2024-04-05 22:03:39 +05:30
Manav Rathi
69bd822499
Attempt to fix tsc warning on CI
...
Error: src/services/wasm/ffmpeg.ts(6,38): error TS2307: Cannot find module 'ffmpeg-wasm' or its corresponding type declarations.
2024-04-05 21:59:18 +05:30
Manav Rathi
6a31331ac4
Fix lint issue when running on CI
...
> cast
$ /home/runner/work/ente/ente/web/node_modules/.bin/tsc
Error: src/components/FilledCircleCheck/index.tsx(2,20): error TS2307: Cannot find module './FilledCircleCheck.module.scss' or its corresponding type declarations.
2024-04-05 21:56:46 +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
10b0d9f533
Fix the yarn lint
2024-04-05 21:22:44 +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
5c313fb87d
tsc when linting
2024-04-05 21:10:20 +05:30
Manav Rathi
411984ebdc
Fix lint errors
2024-04-05 21:09:47 +05:30
Manav Rathi
cf27f3236c
lint-fix
2024-04-05 20:48:23 +05:30
Manav Rathi
42a59f2fb5
Consolidate and deduplicate
2024-04-05 20:35:22 +05:30
Manav Rathi
7807d3a413
Inline
2024-04-05 20:03:23 +05:30
Manav Rathi
461430a972
Move up from shared
2024-04-05 20:01:28 +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
e680970cdf
Inline
2024-04-05 19:58:45 +05:30
Manav Rathi
63387d8819
Use regular image
...
This is the only place we were using next/image
2024-04-05 19:58:45 +05:30
Manav Rathi
356ad6f004
Use regular link
...
Removing unnecessary dependencies on next specific components
2024-04-05 19:58:45 +05:30
Manav Rathi
ae51531bd0
[web] Uncomment accidentally activated env vars for localhost defaults
2024-04-05 17:08:47 +05:30
Manav Rathi
0d48284b4f
[web] Remove leftover console log
2024-04-05 11:33:57 +05:30
Manav Rathi
e0cfa36f08
Use the implementation instead of the accidental infinite loop
2024-04-05 10:51:04 +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
9785bbcb26
We don't have full web app support yet
...
Plus, Apple doesn't do much for PWAs anyway. One reason for removing this until
we test it out in actuality is because there were reports of the semi-PWA
caching causing issues.
2024-04-05 09:38:48 +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
866b52b002
Inline constant
2024-04-05 09:26:30 +05:30
Manav Rathi
2c098904fb
Inline
2024-04-05 09:13:38 +05:30
Manav Rathi
a68dce35f6
Remove unused knob
2024-04-05 09:08:56 +05:30
Manav Rathi
1d0f30ad91
These values were never customized
2024-04-05 09:08:02 +05:30
Manav Rathi
ae061d2a44
fetch
2024-04-04 16:19:46 +05:30
Manav Rathi
d9d03d8451
Add schema validation of the response
2024-04-04 16:12:39 +05:30
Manav Rathi
e53c923675
Lint fix + update URL
2024-04-04 15:44:03 +05:30
Manav Rathi
39228270c1
Deploy
2024-04-04 15:40:17 +05:30
Manav Rathi
384ec365e8
Add starter staff app
2024-04-04 15:25:38 +05:30
Manav Rathi
29550317f7
Enable the jsx-runtime plugin for vite's ESLint
...
This prevents it complaining about a missing React import.
Enabling this is recommended by the vite starter itself:
> Install
[eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react ) and
add `plugin:react/recommended` & `plugin:react/jsx-runtime` to the `extends`
list
2024-04-04 14:46:41 +05:30
Manav Rathi
608cb6c85e
Prevent double rendering in strict mode
...
The double invocation during dev mode, while harmless, is confusing, so add an
additional small check to insure this only runs once.
2024-04-04 14:25:04 +05:30
Manav Rathi
712b99b8f3
Fix lint issue
2024-04-04 14:15:42 +05:30
Manav Rathi
935e47fbca
Fix the payments eslint
2024-04-04 14:10:16 +05:30
Manav Rathi
fcb26d39f1
Don't need default export
2024-04-04 14:02:31 +05:30
Manav Rathi
ff6d0d32cf
Remove unused 404 handler
...
The default appType == 'spa' in vite redirects all (unclaimed) paths to /index.html.
If needed, this can be disabled:
https://stackoverflow.com/questions/69701743/how-can-i-configure-vites-dev-server-to-give-404-errors/69711988#69711988
2024-04-04 13:58:30 +05:30
Manav Rathi
756050ae8c
Fix compilation
2024-04-04 13:02:08 +05:30
Manav Rathi
87dc7d76ca
Remove middleman package, to get it to compile
2024-04-04 11:36:20 +05:30
Manav Rathi
4255e48abb
Convert payments app to use Vite - Part 1
...
(Doesn't compile)
2024-04-04 11:10:34 +05:30
Manav Rathi
a8a5cc8b59
Inline spinner
2024-04-04 09:55:52 +05:30
Manav Rathi
949a42004f
Remove the need for a separate page
2024-04-04 09:53:11 +05:30
Manav Rathi
56d500f4e8
Keep React in scope
2024-04-03 21:41:03 +05:30
Manav Rathi
7a41ba43a5
Another cleanup of billing-service
2024-04-03 21:32:38 +05:30
Manav Rathi
7a729183e2
Cleanup the pages
2024-04-03 20:03:02 +05:30
Manav Rathi
aa5422db6c
Clean up CSS
2024-04-03 19:54:16 +05:30
Manav Rathi
c0fee7bc91
Clean up strings
2024-04-03 19:51:01 +05:30
Manav Rathi
1411ca6fad
Continue refactoring
2024-04-03 19:46:15 +05:30
Manav Rathi
d0f1bbfca7
Refactor billing service
2024-04-03 17:22:00 +05:30
Manav Rathi
8a00f1b85f
Remove custom errors indirection
2024-04-03 15:45:20 +05:30
Manav Rathi
f10f751a2f
Inline local storage calls
...
The methods are trivial, and we cannot centralize the keys since they will be
different for different apps. So an abstraction for this is not beneficial.
Also move the next specific dev build check to @/next
2024-04-03 14:21:11 +05:30
Manav Rathi
d28daece8a
ignorePatters seems to be inherited (as we wished) when extending
2024-04-03 13:48:41 +05:30
Manav Rathi
24bce96d71
Shorten
2024-04-03 13:44:30 +05:30
Manav Rathi
ad6dea2ecb
prettier markdown
2024-04-03 13:39:44 +05:30
Manav Rathi
212dcfb88a
Tinker
2024-04-03 13:32:05 +05:30
Manav Rathi
a689aca4a6
Remove the eslint stuff from docs
...
(trying to remove the eslint-disables throughout)
2024-04-03 13:26:46 +05:30
Manav Rathi
e2fd88bff0
Remove (possibly) unnecessary tsconfigRootDir
...
Let's see what breaks
2024-04-03 13:15:12 +05:30
Manav Rathi
764b6bf2f3
Move react setup to react specific file
2024-04-03 13:02:09 +05:30
Manav Rathi
b3a86874db
yarn.lock
2024-04-02 20:47:35 +05:30
Manav Rathi
5c1ed5be8f
Restructure eslint config
2024-04-02 20:44:57 +05:30
Manav Rathi
14fde54d87
Not really
2024-04-02 20:04:23 +05:30
Manav Rathi
26b35cec9e
Merge @/ui into @/next
2024-04-02 19:58:42 +05:30
Manav Rathi
6213628aee
[web] Prefer .local files for local only configuration ( #1280 )
...
Refs: https://vitejs.dev/guide/env-and-mode.html
2024-04-02 17:22:32 +05:30
Manav Rathi
cc90dd7ba5
[web] Enable Russian
...
The translation percentage of Russian in crowdin is now 100%, it's time to
enable it as an option in the UI.
A big thank you to the translators.
2024-04-02 17:16:33 +05:30
Manav Rathi
9cb289e002
[desktop] Prevent the desktop app from getting stuck on viewing openstreetmap info
...
Open the link in a new tab. This prevents the desktop app from getting into a
state where the user cannot navigate back.
2024-04-02 17:05:23 +05:30
Crowdin Bot
ce5627f04c
New Crowdin translations by GitHub Action
2024-04-02 11:28:47 +00:00
Manav Rathi
2e7dcc6bc2
Make the cast link clickable
2024-04-02 16:51:27 +05:30
Manav Rathi
0e1bdfe07e
Support arbitrary ReactNodes as title
2024-04-02 14:38:37 +05:30
Manav Rathi
b95fc54adb
[web] Prefer .local files for local only configuration
...
Refs:
https://vitejs.dev/guide/env-and-mode.html
2024-04-01 19:59:02 +05:30