Commit graph

1493 commits

Author SHA1 Message Date
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 977da14e70 Namespace more 2024-02-10 16:19:06 +05:30
Manav Rathi 36e76626cd Unconditionally use environment overrides 2024-02-10 16:11:19 +05:30
Manav Rathi 1dac60aeb2 Namespace vars 2024-02-10 15:51:05 +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 c921399540 WIP 2024-02-10 15:21:06 +05:30
Manav Rathi badece4cce Understand a bit better 2024-02-10 10:36:58 +05:30
Manav Rathi 4c469c853a Update to latest DSNs 2024-02-09 16:33:23 +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
Manav Rathi 3ef34a4e97 Update the UI when deleting a subset of the duplicates
The list of photos shown on the dedup screen did not update if we selected a
subset of the duplicates and deleted them. This is because while we're issuing a
remote API request, we don't seem to be updating our local storage with the
results of that when we're on this screen. So when the gallery on this screen
re-renders, it still reads the same files again, even after they've been
deleted.

Not happy with the current solution, but it does solve the customers issue. Have
added an "Enhancement" tag to flag this.

Test:

I was able to reproduce the issue. After making these changes, I don't see it
anymore. Haven't done exhaustive checks, but it fixes the happy path at least.

Tested locally.
2024-02-09 11:08:14 +05:30
Manav Rathi 878b7a5e32 Remove unused PWA / manifest code
Had discussed this with Abhinav, there were some issues around marking our app
as a PWA, tied to worker lifetime, so the PWA functionality had been disabled,
and these files are not currently not supposed to be used.
2024-02-08 14:48:43 +05:30
Manav Rathi b4946693f8 Remove unused workbox-* dependencies
yarn workspace photos remove workbox-precaching workbox-recipes workbox-routing workbox-strategies workbox-window
2024-02-08 14:46:26 +05:30
Manav Rathi 67d058d77c
Document env vars (#1601) 2024-02-08 10:13:14 +05:30
Abhinav Kumar a88c7212a0
Fix the zip file related tests (#1602) 2024-02-08 10:08:30 +05:30
Manav Rathi d928429276 Add comments around the purpose of the test 2024-02-07 19:30:47 +05:30
Manav Rathi 5c93c14a02 Fix the zip file related tests
These functions (e.g. getElectronFilesFromGoogleZip) look to have been moved
from `importService` to `ElectronAPIs` in commit
86d61060b7, perhaps the test did not get updated.

The test runs now from the desktop app.
2024-02-07 17:49:33 +05:30
Manav Rathi fb0144466f Add more details 2024-02-07 12:51:56 +05:30
Manav Rathi 6a1c82429a Remove unused auth-url 2024-02-07 12:51:56 +05:30
Manav Rathi 9e71916edf Add more comments and variables 2024-02-07 12:51:56 +05:30
Manav Rathi 009652ac76 Create a sample .env.development 2024-02-07 12:51:56 +05:30
Crowdin Bot e404b12b34 New Crowdin translations by GitHub Action 2024-02-07 00:14:25 +00:00
Abhinav 22605e503c refactor code 2024-01-31 11:39:38 +05:30
Abhinav 826679b183 fix error handling in share dialog 2024-01-31 11:26:43 +05:30
Abhinav a7c1133c41 Remove download option from video player control list of shared link as download disabled 2024-01-29 15:15:15 +05:30
Abhinav 8f3a13ea09 remove console log 2024-01-26 10:53:33 +05:30
Crowdin Bot 5f30a7d0a7 New Crowdin translations by GitHub Action 2024-01-25 00:16:16 +00:00
Abhinav Kumar 5aea206ce2
Merge branch 'main' into file-download-location 2024-01-24 13:57:55 +05:30
Abhinav edfdc5dd1e Merge branch 'main' into file-download-location 2024-01-24 13:52:44 +05:30
Crowdin Bot 453f0c51b7 New Crowdin translations by GitHub Action 2024-01-24 08:22:02 +00:00
Abhinav 3d72e58c55 add error logging 2024-01-24 13:49:20 +05:30
Abhinav df3aa80091 Merge branch 'main' into cities 2024-01-24 13:45:05 +05:30
Abhinav cf90aaa374 Merge branch 'main' into cities 2024-01-24 13:42:44 +05:30
Abhinav 4126815485 Merge branch 'rename-states' into hide-hidden-album-files-from-all 2024-01-24 13:30:00 +05:30
Abhinav 3507343624 fix missed renames 2024-01-24 13:27:25 +05:30
Abhinav 7b8a34ad4f better named react states 2024-01-24 13:24:02 +05:30
Abhinav f9121fa1f2 fix mistakenly removed code 2024-01-24 13:15:54 +05:30
Abhinav 8a53a90ce4 hide hidden collection files from all section 2024-01-24 13:00:56 +05:30
Abhinav 603fde07d1 refactor getLocationSuggestions 2024-01-24 12:02:32 +05:30
Abhinav cc480a2376 refactor convertSuggestionsToOptions 2024-01-24 11:52:58 +05:30
Abhinav 49c4331f81 make searchWorker setFiles useEffect SingleThreaded 2024-01-24 11:44:53 +05:30
Abhinav Kumar 4e9fb6a632
update behaviour to not move to destination collection after collection ops (#1556) 2024-01-24 11:21:02 +05:30
Crowdin Bot 07a7d0872a New Crowdin translations by GitHub Action 2024-01-24 00:16:06 +00:00
Vishnu Mohandas 12b68b9f2c
Merge branch 'main' into cities 2024-01-23 21:09:27 +05:30
vishnukvmd 645db9dc01 Update path to asset 2024-01-23 21:00:02 +05:30
vishnukvmd dba2480339 Dedupe cities and location tags 2024-01-23 20:51:52 +05:30
vishnukvmd c7ae9fbe5c Add translation for City 2024-01-23 20:41:56 +05:30
Abhinav 42e3905864 update DedicatedSearchWorker to keep files list locally 2024-01-23 20:09:59 +05:30
Abhinav 142f485a4a remove unneeded non null assertion 2024-01-23 20:03:19 +05:30