about summary refs log tree commit diff
path: root/src/App.web.tsx
Commit message (Collapse)AuthorAgeFilesLines
* Live via service config (#8378)Samuel Newman2025-05-161-3/+3
| | | | | | | | | | | | | * add config (with temp config) * only allow whitelisted domains in form * move config to generic config * use array-based config * update deps * rm expect-error
* Edge to edge support (#7497)Mathieu Acthernoene2025-04-221-5/+2
|
* New `ContextMenu` menu type for DM messages (#8014)Samuel Newman2025-03-211-48/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * get context menu somewhat working ish * take screenshot rather than double rendering * get animations somewhat working * get transform animation working * rm log * upwards safe area * get working on android * get android working once and for all * fix positioning on both platforms * use dark blur on ios always, fix dark mode * allow closing with hardware back press * try and fix type error * add note about ts-ignore * round post * add image capture error handling * extract magic numbers * set explicit embed width, rm top margin * Message embed width tweaks * Format * fix position of embeds * same as above for web --------- Co-authored-by: Eric Bailey <git@esb.lol>
* A few good metrics (#7897)Eric Bailey2025-03-141-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Align dist and release tags on all platforms * Upload web sourcemaps * Debug code * Send debug and error logging to Sentry * Let .env do the work * Try straight env * Try copy in Dockerfile * Ok ok ok * Debug Dockerfile * Proper setup * See where we're at * Reference var correctly * Fall back to package version * Verbose force env * Should be working native builds * Comments * Remove unused deps * Revert unneeded changes * Remove debug code * Clarify intent * Remove deprecated files * Add sentry vars to OTA * Debug * Revert "Debug" This reverts commit 2d5857fb0fb0858ac3e2f98bc56bde913078d0a7. * Use included CLI to upload native source maps post-OTA build * Use included bin script See https://github.com/getsentry/sentry-react-native/commit/0d87adb516b2a5ea61353e25098c31f9aeb7e503 * Bump sentry, update script * Comment * fix failing CI * Pin sentry, update patch, update lock --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Logger improvements (#7729)Eric Bailey2025-02-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove enablement * Refactor context and filtering * Fix imports, simplify transports config * Migrate usages of debug context * Re-org, add colors and grouping to console logging * Remove temp default context * Remove manual prefix * Move colorizing out of console transport body * Reduce reuse * Pass through context * Ensure bitdrift is enabled in dev * Enable Sentry on web only * Clean up types * Docs * Format * Update tests * Clean up tests * No positional args * Revert Sentry changes * Clean up context, use it, pass metadata through to Bitdrift * Fix up debugging * Clean up metadata before passing to Bitdrift * Correct transports * Reserve context prop on metadata and include in transports * Update tests
* Fix "log in", "log out" to "sign in", "sign out" (#7739)Minseo Lee2025-02-171-1/+1
| | | | | * log to sign * logged to signed
* Move intent dialogs inside Alf, but above intent handlers (#7416)Eric Bailey2025-01-091-7/+7
|
* Trending (Beta) (#7144)Eric Bailey2024-12-171-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add WIP UIs for trending topics and suggested starterpacks * Disable SPs for now * Improve explore treatment a bit, add some polish to cards * Add tiny option in RightNav * Add persisted option to hide trending from sidebar * Add to settings, abstract state, not updating in tab * Fix up hide/show toggle state, WITH broadcast hacK * Clean up persisted code, add new setting * Add new interstitial to Discover * Exploration * First hack at mute words * Wire up interstitial and Explore page * Align components * Some skeleton UI * Handle service config, enablement, load states, update lex contract * Centralize mute word handling * Stale time to 30m * Cache enabled value for reloads, use real data for service config * Remove broadcast hack * Remove titleChild * Gate settings too * Update package, rm langs * Add feature gate * Only english during beta period * Hook up real data * Tweak config * Straight passthrough links * Hook up prod agent * Fix no-show logic * Up config query to 5 min * Remove old file * Remove comment * Remove stray flex_1 * Make trending setting global * Quick placeholder state * Limit # in sidebar, tweak spacing * Tweak gaps * Handle hide/show of sidebar * Simplify messages * Remove interstitial * Revert "Remove interstitial" This reverts commit 1358ad47fdf7e633749340c410933b508af46c10. * Only show interstitial on mobile * Fix gap * Add explore page recommendations * [topics] add topic screen (#7149) * add topic screen * decode * fix search query * decode * add server route * Fix potential bad destructure (undefined) --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com> Co-authored-by: Dan Abramov <dan.abramov@gmail.com> Co-authored-by: Hailey <me@haileyok.com>
* [Experiment] Remove "Load Latest" button (#7120)dan2024-12-151-12/+15
| | | | | | | | | | | | | * Remove "show latest" behind the gate * Add HomeBadgeProvider * Update provider state from home feed tabs * Add Home badge to native * Add Home badge to mobile web * Add Home badge to desktop web
* [Layout] Bleed profile banner into safe area (#6967)Samuel Newman2024-12-121-1/+4
| | | | | | | | | | | | | | | | | | | | | | | * bleed profile banner into safe area (cherry picked from commit 50b3a4d0c6fd94b583ffe4efa65de35c81ae7f4e) * pointer events none when hidden (cherry picked from commit bae2c7b2dd6d7f858a98812196628308c0877755) * fix web (cherry picked from commit e3f9597170375f2903b6e567b963f008ec95aed1) * add status bar shadow * rm log * rm mini header * speed up animation * pass bool rather than int in light status bar
* Ensure react-native-keyboard-controller enabled state doesn't get ↵Samuel Newman2024-11-251-49/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | overwritten (#6727) * revert to prev state instead of false * add dep array * use ref counting approach * patch keyboard controller to allow changing the enabled prop * remove state from patch * change patched prop name * remove Math.max check, log if < 0 * use noop provider * rm patch, use `useRef` * Style nits * Rm on web --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Move composer open shortcut to shell (#5723)Hailey2024-10-111-5/+0
| | | | | | | | | * move composer shortcut hook * put intent handler in same place * dont allow shortcuts if no session * revert change
* Fetch link previews from RQ (#5608)dan2024-10-071-27/+30
| | | | | Co-authored-by: Mary <git@mary.my.id> Co-authored-by: Hailey <me@haileyok.com>
* [Neue] Post avi, `PostMeta` cleanup (#5450)Eric Bailey2024-09-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Support emoji in text with custom font * Add emoji support to elements that need it * Remove unused file causing lint failure * Add web only link variant * Refactor PostMeta * Reduce avi size in feeds * Fix alignment, emoji, in PostMeta * Smaller avis in notifications * Shrink post placeholder avi * Handle the handle again * Link cleanup * Cleanup unused props * Fix text wrapping in timestamp * Fix underline color * Tighten up spacing * Web only whiteSpace
* Let Expo/Webpack handle CSS assets (#3942)Mary2024-09-231-0/+1
| | | | | | | | | | | | | * chore: handle built css assets * chore: let prettier handle css code * refactor: let webpack build css assets * chore: prettier on bskyembed * chore: touch empty.txt on css directory * chore: do the same to the workflow
* Additional moderation (#5172)Eric Bailey2024-09-201-26/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Set up additional mod authorities * Filter out non-configurable mod authorities * WIP * Working * Cleanup, add mod * Cleanup * Add more debug logs * Tweak logs * Filter out imperative labels from typeaheads * Filter hideable content from notifications * Add api * Fall back in dev * Remove space * Use prod endpoint * Add tiny notice * Add notice to labeler card, show all labelers
* [Neue] Parallel font loading on web (#5411)Eric Bailey2024-09-191-3/+2
| | | | | | | | | | | * Parallel font loading (cherry picked from commit 10e2b05b575bbbf8b0ca5b4a336817cd902d712b) * Handle failures * Rely on font-face and preload tags for font loading (#5431) * Cache fonts for a year
* Revert provider stacking changes (#5423)Eric Bailey2024-09-191-39/+41
|
* Fix font loading on web (#5412)Eric Bailey2024-09-181-2/+2
| | | | | * Copy font files during build * Fall back if error loading fonts
* [Neue] Base (#5395)Eric Bailey2024-09-181-44/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add fontScale, gate it, fix some computes * Add inter, integrate * Clean up * Apply to old Text component * Use numeric weight * Cleanup * Clean up appearance settings * Global tracking * Fix regular italic variant * Refactor settings and fontScale values * Remove flags * Get rid of lower weight font usage * Remove gate from settings * Refactor appearance settings for reuse * Add neue type nux * Update defaults * Load fonts, add fallback families * Load fonts via plugin in production * Fixes * Fix for web * Nits --------- Co-authored-by: Hailey <me@haileyok.com>
* "N" keyboard shortcut to open a new post modal (#5197)Eric Bailey2024-09-131-0/+3
| | | | | | | | | | | | * feat: Add hook on web app to open composer with 'N' keyboard shortcut * Extract, don't fire open composer if already open * Ignore interactive elements --------- Co-authored-by: João Gabriel <joaog@nocorp.io> Co-authored-by: Hailey <me@haileyok.com>
* [Video] Remember mute state while scrolling (#5331)Hailey2024-09-131-36/+39
|
* RenameEric Bailey2024-09-111-2/+2
|
* WIPEric Bailey2024-09-111-0/+2
|
* Add intent for verifying email (#5120)Hailey2024-09-071-1/+4
|
* Fix provider order (#5046)Eric Bailey2024-08-311-10/+10
|
* Composer blocks (#5040)Eric Bailey2024-08-301-18/+18
| | | | | | | * Move i18n provider up the stack * Protect composer opening for a blocked post * Protect ctrls from interacting with blocked user
* Remove new_user_guided_tour and tour code (#5023)dan2024-08-291-6/+3
|
* [Video] 🫧 Move logic around by platform (#5003)Hailey2024-08-281-1/+1
|
* Detached QPs and hidden replies (#4878)Eric Bailey2024-08-211-13/+16
| | | | Co-authored-by: Hailey <me@haileyok.com>
* [Videos] Video player - PR #1 - basic player (#4731)Samuel Newman2024-07-251-35/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add ffmpeg-kit-react-native * get select video button + compression working * up res to 1080p * add progress component * move logic out of compressVideo * (WIP) add lonestar compression * rework web compression a bit * mess around with adding a thumbnail * 3mbps * replace * use 3mbps * add expo-video * remove unnecessary try/catch * rm ToastAndroid * fix web * wrap lazy component in suspense * gate video select button * rm web compression * flip sign * remove expo-video from web * review nits * add video picker permissions + rm temp buttons * add ffmpeg-kit-react-native * replace * hls-capable player * start trying to hoist up video player instance * hoist video player and move things around * always show native controls * fix controls on expo video android * gate temp video player in feed * rm IS_DEV, doesn't do what I thought it did * use __DEV__ instead --------- Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com> Co-authored-by: Hailey <me@haileyok.com>
* Use appropriate icons for toasts (#4803)Samuel Newman2024-07-231-1/+4
| | | | | | | | | | | | | * use appropriate icons for toasts * use info for session expiry * tweak size * message -> safeMessage --------- Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
* New user progress guides (#4716)Paul Frazee2024-07-041-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add the animated checkmark svg * Add progress guide list and task components * Add ProgressGuide Toast component * Implement progress-guide controller * Add 7 follows to the progress guide * Wire up action captures * Wire up progress-guide persistence * Trigger progress guide on account creation * Clear the progress guide from storage on complete * Add progress guide interstitial, put behind gate * Fix: read progress guide state from prefs * Some defensive type checks * Create separate toast for completion * List tweaks * Only show on Discover * Spacing and progress tweaks * Completely hide when complete * Capture the progress guide in local state, and only render toasts while guide is active * Fix: ensure persisted hydrates into local state * Gate --------- Co-authored-by: Eric Bailey <git@esb.lol> Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Guided tour for new users (#4690)Paul Frazee2024-07-021-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add home guided tour (WIP) * Add web handling of the tour * Switch to our fork of rn-tourguide * Bump guided-tour * Fix alignment on android * Implement home page tour trigger after account creation * Add new_user_guided_tour gate * Add a title line to the tour tooltips * A11y improvements: proper labels, focus capture, scroll capture * Silence type error * Native a11y * Use FocusScope * Switch to useWebBodyScrollLock() --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Starter Packs (#4332)Hailey2024-06-211-2/+7
| | | | | | | Co-authored-by: Dan Abramov <dan.abramov@gmail.com> Co-authored-by: Paul Frazee <pfrazee@gmail.com> Co-authored-by: Eric Bailey <git@esb.lol> Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Add a11y context (#4586)Eric Bailey2024-06-201-19/+22
| | | | | * Add a11y context * Feedback
* Server-side thread mutes (#4518)Samuel Newman2024-06-181-36/+36
| | | | | | | | | | | * update atproto/api * move thread mutes to server side * rm log * move muted threads provider to inside did key * use map instead of object
* wrap web in disabled keyboard provider (#4176)Hailey2024-05-221-33/+36
|
* Add push notification extensions (#4005)Hailey2024-05-151-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add wav * add sound to config * add extension to `updateExtensions.sh` * add ios source files * add a build extension * add a new module * use correct type on ios * update the build plugin * add android handler * create a patch for expo-notifications * basic android implementation * add entitlements for notifications extension * add some generic logic for ios * add age check logic * add extension to app config * remove dash * move directory * rename again * update privacy manifest * add prefs storage ios * better types * create interface for setting and getting prefs * add notifications prefs for android * add functions to module * add types to js * add prefs context * add web stub * wrap the app * fix types * more preferences for ios * add a test toggle * swap vars * update patch * fix patch error * fix typo * sigh * sigh * get stored prefs on launch * anotehr type * simplify * about finished * comment * adjust plugin * use supported file types * update NSE * futureproof ios * futureproof android * update sound file name * handle initialization * more cleanup * update js types * strict js types * set the notification channel * rm * add silent channel * add mute logic * update patch * podfile * adjust channels * fix android channel * update readme * oreo or higher * nit * don't use getValue * nit
* [Session] Code cleanup (#3854)dan2024-05-081-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Split utils into files * Move reducer to another file * Write types explicitly * Remove unnnecessary check * Move things around a bit * Move more stuff into agent factories * Move more stuff into agent * Fix gates await * Clarify comments * Enforce more via types * Nit * initSession -> resumeSession * Protect against races * Make agent opaque to reducer * Check using plain condition
* [🐴] Integrate global event bus (#3904)Eric Bailey2024-05-071-14/+17
| | | | | * Conditionally run global event bus * Add current convo id context, bundle providers
* Remove messages provider (#3902)Eric Bailey2024-05-071-19/+16
|
* [🐴] Global event mgmt (#3897)Eric Bailey2024-05-071-22/+20
| | | | | | | | | | | | | * Add global event bus for messages logs * Add rev to state * Better handle error * Clean up polling, add backgrounding * Add trailConvo method * Extend polling until we're ready for this
* Protect against missing elementPaul Frazee2024-05-061-5/+4
|
* Merge branch 'web-loading' of ↵Paul Frazee2024-05-061-2/+8
|\ | | | | | | https://github.com/TuxPenguin09/bsky-social-app into TuxPenguin09-web-loading
| * Added Preload for Webaliamanuba2024-05-021-2/+8
| | | | | | | | - Bluesky logo in the center when a new visitor or shift+refresh by browser client
* | Don't clear toasts when changing users (#3843)dan2024-05-031-25/+35
| | | | | | | | | | | | | | | | | | | | | | * Move ThemeProvider to the top * Move RootSiblingParent above the remounted part * Move ToastContainer outside the remounted part * Remove setTimeout around toasts * Consistently handle dropped session
* | [Session] Extract resumeSession out (#3811)dan2024-05-021-4/+18
|/
* Fix: put label defs provider above moderation opts provider (#3806)Paul Frazee2024-05-011-4/+5
|
* Performance improvements: structural sharing & moderation opts context (#3785)Paul Frazee2024-04-301-17/+20
| | | | | | | | | | | | | * Fix: correctly apply structural sharing to preferences object * Move moderation opts into a context * Fix import * Remove log * Pass userdid directly * Pass moderationPrefs directly