128 Commits

Author SHA1 Message Date
Manav Rathi
b5e3bf8d4b
Lint fix 2024-06-11 16:38:52 +05:30
Manav Rathi
96386e8f9e
Clean 2024-06-11 16:04:02 +05:30
Manav Rathi
3285ccdb3a
Directly 2024-06-11 15:39:40 +05:30
Manav Rathi
b9d4f9ff10
/passkeys/registration/begin GET => POST 2024-06-10 16:35:10 +05:30
Manav Rathi
fc826e8acb
Pass the X-Client-Package explicitly for the endpoint which needs it 2024-06-10 16:33:29 +05:30
Manav Rathi
f6377b98cb
Update mobile URLs 2024-06-10 16:18:42 +05:30
Manav Rathi
ae4f1df76c
Use the transport from the original credential 2024-06-10 14:42:20 +05:30
Manav Rathi
1aea5a9cdd
Minor tweaks 2024-06-09 21:27:02 +05:30
Manav Rathi
8f77318e88
Tweak 2024-06-07 11:04:16 +05:30
Manav Rathi
c983c43ba1
Rename again 2024-06-06 21:32:10 +05:30
Manav Rathi
ca42feffe6
Resurrect 2024-06-06 16:25:35 +05:30
Manav Rathi
4d2e4f0194
Fix 2024-06-06 12:41:50 +05:30
Manav Rathi
ea476b9c96
lf 2024-06-03 15:10:08 +05:30
Manav Rathi
16272dc7b0
README 2024-06-03 15:05:58 +05:30
Manav Rathi
f663c436cb
Add zod
zod required strict mode, which is why creating this "@/new" package was a prereq.
2024-06-02 16:00:30 +05:30
Manav Rathi
27b7532ca4
lf 2024-06-02 14:15:13 +05:30
Manav Rathi
d9477891bb
eslint 9 2024-06-02 13:38:10 +05:30
Manav Rathi
429caf5f6c
New 2024-06-02 12:56:54 +05:30
Manav Rathi
f34a4d4a21
lf 2024-05-28 18:18:59 +05:30
Manav Rathi
f5947a0c4a
Introduce idb 2024-05-28 16:12:40 +05:30
Manav Rathi
36aa33ed5a
Move to separate file 2024-05-24 13:08:41 +05:30
Manav Rathi
7780c1c7b7
Move to the correct place 2024-05-23 19:29:56 +05:30
Manav Rathi
074d315c9f
We need both 2024-05-21 11:46:48 +05:30
Manav Rathi
20a7e47cde
lint fix 2024-05-16 21:43:41 +05:30
Manav Rathi
1fbaa1e85d
Link 2024-05-16 21:31:01 +05:30
Manav Rathi
23138800e0
[web] Add ubuntu instructions to the getting started docs 2024-05-16 21:28:34 +05:30
Manav Rathi
c127b7fc7e
doc 2024-05-16 11:23:48 +05:30
Manav Rathi
1856e344db
Remove unused clustering method 2024-05-16 11:03:03 +05:30
Manav Rathi
bb6a8913f1
Add links 2024-05-15 15:25:58 +05:30
Manav Rathi
45183422e2
[web] Lint concurrently 2024-05-15 13:59:10 +05:30
Manav Rathi
10fba07e25
Docs 2024-05-10 20:03:00 +05:30
Manav Rathi
7d56230b91
Move down 2024-05-09 20:44:52 +05:30
Manav Rathi
ac67566f45
Update react-dropzone
Release notes don't seem to have any breaking changes:
https://github.com/react-dropzone/react-dropzone/releases

Need to update to figure out where exactly the path property is coming from.
2024-05-09 10:03:03 +05:30
Manav Rathi
7ad4069b99
hobgoblins 2024-04-30 10:23:33 +05:30
Manav Rathi
1447d4976f
lint-fix and beautifuller 2024-04-24 18:48:44 +05:30
Manav Rathi
af79db90d0
Doesn't work for us yet
Current version throws
    Module build failed: UnhandledSchemeError: Reading from "node:buffer" is not handled by plugins (Unhandled scheme).
    Webpack supports "data:" and "file:" URIs by default.
    You may need an additional plugin to handle "node:" URIs.

See: https://github.com/sindresorhus/file-type/issues/502

There are ways around by using polyfills, e.g.
- https://stackoverflow.com/questions/76500464/issues-while-using-gradio-client-in-next-js/76522223#76522223
- https://github.com/vercel/next.js/discussions/33982

but since no functional changes in the detection that impact us have been made,
stay back at the old version for now.
2024-04-24 18:44:09 +05:30
Manav Rathi
38e18f29bd
Update file-type dependency and move it to its correct package.json
Refs:
- https://github.com/sindresorhus/file-type/releases/tag/v17.0.0

Went through the release notes since v16 to check that none of the MIME types we
care about have changed.
2024-04-24 18:27:30 +05:30
Manav Rathi
df483b0755
lint 2024-04-17 12:37:18 +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
56d04066ea
sfn 2024-04-13 20:38:29 +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
7deb0dca8e
Fix lint 2024-04-13 13:17:42 +05:30
Manav Rathi
6a3f4baed3
Enhance 2024-04-13 07:30:32 +05:30
Manav Rathi
8020d83ced
Fix crowdin paths 2024-04-06 11:30:31 +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
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
ad6dea2ecb
prettier markdown 2024-04-03 13:39:44 +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
26b35cec9e
Merge @/ui into @/next 2024-04-02 19:58:42 +05:30