about summary refs log tree commit diff
path: root/src/view/shell
Commit message (Collapse)AuthorAgeFilesLines
* Change handling for mobilePaul Frazee2024-01-181-1/+23
|
* Merge branch 'feat/better-autocomplete-view' of ↵Paul Frazee2024-01-181-21/+56
|\ | | | | | | https://github.com/mary-ext/fork-bsky-app into mary-ext-feat/better-autocomplete-view
| * feat: better autocomplete viewMary2024-01-161-21/+56
| |
* | Use new palette values for main palette (#2566)Eric Bailey2024-01-181-1/+4
| | | | | | | | | | * Use new palette values for main palette * Drawer bg in dark mode
* | New component library based on ALF (#2459)Eric Bailey2024-01-182-0/+4
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Install on native as well * Add button and link components * Comments * Use new prop * Add some form elements * Add labels to input * Fix line height, add suffix * Date inputs * Autofill styles * Clean up InputDate types * Improve types for InputText, value handling * Enforce a11y props on buttons * Add Dialog, Portal * Dialog contents * Native dialog * Clean up * Fix animations * Improvements to web modal, exiting still broken * Clean up dialog types * Add Prompt, Dialog refinement, mobile refinement * Integrate new design tokens, reorg storybook * Button colors * Dim mode * Reorg * Some styles * Toggles * Improve a11y * Autosize dialog, handle max height, Dialog.ScrolLView not working * Try to use BottomSheet's own APIs * Scrollable dialogs * Add web shadow * Handle overscroll * Styles * Dialog text input * Shadows * Button focus states * Button pressed states * Gradient poc * Gradient colors and hovers * Add hrefAttrs to Link * Some more a11y * Toggle invalid states * Update dialog descriptions for demo * Icons * WIP Toggle cleanup * Refactor toggle to not rely on immediate children * Make Toggle controlled * Clean up Toggles storybook * ToggleButton styles * Improve a11y labels * ToggleButton hover darkmode * Some i18n * Refactor input * Allow extension of input * Remove old input * Improve icons, add CalendarDays * Refactor DateField, web done * Add label example * Clean up old InputDate, DateField android, text area example * Consistent imports * Button context, icons * Add todo * Add closeAllDialogs control * Alignment * Expand color palette * Hitslops, add shortcut to Storybook in dev * Fix multiline on ios * Mark dialog close button as unused
* fix: don't set autocomplete on search input (#2482)Mary2024-01-101-0/+3
|
* Internationalize more strings (#2440)Stanislas Signoud2024-01-095-6/+8
| | | Co-authored-by: Ansh <anshnanda10@gmail.com>
* Fix: Web design issues (#2377) (#2410)Eric Bailey2024-01-031-3/+3
| | | | | | | * Fix web design issues * Fix Right Nav width design issue Co-authored-by: Rahul Yadav <52163880+rahulyadav5524@users.noreply.github.com>
* emoji picker improvements (#2392)Hailey2024-01-021-0/+26
| | | | | | | | | | | | | * rework emoji picker * dynamic position * always prefer the left if it will fit * add accessibility label * Update EmojiPicker.web.tsx oops. remove accessibility from fake button
* Fix sizing of the leftnav new post btn (#2248)Paul Frazee2023-12-281-18/+23
|
* Merge branch 'web-search' of https://github.com/mozzius/bluesky-official-app ↵Paul Frazee2023-12-283-9/+22
|\ | | | | | | into mozzius-web-search
| * show search in centre column on desktopSamuel Newman2023-12-203-9/+22
| |
* | Add policy links to left nav and settings page (#2300)Paul Frazee2023-12-241-0/+19
| |
* | Bump react-native to 0.73.1, expo to 50 (#2214)Eric Bailey2023-12-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Bump to react-native@0.73, bump expo@next Includes bumps for all expo deps and dev dependencies. Updates react-native patch and others, and removes the babel-preset-expo patch. * Remove duplicate Splash ref * Bump more deps * Properly install expo-notifications * Bump webview dep * Bump packages according to expo fix; remove pager-view patch as it is no longer needed * Don't access expo-camera from Web * Fix crypto dep on web * Fix some type issues * Build esnext modules to support dynamic imports --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* | Invalid handle autocomplete (#2251)Samuel Newman2023-12-201-1/+2
|/ | | | | * refactor invalid handle check from a previous PR to use util function * add invalid handle check to `prefixMatch`
* Fix `Logotype` fill for dark mode (#2230)Eric Bailey2023-12-182-2/+2
| | | | | * Fix fill of Logotype in dark mode * Update default Logotype fill
* Fix: Some display issues (#2219)Hima2023-12-182-3/+2
| | | | | * Update LeftNav.tsx * Update RightNav.tsx
* Some brand, some pwi (#2212)Eric Bailey2023-12-145-150/+286
| | | | | | | | | | | | | | | * Add logo to left nav in logged out * Protect last routes * Hide links in left nav, hide nav * Replace bottom bar for pwi * Remove same links from drawer * Hide reply prompt * Allow search
* 🤫 (#2211)Eric Bailey2023-12-141-12/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add new assets * Add splashiness * Add butter icon, spread it * Cream together eggs, sugar, and vanilla * Hi, I'd like to place and order. Yeah, none pizza with left beef, plz. * test * Refine animation * tweak * tweak * tweak * Tweak * Simplify * Cleanup * Fix android logo --------- Co-authored-by: Ansh Nanda <anshnanda10@gmail.com>
* PWI behavior updates (#2207)Paul Frazee2023-12-145-59/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Enable PWI * Disable access to feeds on PWI * Remove feeds nav item from drawer when signed out * Replace discover feed on home with a CTA * Wire up the sign in and create account buttons to go straight to their respective screens * Give a custom ScreenHider interface for no-pwi * Add side borders on desktop to the screen hider * Filter accounts in the autocomplete according to mod settings * Trim replies in the post thread that are pwi opt-out * Show 'learn more' on the content hider when no-override is enabled * Apply the moderation filter on profile cards * Disable post search on logged-out view * Update locale files * Bump api pkg * Ensure feeds with no posts don't show as NSFPublic * Fix types --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Rework the rightnav overflow behavior to not obscure the scroll region (#2199)Paul Frazee2023-12-131-67/+65
|
* Make right nav scrollable on short screens (#2186)Eric Bailey2023-12-121-60/+63
|
* Multiple notifications fixes (#2154)Paul Frazee2023-12-093-27/+3
| | | | | | | | | | | | | | | * Dont reset notifications feed on push notification event * Dont separate notifications by read state to avoid jank * On notifications screen focus, check latest and only rerender if not scrolled down * Reuse the cached notifs page when its not stale * Bump ios build number * Improve comments * Change the 'mark all read' condition to avoid firing too early
* Split notification init, add cleanup (#2102)dan2023-12-061-1/+15
| | | | | | | | | | | | | | | | | | | * Inline never-imported export * Remove pretense at handling cleanup * Extract per-session listener to a function * Split notifications.init() from notifications.onSessionLoaded() * Tweak forked code to be more similar * Remove unnecessary guards * Split notifications.onSessionLoaded in two * Always use getAgent() * Remove dep on listenSessionLoaded, add cleanup
* Optimize Drawer re-renders (#2108)dan2023-12-062-185/+315
|
* Improvements to persisted state migration (#2098)Eric Bailey2023-12-051-2/+2
| | | | | | | | | | | * Fix session email/emailConfirmed types, update usage for safer access * Handle fallback better, better errors * Better handling, add test * Add test for default data * Remove fallback, not needed, update logs
* E2E 🟢 (#2092)Eric Bailey2023-12-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add logged out e2e ctrl, fix login test * Fix log handling via env vars in expo * Fix create account test * Upgrade dev-env * Fix home screen tests * Fix composer tests * Fix curate-lists tests, split in two * Fix invite codes test * Fix curate-lists tests * Give up on mergefeed test * Fix mod lists * Fix app view url * Fix profile tests * Fix profile test with hack * Keep using globals * Fix two more * Fix thread view * Better skip for merge feed * Revert debug code
* Add PWI build flag (#2082)Paul Frazee2023-12-041-1/+2
|
* Maintain some feed data to avoid needless glimmers (#2054)Paul Frazee2023-11-303-9/+6
|
* Various fixes (#2053)Paul Frazee2023-11-302-15/+8
| | | | | * Fix invite code translations (plural api not availabe in ios) * Speed up the composer animation a smidge
* Merge branch 'invite-code-warning' of ↵Paul Frazee2023-11-302-21/+63
|\ | | | | | | https://github.com/mozzius/bluesky-official-app into mozzius-invite-code-warning
| * Merge remote-tracking branch 'upstream/main' into invite-code-warningSamuel Newman2023-11-305-5/+5
| |\
| * | show informative message when token scope is wrongSamuel Newman2023-11-302-21/+63
| | |
* | | Add enter/exit animations to modals on web (#2042)Samuel Newman2023-11-301-4/+12
| | | | | | | | | | | | | | | | | | | | | * add reanimated layout animations to modals * reorder imports * pass context to scroll handler patches
* | | Disable OTA for now (#2052)Eric Bailey2023-11-301-2/+0
| |/ |/|
* | Merge branch '2011-link-in-feeds-tab-bar' of ↵Paul Frazee2023-11-291-1/+1
|\ \ | | | | | | | | | https://github.com/CooperEdmunds/social-app into CooperEdmunds-2011-link-in-feeds-tab-bar
| * | Add hasPinnedCustomFeedOrList to usePinnedFeedsInfos hookCooper Edmunds2023-11-291-1/+1
| | |
* | | Fix infinite query reloading behavior (reset, not invalidate) (#2031)Paul Frazee2023-11-293-3/+3
|/ / | | | | | | | | * Reset, not invalidate, notification queries * Reset, not invalidate, feed queries
* / Fix memory leak on mobile web tab navigation (#2021)dan2023-11-281-1/+1
|/ | | | | * Add navigationAction prop to Link * Bottom bar should use navigate() action
* PWI: Refactor Shell (#1989)dan2023-11-242-27/+152
| | | | | | | | | | | | | | | | | | | * Vendor createNativeStackNavigator for further tweaks * Completely disable withAuthRequired * Render LoggedOut for protected routes * Move web shell into the navigator * Simplify the logic * Add login modal * Delete withAuthRequired * Reset app state on session change * Move TS suppression
* Fix missing effect cleanup (#1986)dan2023-11-241-1/+2
|
* [PWI] Shell (#1967)Eric Bailey2023-11-218-288/+409
| | | | | | | | | | | | | | | * Sidebars * Bottom bar * Drawer * Translate * Spacing fix * Fix responsive regression * Fix nit
* Hindi Internationalization (#1914)Ansh2023-11-204-21/+29
| | | | | | | | | | | | | | | | | | | | | | * get basic hindi support to work * get web app language switcher in * Refactor i18n implementation and remove unused code * add missing strings * add dropdowns and modals missing strings * complete all hindi translations * fix merge conflicts * fix legeacy persisted state * fix data in RecommendedFeeds * fix lint
* Improve notification load behaviors (#1943)Paul Frazee2023-11-163-3/+30
| | | | | | | * Dont use the stale cache for notifs-feed * Add a delay to marking all read to avoid marking upcoming posts as read * Trigger automatic notifications refresh when navigating to the tab, in certain conditions
* Remove deprecated models and mobx usage (react-query refactor) (#1934)Paul Frazee2023-11-167-41/+22
| | | | | | | | | | | | | | | | | | | | | * Update login page to use service query * Update modal to use session instead of store * Move image sizes cache off store * Update settings to no longer use store * Update link-meta fetch to use agent instead of rootstore * Remove deprecated resolveName() * Delete deprecated link-metas cache * Delete deprecated posts cache * Delete all remaining mobx models, including the root store * Strip out unused mobx observer wrappers
* Some me model cleanup (#1928)Eric Bailey2023-11-162-9/+20
| | | | | | | | | | | | | | | | | * Replace me model in post dropdown btn * Replace delete account logic * Replace me model in bottom bar web * Replace me model in bottom bar * Replace me model in reply prompt * Better fallback * Fix reference * Fix bad ref in bottom bar
* Refactor invites modal (#1930)Eric Bailey2023-11-162-15/+14
| | | | | | | * Refactor invites modal * Replace in drawer * Delete stuff from me model
* Close active elems (react-query refactor) (#1926)Paul Frazee2023-11-162-23/+14
| | | | | | | | | * Refactor closeAny and closeAllActiveElements * Add close lightbox * Switch to hooks * Fixes
* Shell behaviors update (react-query refactor) (#1915)Paul Frazee2023-11-153-10/+10
| | | | | | | | | | | * Move tick-every-minute into a hook/context * Move soft-reset event out of the shell model * Update soft-reset listener on new search page * Implement session-loaded and session-dropped events * Update analytics and push-notifications to use new session system
* Translate some things on search (#1917)Eric Bailey2023-11-151-1/+1
|