In D8900#271640, @ashoat wrote:
- Feed Queries
- All Stories
- Search
- Feed Search
- Transactions
- Transaction Logs
Feed All Stories
All Stories
All Stories
Sep 20 2023
Sep 20 2023
bartek accepted D9224: [native] commCoreModule methods for getting, setting, and clearing the commServicesAccessToken.
@kamil for changes related to data clearance. I didn't add him as a blocking reviewer since he might be absent for a longer time. But if he is back quickly I would appreciate his review on the data clearance.
This does not handle pending threads (more precisely sidebars created from a message). It's might be fine depending on the use case but I it feel like it should have a code comment in that case. Also agree with @tomek comments.
Overall looks good but I have a question. In the test plan you write:
const searchMessagesActionObj: KeyserverCall<
[SearchMessagesRequest],
SearchMessagesResponse,
> = {
actionFunc: searchMessages,
config: { keyserverSelection: 'fanout' },
};but shouldn't the return type be [SearchMessagesResponse] as it's a fanout action?
Restricted Repository Identity closed D9148: [web/keyserver] Handle different thread ids in url.
Restricted Repository Identity closed D9147: [lib/web/native] Improve conversion utils.
Michal Gniadek <michal.gniadek@swmansion.com> committed rCOMM343bd71fd30c: [web/keyserver] Handle different thread ids in url.
Restricted Repository Identity closed D9146: [keyserver] Remove unused params in validation functions.
Michal Gniadek <michal.gniadek@swmansion.com> committed rCOMM375b9a2daeff: [lib/web/native] Improve conversion utils.
Restricted Repository Identity closed D9145: [web] Remove intial redux state from website responders.
Michal Gniadek <michal.gniadek@swmansion.com> committed rCOMMaa7f66c5cd0f: [keyserver] Remove unused params in validation functions.
Michal Gniadek <michal.gniadek@swmansion.com> committed rCOMMa5f187026876: [web] Remove intial redux state from website responders.
Restricted Repository Identity closed D9141: [web] Use new intial redux state.
Restricted Repository Identity closed D9140: [web] Add setInitialReduxState action.
Restricted Repository Identity closed D9124: [keyserver] Implement `getInitialReduxStateResponder`.
Michal Gniadek <michal.gniadek@swmansion.com> committed rCOMM99b1b9cd5ba1: [web] Add setInitialReduxState action.
Michal Gniadek <michal.gniadek@swmansion.com> committed rCOMM227c0f38d084: [web] Use new intial redux state.
Michal Gniadek <michal.gniadek@swmansion.com> committed rCOMMe1f05c7d2e87: [keyserver] Implement `getInitialReduxStateResponder`.
Restricted Repository Identity closed D9122: [keyserver] Introduce getInitialReduxStateResponder.
Michal Gniadek <michal.gniadek@swmansion.com> committed rCOMM11d3d25c2b1f: [keyserver] Introduce getInitialReduxStateResponder.
Restricted Repository Identity closed D9111: [keyserver] Remove old current user info.
Michal Gniadek <michal.gniadek@swmansion.com> committed rCOMM9cb13605580b: [keyserver] Remove old current user info.
I'm no longer using entityTextToRawString since I only need to extract alternative text. Please take a look at the latest diff, 31258. Throughout the entire stack, I use the useResolvedThreadInfo hook. Also, I'm not handling ENS names in this stack; user mentions are handled as they were before. The only change was made in the search index -> however this change does affect mentioning in the input bar only. I can add a comment that the new search index needs to be refactored to support ENS names.
varun requested review of D9236: [keyserver] Update keyserver delete account endpoint to not require password.
varun updated the test plan for D9224: [native] commCoreModule methods for getting, setting, and clearing the commServicesAccessToken.
varun added a comment to D9224: [native] commCoreModule methods for getting, setting, and clearing the commServicesAccessToken.
I ended up adding a new setCommServicesAuthMetadata method because we will set user id, device id, and access token all at once initially, but subsequently may need to update just the access token.
also changed getCommServicesAccessToken to getCommServicesAuthMetadata since we will need to retrieve all three at once
varun updated the diff for D9224: [native] commCoreModule methods for getting, setting, and clearing the commServicesAccessToken.
address feedback
Sep 19 2023
Sep 19 2023
simplify
No reviewers on this
Thought about this some more... I suspect you haven't given much thought to ENS names, and to properly handle it will need updates across the whole stack, from the search index, to the display of results, to the representation of the "markdown", to the final rendering of the tag.
ashoat added reviewers for D9234: [keyserver] Skip early exit in deleteThread if ignorePermissions: rohan, inka.
atul committed rCOMMbb73b304a2e6: Bump webpki from 0.22.0 to 0.22.1 in /services/feature-flags (authored by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>).
atul committed rCOMMeb3e37ff76d6: Bump webpki from 0.22.0 to 0.22.1 in /services/backup (authored by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>).
atul committed rCOMM5b994dbc623d: Bump webpki from 0.22.0 to 0.22.1 in /services/comm-services-lib (authored by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>).
atul committed rCOMM88f1887d900f: Bump webpki from 0.22.0 to 0.22.1 in /services/blob (authored by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>).
atul committed rCOMM92f52ec682b5: Bump webpki from 0.22.0 to 0.22.1 in /services/tunnelbroker (authored by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>).
atul committed rCOMM50c9eb9535d9: Bump webpki from 0.22.0 to 0.22.1 in /services/reports (authored by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>).
atul committed rCOMMe52697f28480: Bump webpki from 0.22.0 to 0.22.1 in /services/commtest (authored by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>).
atul committed rCOMMd2f9770dca2b: Bump electron from 25.3.0 to 25.8.1 (authored by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>).
atul committed rCOMM55f60fee8c1a: Bump webpki from 0.22.0 to 0.22.1 in /services/identity (authored by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>).
atul committed rCOMMb2deff08ea76: Bump apollo-server-core from 3.11.1 to 3.12.1 (authored by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>).
atul committed rCOMMcbe88c3eecd2: Bump rustls-webpki from 0.101.3 to 0.101.4 in /services/identity (authored by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>).
atul committed rCOMM2d17a1619894: Bump activesupport from 6.1.7.3 to 6.1.7.6 in /native (authored by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>).
atul committed rCOMM3796da87658b: Bump rustls-webpki in /keyserver/addons/rust-node-addon (authored by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>).
atul committed rCOMMe3acc63103fd: Bump rustls-webpki from 0.101.3 to 0.101.4 in /shared/grpc_clients (authored by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>).
atul committed rCOMMacd5e89c8ec8: Bump rustls-webpki from 0.100.1 to 0.100.2 in /services/tunnelbroker (authored by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>).
atul updated the diff for D9228: [iOS] Set `_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION` flag to unblock iOS build.
rebase and land
Okay, please make sure that upstream React Native does this on all builds too before landing!
(I think the profiler gets disabled on prod builds, I'll do a little more research)
In D9233#271796, @ashoat wrote:It seems sketchy to do this in production, especially given it's undocumented. I'm worried about the potential impact on performance. Can we restrict this change to dev builds?
ashoat added a comment to D9233: [iOS] Add `withEnableSampleProfiling(true)` to `makeRuntimeConfig`.
It seems sketchy to do this in production, especially given it's undocumented. I'm worried about the potential impact on performance. Can we restrict this change to dev builds?
ashoat updated the diff for D9232: [keyserver] Prevent creation of sidebars from pinned message robotext.
Also prevent sidebar creation from a CHANGE_ROLE robotext. Context is in ENG-4981... this change won't solve the issue (since the client app crashes in the pending sidebar, before the sidebar creation can even go through) but it's probably a good idea
ashoat published D9232: [keyserver] Prevent creation of sidebars from pinned message robotext for review.
ashoat published D9231: [keyserver] Move sidebar-of-sidebar check earlier in createThread for review.
ashoat published D9230: [keyserver] Delete sidebars created from pinned message robotexts for review.
atul published D9233: [iOS] Add `withEnableSampleProfiling(true)` to `makeRuntimeConfig` for review.
ashoat added a comment to D9227: [patch] Patch `expo-modules-core` to unblock iOS build on macOS Sonoma.
Is there a GitHub issue in Expo's GitHub repo for this?
atul published D9227: [patch] Patch `expo-modules-core` to unblock iOS build on macOS Sonoma for review.
bartek added inline comments to D9224: [native] commCoreModule methods for getting, setting, and clearing the commServicesAccessToken.
Rebase before landing