Repository navigation
feat: offline support #1527
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
vishalnarkhede
merged 69 commits into
v5-release
from
vishal/offline-support-with-hydration-1
Aug 2, 2022
Merged
feat: offline support #1527
Changes from all commits
Commits
Show all changes
69 commits
Select commit
Hold shift + click to select a range
def03f1
feat: offline support
madsroskar ec67fbc
Merge branch 'develop' of https://github.com/GetStream/stream-chat-re…
vishalnarkhede c22f808
refactor: drop un-used function pragmaUserVersion
vishalnarkhede e7552ed
refactor: reverting changes to ChannelPreview
vishalnarkhede 36e5656
fix: fixing migration code issue
vishalnarkhede 79ba34a
refactor: drop limits from queries
vishalnarkhede 49da68a
refactor: handling of message.read events and reads entity
vishalnarkhede 3c184ee
refactor: added members to separate table
vishalnarkhede 94020bf
refactor: relative explicit query with left join to enrich users
vishalnarkhede a1a4a3c
refactor: cleanup and reorganizing
vishalnarkhede 25deac9
Merge branch 'santhosh/improve-pagination' of https://github.com/GetS…
vishalnarkhede 6bfddd2
refactor: added index and foreign key constraints
vishalnarkhede 09f488b
refactor: changes to be compatible with js client
vishalnarkhede a06fa2d
test: mocking sqlite
vanGalilea e6db270
refactor: added missing fields on channels table
vishalnarkhede b15c766
Merge branch 'steve/testing-with-sql' of https://github.com/GetStream…
vishalnarkhede 0c61dbe
refactor: changes to be in sync with event from js client
vishalnarkhede 10d1840
refactor: renaming table and cleanup of columns
vishalnarkhede 8742a26
refactor: moving all quick-sqlite logic to separate class
vishalnarkhede db95a7c
test: added simple test for offline support
vishalnarkhede f58706d
Merge branch 'develop' of https://github.com/GetStream/stream-chat-re…
vishalnarkhede d94fe72
Merge branch 'v5-release' of https://github.com/GetStream/stream-chat…
vishalnarkhede dd66ba8
refactor: handle member related events
vishalnarkhede 361a65e
refactor: added usage of sync api
vishalnarkhede ee089eb
refactor: cleaning up un-necessary packages
vishalnarkhede 34c9d12
refactor: fixed issue with update message foreign key constraint failure
vishalnarkhede c88fdc8
refactor: cleanup
vishalnarkhede 64330a5
refactor: cleanup
vishalnarkhede e5ffbff
tests: writing tests for offline feature
vishalnarkhede 1a34123
refactor: removed dev-menu package and usage
vishalnarkhede 53489ce
Merge branch 'v5-release' of https://github.com/GetStream/stream-chat…
vishalnarkhede b353545
refactor: remove unused initDevMenu import
vishalnarkhede d42e9b8
refactor: remove un-used flipper packages
vishalnarkhede e5b9604
docs: adding code comments
vishalnarkhede 74211ef
refactor: removing unnecessary generics
vishalnarkhede dd5a326
refactor: cleanup of mapper functions
vishalnarkhede e3ce37e
refactor: renaming offlineChannelsActive to staticChannelsActive
vishalnarkhede 0e94be2
refactor: removed metro config changes
vishalnarkhede 6bcdd1f
buiild: fixed issue with manual release script
vishalnarkhede 2deea16
refactor: cleanup of handleEventToSyncDB
vishalnarkhede d5bc9a5
refactor: fixing lint issue
vishalnarkhede 1d19d61
fix: removed redundant usage of useStreami18n hook
vishalnarkhede 2851b34
fix: issue with message not displayed in static state
vishalnarkhede 697d7c0
build: updating stream-chat version
vishalnarkhede 2654425
fix: issue with appendWhereClause and undefined value
vishalnarkhede 04f91f3
fix: issue with members state initialization
vishalnarkhede 7a7e7ab
build: do not format on save
vishalnarkhede dd6e003
fix: issue mapping memberCount to api response
vishalnarkhede ebb8306
build: upgrading stream-chat version
vishalnarkhede 939b1f3
fix: reposition image error indicator
madsroskar 653d8e5
Merge branch 'mads/reposition-image-error-indicator' of https://githu…
vishalnarkhede 2134c6b
refactor: use network error handling to useLoadingImage
vishalnarkhede cf0b111
Merge branch 'v5-release' of https://github.com/GetStream/stream-chat…
vishalnarkhede d8e1598
fix: image loading issue after network is recovered
vishalnarkhede 20f2af3
fix: logic for sync api and lint issues
vishalnarkhede faee446
feat: point cameraroll dependency to the stream fork version
santhoshvai 779fc57
Merge branch 'v5-release' of https://github.com/GetStream/stream-chat…
vishalnarkhede ef1bb2c
Merge branch 'vishal/offline-support-with-hydration-1' of https://git…
vishalnarkhede 24fa3f2
fix: message.new event handling
vishalnarkhede 64e0350
Merge branch 'v5-release' of https://github.com/GetStream/stream-chat…
vishalnarkhede 8c366a2
refactor: remove unnecessary client as hook dep
vishalnarkhede 66b32f1
refactor: code review changes
vishalnarkhede 9aa56e2
refactor: moving offline support logic to Chat component
vishalnarkhede ea828c3
refactor: fix lint and typescript issues
vishalnarkhede a02f1f6
refactor: handle quick-sqlite not being installed in better way
vishalnarkhede 0284459
Merge branch 'develop' into vishal/offline-support-with-hydration-1
santhoshvai b79edfe
Merge branch 'v5-release' of https://github.com/GetStream/stream-chat…
vishalnarkhede bb475cb
Merge branch 'vishal/offline-support-with-hydration-1' of https://git…
vishalnarkhede b507295
docs: lint fixes
vishalnarkhede File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| { | ||
| "editor.formatOnSave": true | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Curious can this be?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, our client needs to have user set before we can load Chat components. Basically SDK should know which user is trying to access the data. E.g. logic around isMyMessage or own_reactions.etc