| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Pass referer on native
* Add ChainLink3
* Add an opt out for sending utm
* Remove noreferrer on links
We do have <meta name="referrer" content="origin-when-cross-origin"> in HTML, should be sufficient.
* Narrow down the condition slightly
---------
Co-authored-by: Eric Bailey <git@esb.lol>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Convert lightbox to get/set
* Work around software-mansion/react-native-reanimated#6613
* Use get/set in more places
* Port MainScrollProvider to get/set
* Port more to get/set
* Port composer to get/set
* Remove unnecessary thread hops in composer
* Port more things to get/set
* Convert more to get/set, remove redundant runOnJS
* Convert remaining cases to get/set
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* move export car dialog
* move disableemail2fadialog
* delete old settings screens
* fix type error
* Update Navigation.tsx
* Delete AccountDropdownBtn.tsx
* remove old change handle modal
* delete add app paswords
* forgot to actually delete the change handle modal
|
|
|
|
|
| |
* Mark import sort/order/style rules as error
* npm run lint -- --fix
|
|
|
|
|
|
|
| |
* use page sheet presentation
* move to its own file rather than sitting in prefs
* whoops, missed one
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Use Redix FocusTrap (#5638)
* Use Redix FocusTrap
* force resolutions on radix libs
* add focus guards
* use @radix-ui/dismissable-layer for escape handling
* fix banner menu keypress by using `Pressable`
* add menu in dialog example to storybook
---------
Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* use DismissableLayer/FocusScope for composer
* fix storybook dialog
* thread Portal through Prompt and avatar/banner
* fix dialog style regression
* remove tamagui
---------
Co-authored-by: Eric Bailey <git@esb.lol>
|
| |
|
| |
|
|
|
|
| |
(#5509)
|
|
|
|
| |
Co-authored-by: Hailey <me@haileyok.com>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* refactor: consistent localized formatting
* refactor: localized date time
* refactor: localize relative time with strings
* chore: fix typo from copy-paste
* Clean up useTimeAgo
* Remove old ago
* Const
* Reuse
* Prettier
---------
Co-authored-by: Mary <git@mary.my.id>
|
| |
|
|
|
|
| |
header height (#5005)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Split minimal shell mode into headerMode and footerMode
For now, we'll always write them in sync. When we read them, we'll use headerMode as source of truth. This will let us keep footerMode independent in a future commit.
* Remove fixed_bottom_bar special cases during calculation
This isn't the right time to determine special behavior. Instead we'll adjust footerMode itself conditionally on the gate.
* Copy-paste setMode into MainScrollProvider
This lets us fork the implementation later just for this case.
* Gate footer adjustment in MainScrollProvider
This is the final piece. Normal calls to setMode() keep setting both header and footer, but MainScrollProvider adjusts the footer conditionally.
|
|
|
|
|
| |
Co-authored-by: Hailey <me@haileyok.com>
Co-authored-by: Eric Bailey <git@esb.lol>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
Co-authored-by: Hailey <me@haileyok.com>
|
| |
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
* Remove icky hook for now
* Force callers of getTimeAgo to pass in the 'now' value
* Update usage in Newskie dialog
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Create a testable version of ago() and re-enable the disabled test (#4364)
* Enable the test of ago()
* Use test cases
This puts the input and the expected values next to each other.
* Create dateDiff function
This is a copy of ago(), but with the ability to specify the second date instead of using Date.now().
* Let ago() use dateDiff()
* Move constants close to usage
* Test dateDiff instead of ago
This makes it possible to test the dates without being forced to rely on what the current date is.
The commented out tests do not yet pass. This is fixed in later commits.
* Update dateDiff and enable the remaining tests
* Split up tests, use date-fns as helpers
* Remove old test
* Add long format
* Add hook
* Migrate to hooks
* Delete old code
* Or equal to
* Update comment
---------
Co-authored-by: Jan Aagaard <jan@aagaard.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Move feeds screen into common navigator, handle usages
* Add link to Feeds from home screen (#4366)
* Add link to feeds to home screen header
* Center logo
* Replace icons
* Tweak spacing
* Tweak spacing
* Swap icon, sizing
* Buttonize, size
* Make menu same alignment on all screens
* Remove FeedsTab support, enable drawer swipe on MessagesTab
* Add note
* Vertically align header
* Swap in Pin
* Use hashtag icon
* Remove png
* Fix reference
* Ensure alignment with home and other screens
|
|
|
|
|
|
|
|
|
| |
* Fix (#4430): Use separate hooks for shell mode animated styles
* Consolidate in one file
---------
Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Bump more Expo libs
* Use legacy camera API
* fix `expo-notifications` patch
* bump `menu`
* change patch name
* patch reanimated
* Revert "patch reanimated"
This reverts commit dad822d8ea04c71a609784114d60f2e67b78290b.
* Use nightly reanimated
* Revert "Use nightly reanimated"
This reverts commit 6687c7182883feb889cbf2c67dd14890e06bc501.
* Revert "Revert "patch reanimated""
This reverts commit c30abd6732f559ca04dc59698411e1058800d63e.
---------
Co-authored-by: Hailey <me@haileyok.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* upgrade packages
* remove `expo-image-picker` patch
* remove old expo-updates patch
* rename rn patch
* downgrade crop picker
* bump `ExpoGifView` `SDWebImage` version
* apply config changes
* update build docs for apple silicon
* update build docs for apple silicon
* update expo-updates patch
* add back patch readme
* bump `expo-dev-client`
* bump `babel-preset`
* update `babel.config.js`
* update `react-native-paste-input` patch
* remove old ota updates hook
* update types
* update types
* downgrade pager-view
* update animated ref type
* fix web-only type
* update `react-native-bottom-sheet` `BottomSheetTextInput`
* add `expo-application` to jest mocks
* remove reanimated patch
* update notifications patch
* update reanimated path
* fix import
* update yarn.lock
* use `ItemT` instead of `any`
* expo bump
* Revert logic change, fix types
* Fix JSON file
---------
Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* update convo list from message bus
* don't increase unread count if you're the sender
* add refetch interval back
* Fix deleted message state copy
* only enable if `hasSession`
* Fix logged out handling
* increase refetch interval to 60s
* request 10s interval when message screen active
* use useAppState hook for convo resume/background
* Combine forces
* fix useFocusEffect logic
---------
Co-authored-by: Eric Bailey <git@esb.lol>
|
|
|
|
|
|
|
| |
conversation screen (#4091)
* add a small comment
* reset if current screen
|
|
|
|
|
|
|
|
|
|
|
| |
* disable badge increments for dms
* revert decrementing in js for dms
* reset badge on read notifications
* remove some other code
* prevent duplicate notification events
|
|
|
|
|
| |
* don't always show a notification
* nit
|
|
|
|
|
|
|
|
|
| |
* decrement badge count for chats
* handle decrement in `useMarkAsRead`
* remove async
* oops
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* some initial tweaks
* tweaks
* more tweaks
* tweak chat header
* properly align placeholders
* tweak web header
* one more...
* remove extra loading states from chat
* limit line count for display name
* Tweaks styles (#3949)
* Adjust sizing
* Consistent font size
* Adjust header
* oops
* fix accessibility in list
* don't use `identifier` for notifications, use `dates` instead
---------
Co-authored-by: Eric Bailey <git@esb.lol>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add some better handling for notifications
prep merge
move `useNotificationsListener` into shell
progress
better structure
only show messages notifications while using app if it is the current account
progress
only emit on native
current chat emitter
only show alerts for the current chat
type
add logs
setup handlers
* remove event emitter
* just needs cleanup
* oops
* remove unnecessary `queryClient` param
* few fixes
* cleanup
* nit
* remove folds
* remove comment
* simplify if
* add back invalidate
* comment out other navigations for now
* rename type
* handle various navigation cases
* push to conversation from notification
* update badge in all cases except `chat-message`
* ensure no duplicate notifications
* rm unused `animationOnReplace`
* revert to using `goBack` in the conversation header
* add todo comment
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Adopt synced accounts unconditionally
* Remove try/catch around resuming session
* Move to login form on resume failure
* Restructure code flow for easier reading
---------
Co-authored-by: Eric Bailey <git@esb.lol>
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
| |
* Protect against races
* Reduce UI jank when switching accounts
* Add pending state to selected account
* Disable presses while pending
|
| |
|