| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Initial working external store
* Clean up WIP, explore suspend/resume
* Clean up state, bindings, snapshots, add some logs
* Reduce snapshots, add better logic check
* Bump interval a smidge
* Remove unused type
|
| | |
| | |
| | |
| | |
| | | |
* Fix account refresh to not clobber falsy values
* Use ?? in more places
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Expand currentAccountDid into currentAgentState
* Inline all callsites of upsertAccount
* Inline all internal callsites of clearCurrentAccount
* Add agent to currentAgentState
* Collapse extra setStates
* Add TODOs
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Protect against races
* Reduce UI jank when switching accounts
* Add pending state to selected account
* Disable presses while pending
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* haptic on long press
* add animation to press and hold
* eslint disable for now
* adjust styles
* dont trigger if animation is cancelled
* organize
* add a delete menu
* reset scale automatically
* message actions dialog
cleanup
center the trigger
handle focus/unfocus better
make triggers accessible
weg dropdown menu
add a wep specific wrapper
decrease press delay
add report button
improve shrink logic
use `self_end` instead of `margin: auto`
rm extra `?`
move `MessageItem` to `components`
add delete button
* rm some padding
* update after merge
* fix merge
* web only types
* fix crash
* add an explanation
* fix web types
---------
Co-authored-by: Samuel Newman <mozzius@protonmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
screen (#3825)
* change useEffect to useFocusEffect
* v2 -> v3
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
* Handle message deletions
* Handle failures
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
* add a11y + onPress to web send button
* only adjust leading on web, due to overflow issue
|
| | |
| | |
| | |
| | |
| | | |
* tweak input styles + add min-shell mode
* android tweaks + hitslop
|
| | | |
|
| |/
|/| |
|
| |
| |
| |
| |
| | |
* remove viewability config
* use `onScroll` for keeping track of content offset
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* convo menu
* memoize convomenu
* add convoId to useChat + memoize value
* leave convo
* Create mute-conversation.ts
* add mutes, remove changes to useChat and use chat.convo instead
* add todo comments
* leave convo confirm prompt
* remove dependency on useChat and pass in props instead
* show menu on long press
* optimistic update
* optimistic update leave + add error capture
* don't `popToTop` when unnecessary
---------
Co-authored-by: Hailey <me@haileyok.com>
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
* Make pending message like normal message
* Remove getter
* Make props public
|
| |
| |
| |
| |
| | |
* replace 🐴 with paper plane icon
* replace envelope with plus
|
| |
| |
| |
| |
| |
| |
| | |
* Add convo retries, sketch out tests
* Only append nextMessage to messages
* Remove debug code
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* input max height/scrollability
* remove unused imports
* add a web-specific version
* enter and shift enter for web
* missing onSubmit for native
* missing attributes
* improve layout of input on web
* use the correct text color in the input
* trim messages
* remove `onSubmit`
* move prop up
* trim message on web
* remove extra function call
---------
Co-authored-by: Samuel Newman <mozzius@protonmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* proper min index
* move keyextractor out of react
* move onSendMessage out
* don't render the flatlist conditionally
* add loader
* rework structure
* remove some unneeded logic
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Add new pkg
* copy queries over to new file
* useConvoQuery
* useListConvos
* Use useListConvos
* extract useConvoQuery
* useGetConvoForMembers
* Delete unused
* exract useListConvos
* Replace imports
* Messages/List/index.tsx
* extract getconvoformembers
* MessageItem
* delete chatLog and rename query.ts
* Update import
* Clipclop service (#3794)
* Add Chat service
* Better handle deletions
* Rollback unneeded changes
* Better insertion order
* Use clipclops
* don't show FAB if error
* clean up imports
* Update Convo service
* Remove temp files
---------
Co-authored-by: Samuel Newman <mozzius@protonmail.com>
|
| |
| |
| |
| |
| | |
* Derive currentAccount from accounts and currentAccountDid
* Add TODOs for divergence with __globalAgent
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Move isInitialLoad and isSwitchingAccounts out of main state
* Remove spreads, order object keys
* Track need to persist on state object
* Reoder state variables
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
* improve message list behaviour
* replace useAgent with useSession
* add explicit types to appease linter
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* sentry errors for captcha web views
* include handles with errors
* log all registration request failures
* rm
* use a better trigger for web captcha errors
* add another trigger for recording a possible signup error
* unknown error type
* don't needlessly log on href errors
* honestly i probably cant always do a captcha in 20 seconds
* rm log
* timeout on back
* remove unnecessary colons
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Fix: correctly apply structural sharing to preferences object
* Move moderation opts into a context
* Fix import
* Remove log
* Pass userdid directly
* Pass moderationPrefs directly
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Move types to another file
Co-authored-by: dan <dan.abramov@gmail.com>
* Move utilities out
Co-authored-by: dan <dan.abramov@gmail.com>
* Move PUBLIC_BSKY_AGENT
Co-authored-by: dan <dan.abramov@gmail.com>
* Move createPersistSessionHandler inline
Co-authored-by: dan <dan.abramov@gmail.com>
* Call configureModeration when clearing account too
This ensures that the app labelers get reset in a test environment.
Co-authored-by: dan <dan.abramov@gmail.com>
* Make guest configureModeration sync, non-guest async
* Extract isSessionExpired
Co-authored-by: dan <dan.abramov@gmail.com>
* Flip isSessionExpired condition
Co-authored-by: dan <dan.abramov@gmail.com>
* Extract agentToSessionAccount
Co-authored-by: dan <dan.abramov@gmail.com>
* Extract createAgent*
Co-authored-by: dan <dan.abramov@gmail.com>
* Simplify isSessionExpired
---------
Co-authored-by: Eric Bailey <git@esb.lol>
|
| | |
|
| |
| |
| | |
Co-authored-by: Eric Bailey <git@esb.lol>
|
| |
| |
| |
| |
| | |
* separate msg groups by age
* clean up logic and add comments
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* add temp `getchat` query
* properly get the other profile
* add basic header
* normalize layout on all devices
* remove unused imports, adjust style
* remove unnecessary log
* remove another log
* remove some more imports
* cleanup
* use `Button` instead in the header
* lint
|
| |
| |
| |
| |
| | |
* use the correct keyboard appearance based on theme
* i guess the min index should be 1
|
| |
| |
| |
| |
| | |
* add message sent time to message
* fix last message in group logic
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* use real API
* remove extra tab icon
* messages list web layout + style improvements
* use style's text color for input
* make new chat button way more obvious
---------
Co-authored-by: Hailey <me@haileyok.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* add new routes with placeholder screens
* add clops list
* add a clop input
* add some better padding to the clops
* some more adjustments
* add rnkc
* implement rnkc
* implement rnkc
* be a little less weird about it
* rename clop stuff
* rename more clop
* one more
* add codegenerated lexicon
* replace hailey's types
* use codegen'd types in components
* fix error + throw if fetch failed
* remove bad imports
* update messageslist and messageitem
* import useState
* replace hailey's types
* use codegen'd types in components
* add FAB
* new chat dialog
* error + default search term
* fix typo
* fix web styles
* optimistically set chat data
* use cursor instead of last rev
* [Clipclops] Temp codegenerated lexicon (#3749)
* add codegenerated lexicon
* replace hailey's types
* use codegen'd types in components
* fix error + throw if fetch failed
* remove bad imports
* update messageslist and messageitem
* import useState
* add clop service URL hook
* add dm service url storage
* use context
* use context for service url (temp)
* remove log
* cleanup merge
* fix merge error
* disable hack
* sender-based message styles
* temporary filter
* merge cleanup
* add `hideBackButton`
* rm unneeded return
* tried to be smart
* hide go back button
* use `searchActorTypeahead` instead
---------
Co-authored-by: Hailey <me@haileyok.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Update persisted schema for new source of truth, implement in existing session
(cherry picked from commit b1e5f12baee932721d66c60dd51c981b46b0c274)
* Improve toasts, log caught error, during switch account
(cherry picked from commit fe0d1507063d2e532b7b1a447670b689292d1dc3)
* Handle thrown errors from initSession during login
(cherry picked from commit 2c85c045917e923901284b9ba310a82e28f37b5c)
---------
Co-authored-by: Eric Bailey <git@esb.lol>
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* add new routes with placeholder screens
* add clops list
* add a clop input
* add some better padding to the clops
* some more adjustments
* add rnkc
* implement rnkc
* implement rnkc
* be a little less weird about it
* rename clop stuff
* rename more clop
* one more
* [Clipclops] Temp codegenerated lexicon (#3749)
* add codegenerated lexicon
* replace hailey's types
* use codegen'd types in components
* fix error + throw if fetch failed
* remove bad imports
* update messageslist and messageitem
* import useState
* add clop service URL hook
* add dm service url storage
* use context
* use context for service url (temp)
* remove log
* nits
---------
Co-authored-by: Samuel Newman <mozzius@protonmail.com>
|
| | |
|
| |
| |
| |
| |
| | |
* Test fixes
* Intl extract
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* consistent improvements
* update messages.po
* improve translation
* improve translation
* fix punctuation issues
* remove superseded strings
* GIFs to GIF
* modify according to review suggestions
* fix some misnomers
* Update src/locale/locales/zh-TW/messages.po
Co-authored-by: cirx <133132480+cirx1e@users.noreply.github.com>
* Update src/locale/locales/zh-TW/messages.po
Co-authored-by: cirx <133132480+cirx1e@users.noreply.github.com>
* Update src/locale/locales/zh-TW/messages.po
Co-authored-by: cirx <133132480+cirx1e@users.noreply.github.com>
* Update src/locale/locales/zh-TW/messages.po
Co-authored-by: cirx <133132480+cirx1e@users.noreply.github.com>
* modify according to review suggestions
* modify according to review suggestions
* Update src/locale/locales/zh-TW/messages.po
Co-authored-by: Yuki Cheung <13027432+snowleo208@users.noreply.github.com>
* Update src/locale/locales/zh-TW/messages.po
Co-authored-by: Yuki Cheung <13027432+snowleo208@users.noreply.github.com>
* Update src/locale/locales/zh-TW/messages.po
Co-authored-by: Yuki Cheung <13027432+snowleo208@users.noreply.github.com>
* Update src/locale/locales/zh-TW/messages.po
Co-authored-by: Yuki Cheung <13027432+snowleo208@users.noreply.github.com>
* Update src/locale/locales/zh-TW/messages.po
Co-authored-by: Yuki Cheung <13027432+snowleo208@users.noreply.github.com>
* Update src/locale/locales/zh-TW/messages.po
Co-authored-by: Yuki Cheung <13027432+snowleo208@users.noreply.github.com>
* Update src/locale/locales/zh-TW/messages.po
Co-authored-by: Yuki Cheung <13027432+snowleo208@users.noreply.github.com>
* Update src/locale/locales/zh-TW/messages.po
Co-authored-by: Yuki Cheung <13027432+snowleo208@users.noreply.github.com>
* Update src/locale/locales/zh-TW/messages.po
Co-authored-by: Yuki Cheung <13027432+snowleo208@users.noreply.github.com>
* Update src/locale/locales/zh-TW/messages.po
Co-authored-by: Yuki Cheung <13027432+snowleo208@users.noreply.github.com>
* Update src/locale/locales/zh-TW/messages.po
Co-authored-by: Yuki Cheung <13027432+snowleo208@users.noreply.github.com>
* Update src/locale/locales/zh-TW/messages.po
Co-authored-by: Yuki Cheung <13027432+snowleo208@users.noreply.github.com>
* Update src/locale/locales/zh-TW/messages.po
Co-authored-by: Yuki Cheung <13027432+snowleo208@users.noreply.github.com>
* Update messages.po
Co-authored-by: cirx <133132480+cirx1e@users.noreply.github.com>
* Update messages.po
Co-authored-by: cirx <133132480+cirx1e@users.noreply.github.com>
* Update messages.po
Co-authored-by: cirx <133132480+cirx1e@users.noreply.github.com>
* modify according to review suggestions
* a small adjustment
---------
Co-authored-by: cirx <133132480+cirx1e@users.noreply.github.com>
Co-authored-by: Yuki Cheung <13027432+snowleo208@users.noreply.github.com>
|