Commit Graph

1516 Commits

Author SHA1 Message Date
Eric Bailey 8314f90a5e Improve autocomplete model logic 2023-10-25 12:07:12 -05:00
Eric Bailey b78ec89338 Use new api pkg APIs 2023-10-25 11:57:47 -05:00
Eric Bailey cc3e992638 remove unused file 2023-10-24 12:59:59 -05:00
Eric Bailey 94e2d0be43 Small tweaks 2023-10-24 11:40:20 -05:00
Eric Bailey ebd39c7a10 clean up sanitization 2023-10-24 11:33:22 -05:00
Eric Bailey c5005958f0 Use api package regexes 2023-10-24 09:49:13 -05:00
Eric Bailey ee3d1ff40d Use new more restrictive regex 2023-10-23 16:42:29 -05:00
Eric Bailey 61f88ae2b0 inherit outline tags of parent post 2023-10-21 12:14:37 -04:00
Eric Bailey a5d4cfda9b consolidate defs 2023-10-19 16:51:29 -04:00
Eric Bailey 4505c2bb1e remove unused EditableTag 2023-10-19 16:47:02 -04:00
Eric Bailey c3b500db9c remove comment 2023-10-19 16:46:07 -04:00
Eric Bailey d93587aeef don't backfill tags, close dropdown on tab 2023-10-19 16:45:22 -04:00
Eric Bailey 2d62a4942a centralize regex 2023-10-19 16:28:12 -04:00
Eric Bailey 72bb3ccfac handle focus on tag buttons 2023-10-19 16:16:03 -04:00
Eric Bailey 911a5a5638 strip trailing punctuation 2023-10-19 14:07:36 -04:00
Eric Bailey cb81f46d8a Merge remote-tracking branch 'origin/main' into eric/app-864-integrate-post-tags-into-app
* origin/main:
  Fix four gallery images for Firefox (#1710)
  Performance optimization  (#1676)
  Scope drawer drag workaround to feed pagers (#1694)
  Toggle lightbox controls on tap (#1687)
  Fix profile preview jump (#1693)
2023-10-18 15:16:03 -04:00
dan c6e28f88e5 Fix four gallery images for Firefox (#1710) 2023-10-18 15:08:12 -04:00
Ansh 8e9cf182c2 Performance optimization (#1676)
* upgrade sentry to support profiling monitoring

* remove console logs in production builds

* feeds tab bar and bottom bar animation centralized

* refactor FeedPage out of Home

* add script to start in production mode

* move FAB inner to reanimated

* move FABInner back to `Animated` RN animation

* add perf commands

* add testing with Maestro and perf with Flashlight

* fix merge conflicts

* fix resourceClass name in eas.json

* fix onEndReachedThreshold in Feed

* memoize styles

* go back to old styling for LoadLatestBtn

* remove reanimated code from useMinimalShellMode

* move shell animations to hook/reanimated for perf

* fix empty state issue

* make shell animation feel smoother

* make shell animation more smooth

* run animation with autorun

* specify keys for tab bar properly

* remove comments

* remove already imported dep

* fix lint

* add testing instructions

* mock sentry-expo for jest

* fix jest mocks

* Fix the load-latest button on desktop and tablet

* Fix: don't move the FAB in tablet mode

* Fix type error

* Fix tabs bar positioning on tablet

* Fix types

---------

Co-authored-by: Paul Frazee <pfrazee@gmail.com>
2023-10-13 18:54:35 -07:00
Eric Bailey 35dd618d83 use separate models, commit once 2023-10-13 14:52:58 -05:00
Eric Bailey 7ee34b6a12 swap in new button 2023-10-13 14:44:41 -05:00
Eric Bailey a5f37eb37f move TagInput into dir, use button on desktop 2023-10-13 14:38:48 -05:00
dan abfd9a8c0b Toggle lightbox controls on tap (#1687)
* Make the lightbox controls animation smoother

* Toggle controls on tap

* Disable pointer events when hidden
2023-10-13 20:10:27 +01:00
dan f447eaa669 Fix profile preview jump (#1693)
* Add top inset for profile preview to match target screen

* Avoid flicker by waiting for profile screen navigation

* Fix glimmer to align with the content

* A more reliable (but non-scientific) fix for the flash

* Lower the timeout
2023-10-13 20:10:15 +01:00
Eric Bailey 85481ef897 Merge remote-tracking branch 'origin' into eric/app-864-integrate-post-tags-into-app
* origin:
  Disable events on hidden bars (#1686)
  Fix profile layout shift (#1690)
  Don't re-render bars when showing/hiding them (#1691)
  Fix crash when scrolling down on the web (#1684)
  Make shell hide/show animation smoother (#1683)
  Fix layout shift for multi-image posts (#1673)
  bskyweb: add rate limiting to reduce DoSability
  use new zeed-dom version (#1671)
  1.53
2023-10-13 09:38:53 -05:00
dan d5ccbd76d5 Disable events on hidden bars (#1686) 2023-10-13 15:29:50 +01:00
dan eba9f8a166 Fix profile layout shift (#1690) 2023-10-13 15:25:16 +01:00
dan 2a1edab6d4 Don't re-render bars when showing/hiding them (#1691)
* Don't re-render bars when showing/hiding them

* Fix more cases

* Use autorun instead of reaction to fix first render
2023-10-13 15:24:28 +01:00
Eric Bailey 0dbf8f1b18 use gorhom bottom sheet 2023-10-12 17:52:17 -05:00
Eric Bailey b1843533eb let's roll with custom bottom sheet for now 2023-10-12 17:41:54 -05:00
Eric Bailey 8aeb364014 remove selected item code 2023-10-12 15:36:07 -05:00
dan 4431cfe2d2 Fix crash when scrolling down on the web (#1684) 2023-10-12 13:15:19 -07:00
Eric Bailey d7f7cb3128 mobile tags input and autocomplete 2023-10-12 15:04:22 -05:00
dan 997918547c Make shell hide/show animation smoother (#1683)
* Make shell hide/show animation smoother

* Also animate "load latest"
2023-10-12 21:02:17 +01:00
dan c2a1cf4e56 Fix layout shift for multi-image posts (#1673)
* Fix layout shift for multi-image posts

* Add a comment for the hack

* Use margins instead of gap

* Move alt label
2023-10-12 19:14:27 +01:00
Eric Bailey 9f9f877ce1 add desktop TagInput autocomplete 2023-10-11 15:09:37 -05:00
Eric Bailey bfdf41a4c3 cleaning 2023-10-10 20:08:37 -05:00
Eric Bailey 078ba4cd35 add tag highlighting back 2023-10-10 19:59:16 -05:00
Eric Bailey 7a97c3c345 Merge remote-tracking branch 'origin' into eric/app-864-integrate-post-tags-into-app
* origin: (21 commits)
  resolve fork of zeed-dom (#1663)
  Port remaining lightbox code to Reanimated (#1669)
  Update testrunner to use new dev-env [WIP] (#1575)
  Fix MobX crash for Android lightbox (#1668)
  Change lightbox to use Pager (#1666)
  make empty feed required (#1667)
  Only warn on links to bsky.app if it represents itself as another url (#1662)
  Fix keyboard double pad issue in email change & verify modals (#1664)
  Don't highlight tags in composer yet (#1665)
  Fix: fetch follows on desktop search for typeahead (#1660)
  Remove duplicate modal container (#1661)
  Drive-by lightbox refactors (#1659)
  Only prompt users once to verify email (according to local storage) close #1657 (#1658)
  Revert "Fix invite codes flash on desktop, use loading placeholder (#1591)" (#1656)
  Refactor iOS lightbox to Reanimated (#1645)
  Bump package.json to 1.52
  Remove unnecessary opacity logic (#1646)
  Fix typo in image.ts (#1638)
  fix typo README.md (#1631)
  Typo fix in README.md: "small about" -> "small amount" (#1639)
  ...
2023-10-10 19:30:55 -05:00
Eric Bailey 4e26c97594 consolidate tag components 2023-10-10 19:12:17 -05:00
Eric Bailey 3bae37460d some comments 2023-10-10 19:04:32 -05:00
Eric Bailey b33f70fcac remove unused TagDecorator 2023-10-10 18:59:16 -05:00
Eric Bailey 1dc38a8fd9 add a test 2023-10-10 18:49:15 -05:00
dan a48c213af5 Port remaining lightbox code to Reanimated (#1669)
* Port remaining lightbox code to Reanimated

* Fix  memoization
2023-10-10 23:48:31 +01:00
Paul Frazee 0b44af38ea Update testrunner to use new dev-env [WIP] (#1575)
* Update testrunner to use new dev-env

* Fix label testcase

* Vendor the dev-infra scripts from the atproto repo for the dev-env server runner

* Bump detox to fix the ios sim control issue

* Use iphone 15 pro for tests

* Ensure the reminders never trigger during tests

* Skip the shell tests due to a crash bug with detox and the drawer
2023-10-10 15:46:27 -07:00
dan aad8d12ede Fix MobX crash for Android lightbox (#1668)
* Fix MobX crash for Android lightbox

* Reorder props to match between forks
2023-10-10 23:02:00 +01:00
dan 209d8b683c Change lightbox to use Pager (#1666)
* Change lightbox to use Pager

* Fix crash issue on ios

---------

Co-authored-by: Paul Frazee <pfrazee@gmail.com>
2023-10-10 22:37:28 +01:00
Ansh aa085b0b14 make empty feed required (#1667) 2023-10-10 14:32:00 -07:00
Paul Frazee 4d450da194 Only warn on links to bsky.app if it represents itself as another url (#1662)
* Only warn on links to bsky.app if it represents itself as another url (close #1652)

* Clean up
2023-10-10 14:02:50 -07:00
Paul Frazee e878da04a1 Fix keyboard double pad issue in email change & verify modals (#1664) 2023-10-10 14:02:31 -07:00
Eric Bailey b3bae78e30 enforce length in TagInput 2023-10-10 15:47:38 -05:00