-
Notifications
You must be signed in to change notification settings - Fork 38
feat(web): initial web support for Expo app #2364
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
31a91f9
🐛 fix: disable Eden Treaty date reviver to preserve ISO strings
andrew-bierman 0938f0f
🔧 feat(web): add Metro module stubs for native-only packages
andrew-bierman 0ced8c1
🔧 config(web): switch Expo web output to SPA mode
andrew-bierman 52294c9
🐛 fix(web): dark mode class, logo size, NativeWind color overrides
andrew-bierman 9081fb4
♻️ refactor(web): replace per-module if-chains with WEB_STUBS lookup …
andrew-bierman 18a3248
🐛 fix: auth logo oversizing and catalog schema review field mismatch
andrew-bierman 2d3d2ae
✨ feat: enable EXPO_UNSTABLE_WEB_MODAL for web modal presentation
andrew-bierman 25fea47
fix(catalog): normalize Details:[...] array description format from s…
andrew-bierman c982c54
fix: web compatibility — logout crash and route name mismatches
andrew-bierman bfede61
chore: remove unused getCatalogListOptions function
andrew-bierman bac123b
fix: web-safe token atom storage — prevent AI chat 401
andrew-bierman fbfda4b
fix: use isFunction guard in expo-sqlite-kv-store mock
andrew-bierman b466506
feat(web): proper platform-specific implementations for native-only l…
andrew-bierman cb80fa5
feat(web): react-leaflet maps + expo-file-system web stub
andrew-bierman 593d502
chore: sort package.json deps alphabetically
andrew-bierman daf1541
refactor(web): remove redundant stubs and Platform.select style overr…
andrew-bierman ffeb9f6
fix: add height SharedValue to keyboard mock + web logo sizing
andrew-bierman 3993535
fix(web): address PR review comments in web stubs
andrew-bierman f102dad
refactor(auth): replace makeKvStorage with platform-specific kvStorag…
andrew-bierman 87cf6aa
Merge remote-tracking branch 'origin/main' into feat/web-implementation
andrew-bierman c09ad83
chore: merge development into feat/web-implementation
andrew-bierman 4dcc57b
fix: bump @types/leaflet to ^1.9.21 to match apps/admin version
andrew-bierman a3b9d12
refactor(catalog): drop userName alias — not in DB schema, keep nulla…
andrew-bierman 912906b
chore: remove camelCase userAvatar duplicate from CatalogItemSchema r…
andrew-bierman ea8ad30
fix(ci): fix TypeScript error and Vitest parse failure
andrew-bierman ad15222
fix: use 'in' operator for web detection instead of typeof
andrew-bierman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| const DETAILS_ARRAY_RE = /^Details:\s*(\[[\s\S]*\])$/; | ||
|
|
||
| export function normalizeDescription(description: string | null | undefined): string | null { | ||
| if (!description) return null; | ||
| const match = description.match(DETAILS_ARRAY_RE); | ||
| if (match && match[1]) { | ||
| try { | ||
| const items = JSON.parse(match[1]) as string[]; | ||
| return items.join('. '); | ||
| } catch { | ||
| // fall through | ||
| } | ||
| } | ||
| return description; | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.