In D9158#269711, @ashoat wrote:Awesome that we get the health check for free! I assume we'll need to implement something on the client for that to work, yes? The Tunnelbroker client in keyserver currently uses the ws library for Node.js
- Feed Queries
- All Stories
- Search
- Feed Search
- Transactions
- Transaction Logs
Feed All Stories
All Stories
All Stories
Sep 13 2023
Sep 13 2023
varun updated the test plan for D9114: [native] update action types and reducer for setting comm access token.
varun updated the diff for D9114: [native] update action types and reducer for setting comm access token.
address feedback (CommSecureStore changes will come later, but wanted to acknowledge the comment)
atul published D9174: [native] Replace `listDataSelector` with `useMemo` in `ChatThreadList` for review.
Sep 12 2023
Sep 12 2023
atul updated the diff for D9171: [native] Lift `onPressItem` and `onPressSeeMoreSidebars` to `ConnectedChatThreadList`.
stage all
atul updated the diff for D9132: [native] Lift `openedSwipeableID`/`numItemsToDisplay` state to `ConnectedChatThreadList`.
land
Awesome that we get the health check for free! I assume we'll need to implement something on the client for that to work, yes? The Tunnelbroker client in keyserver currently uses the ws library for Node.js
In D9142#269446, @atul wrote:What's the command to run tests? Can they be run without any additional configuration?
ginsu updated the diff for D9119: [native] use stringForUserExplicit function to determine username text for profiles.
rebase before landing
ginsu updated the diff for D9094: [native] move BottomSheetModalProvider to inside NavigationContainer.
rebase before landing
rebase before landing
spelling :/
address @atul's feedback
ginsu accepted D9132: [native] Lift `openedSwipeableID`/`numItemsToDisplay` state to `ConnectedChatThreadList`.
thanks for fixing this!
Personal preference is memoization "inside" the component w/ useMemo hook so everything is self-contained and memoization is consistent and whatnot, but this is valid
atul requested changes to D9120: [native] update UserProfileBottomSheet to get a userInfo from a userID.
atul updated the diff for D9132: [native] Lift `openedSwipeableID`/`numItemsToDisplay` state to `ConnectedChatThreadList`.
address @ginsu's feedback
varun committed rCOMM269eddc91b6b: [Keyserver/rust] Used shared identity client (authored by • jon).
atul updated the diff for D9131: [native] Lift `[threads/users]SearchResults` state to `ConnectedChatThreadList`.
rebase and land
What's the command to run tests? Can they be run without any additional configuration?
atul updated the diff for D9130: [native] Lift `search[Status/Text]` state to `ConnectedChatThreadList`.
rebase and land
ashoat added inline comments to D9120: [native] update UserProfileBottomSheet to get a userInfo from a userID.
I wonder if it would be possible to rewrite this to use React hooks instead of createSelector. I believe that all uses of createSelector can be replaced by React.useMemo. The selector funcs passed to createSelector turn into dep lists. React hooks are more modern idioms than createSelector, but I'm not sure as to all of the tradeoffs.
ashoat requested changes to D9129: [lib] utility function to get array of OneTimeKeys from an OLMOneTimeKeys object.
Can we dedup this with the existing getOneTimeKeyValues? Looks like D8751 moves it around.
I think the reason is that ChatContextProvider renders dummy nodes for height measurement, and now those dummy nodes need navigation state since they might be rendering a link to a chat
Thank you!!
ashoat added inline comments to D9114: [native] update action types and reducer for setting comm access token.
ashoat requested changes to D9114: [native] update action types and reducer for setting comm access token.
- I think we should implement a separate reducer for this. We should expect that the access token will need to be cleared for a log out, account deletion, and session invalidation. For an example, see here
- I think the reducer should be in lib, since this action will be shared with web. I think it should be possible to submit this diff purely on lib, without touching native or web
- Please keep in mind that we will also need this info to be in CommSecureStore for @marcin's purposes, since he needs to be able to access it from native code (and NSE in particular)
Nice!! Some nonstandard stuff in this diff; requesting changes in the hopes that we can use the more standard mechanisms
If the UX change originating from this diff is not acceptable the alternative approach we can experiment with is to silence every collapsible notifications and schedule local notifications from the NSE. This way we will be able to set request.identifier property (since we are the ones creating the UNNotificationRequest instance) and let the OS do the coalescing.
Update coalescing condition.
Looking at the code of our Olm fork, it looks like the only effect of calling mark_prekey_as_published() is on the result of calling unpublished_prekey(). The only place we check unpublished_prekey is in the above code, where we use it to make sure that we don't throw away an old prekey before the newer prekey is published.
LGTM, mostly just a rename
What happens if this action fails?
kamil added reviewers for D7691: [Keyserver] Open websocket connection with tunnelbroker: bartek, michal.
JS looks good, but I don't know Rust so couldn't review that part
inka added a comment to D9120: [native] update UserProfileBottomSheet to get a userInfo from a userID.
Is it possible that a user with this id will not be in our store?