| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Reduce page size for request
* Remove refetch interval entirely
* Add comment
* Optimistically mark as read
* Drop default active poll interval to 60s from 5min
* Only optimistically update unread count if success
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add send via chat button to post dropdown
(cherry picked from commit d8458c0bc344f993266f7bc7e325d47e40619648)
* let usePostQuery take uris with DIDs
(cherry picked from commit 16b577ce749fd07e1d5f8461e8ca71c5b874a936)
* add embed preview in composer
(cherry picked from commit 795ceb98d55b6a3ab5b83187a582f9656d71db69)
* rm log
(cherry picked from commit 374d6b8869459f08d8442a3a47d67149e8d9ddd4)
* remove params properly, or at least as close to
(cherry picked from commit c20e0062c2ca4d9c2b28324eee5e713a1a3ab251)
* show images in preview
(cherry picked from commit 5bb617a3ce00f67bfc79784b2f81ef8dcb5bfc25)
* Register embed immediately
(cherry picked from commit ee120d5438a2c91c8980288665576d6a29b4c7e7)
* Add hover to match embeds
(cherry picked from commit 5297a5b06e499f46a9f6da510124610005db2448)
* Update post dropdown copy
(cherry picked from commit bc7e9f6a4303926a53c5c889f1f1b136faf20491)
* Embed preview style tweaks
(cherry picked from commit 9e3ccb0f25ac2f3ce6af538bb29112a3e96e01b1)
* use hydrated posts from API and just use postembed component
(cherry picked from commit cc0b84db87ca812d76cc69f46170ae84cfdde4ef)
* fix type error
(cherry picked from commit 9c49b940e1248e8a7c3b64190c5cb20750043619)
* undo needless export
(cherry picked from commit 1186701c997c50c0b29a809637cb9bc061b8c0a0)
* fix overflow
(cherry picked from commit 8868d5075062d0199c8ef6946fabde27e46ea378)
---------
Co-authored-by: Eric Bailey <git@esb.lol>
|
|
|
|
|
| |
* send record via link in text
* re-trim text after removing link
|
|
|
|
|
| |
* Replace getAgent() with agent
* Replace {agent} with agent
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* Reduce polling a bit
* Bump to 60
* Increase all
* ok 3
|
|
|
|
|
|
|
| |
* Do not init event bus if no session
* Be explicit
* Simplify, fix log
|
| |
|
|
|
|
|
| |
* Suspend event bus when switching accounts
* Make effect symmetrical
|
| |
|
|
|
|
|
| |
* Don't retry sends
* Don't retry batch sends
|
|
|
|
|
|
|
|
|
| |
* Move comment, remove unused code
* Clean up sending
* Remove temp hack
* Remove debug
|
|
|
|
|
| |
* Handle send failures
* Add chat disabled state
|
|
|
| |
This reverts commit d424945eed752a366ac201470fdbb66d02999c86.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Handle block state when sending messages
* Handle different pending failures
* Use existing profile data to handle blocks
* Better cleanup, leave room for more
* Attempt recover upon next send
* Reset pending failure
* Capture unexpected error
* Gracefully handle network errors and recovery
* Re-align error components and types
* Include history fetching in recoverable states
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Pass whole object to MessageItem for clarity
* Add retry to pending-message
* Style send failure, retry
* Group pending messages
* Remove todos
* Fix types with fake message
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* drafts
* don't throw if no convo ID
* Remove labs package
---------
Co-authored-by: Eric Bailey <git@esb.lol>
|
|
|
|
|
|
|
|
|
| |
* Make status checks easier, fix load state
* Make naming more clear
* Split up types for easier re-use
* Replace hacky usage
|
|
|
|
|
|
|
| |
* Swap in new package, update usages
* Remove uneccessary patch
* Override type in safe place
|
|
|
|
|
| |
* Simplify message passing
* Setup/teardown events
|
|
|
|
|
| |
* Clean up after removal
* Remove console
|
|
|
|
|
|
|
|
|
|
|
| |
* remove extra loading states from chat
* nits
* fix scrolling animation to bottom
* nit
* move spinner to top
|
|
|
|
|
| |
* Handle errors, improve styling
* Remove old UI
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Integrate event bus
* Fixes
* Move events mgmt into Convo class
* Clean up poll interval updates
* Remove unused
* Remove annoying log
|
|
|
|
|
| |
* Refactor to singleton class outside react
* Fix retry, remove debug logs
|
| |
|
|
|
|
|
| |
* Remove unused prop
* Reorganize
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add badge
* move stringify logic to hook
* add mutation hooks
* optimistic mark convo as read
* don't count muted chats
* Integrate new context
* Integrate mark unread mutation
* Remove unused edit
---------
Co-authored-by: Eric Bailey <git@esb.lol>
|
|
|
|
|
| |
* Conditionally run global event bus
* Add current convo id context, bundle providers
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Handle init/resume/suspend/background and polling
* Add debug and temp guard
* Make state transitions sync
* Make init sync also
* Checkpoint: confusing but working state machine
* Reducer-esque
* Remove poll events
* Guard fetchConvo
(cherry picked from commit 8385579d31500bb4bfb60afeecdc1eb3ddd7e747)
* Clean up polling, make sync
(cherry picked from commit 7f75cd04c3bf81c94662785748698640a84bef51)
* Update history handling
(cherry picked from commit b82b552ba4040adf7ead2377541132a386964ff8)
* Check for screen focus in app state listener
* Get rid of ad-hoc status checks
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
| |
* Handle two common errors, provide more clarity around error states
* Handle failed polling
* Remove unused error type
* format
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* delete and copy
* add retry dialog if message send fails
* add layout animation
* fix `nextMessage` being incorrect
---------
Co-authored-by: Samuel Newman <mozzius@protonmail.com>
|
|
|
|
|
|
|
| |
* scroll on input resize
* add back the padding 🙊
* fix timestamps
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* rework the list for accessibility
* Reverse reverse
* progress
* good to start testing
* memo `MessageItem`
* small hack
* use our custom `List` impl
* use `ScrollProvider` for `onScroll` event
* remove use of `runOnJS`
* actually, let's keep it
* add some comments
---------
Co-authored-by: Eric Bailey <git@esb.lol>
|
|
|
|
|
|
|
| |
* Add history error
* Log error
* Add period
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
| |
* Handle message deletions
* Handle failures
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
| |
* Add convo retries, sketch out tests
* Only append nextMessage to messages
* Remove debug code
|