Skip to content
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

More gen 22: Flow coverage exploration (remade) #9685

Merged

Conversation

chrisnojima
Copy link
Contributor

@chrisnojima chrisnojima commented Nov 27, 2017

Replaced #9575 . See that for comments

@chrisnojima chrisnojima changed the base branch from master to nojima/DESKTOP-more-gen-2-2 November 27, 2017 00:38
@chrisnojima
Copy link
Contributor Author

@keybase/react-hackers this is ready

Copy link
Contributor

@buoyad buoyad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good; a couple comments

@@ -423,7 +424,7 @@ function* _chatInboxFailedSubSaga(params) {
break
}
case RPCChatTypes.localConversationErrorType.otherrekeyneeded: {
const rekeyers = error.rekeyInfo.rekeyers
const rekeyers = (error.rekeyInfo && error.rekeyInfo.rekeyers) || []
yield Saga.put(ChatGen.createUpdateInboxRekeyOthers({conversationIDKey, rekeyers}))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this need to run if rekeyers is empty?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unclear, i don't want things to really logically change so lets keep it for now

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, sounds good

onHotkey: cmd => {
_onSelectNext: (rows: Array<Inbox.RowItemSmall | Inbox.RowItemBig>, direction: -1 | 1) =>
dispatch(
ChatGen.createSelectNext({rows: rows.map(r => ({conversationIDKey: r.conversationIDKey})), direction})
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need this map? if rows is already covariant with what createSelectNext wants?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think we should only send what we need and likely the answer is to make that type exact

@chrisnojima chrisnojima merged commit 33c29d5 into nojima/DESKTOP-more-gen-2-2 Nov 27, 2017
chrisnojima added a commit that referenced this pull request Nov 27, 2017
* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* pr feedback

* More gen 3 - profile generated 100% (#9427)

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* More Gen 4: Update rpc call typing (#9459)

* WIP

* WIP

* Fix requestInfo typing

* WIP

* WIP

* WIP

* WIP

* WIP

* mark props as readonly

* fix extra param

* More gen 6: Push (5 was abandoned) (#9499)

* gen push

* More gen 7: Search (#9500)

* gen search

* More gen 8 : app (#9501)

* WIP

* gen app

* More gen 9 - Dev + Devices (#9505)

* gen dev

* gen devices

* More gen 10: Gen favorites (#9506)

* gen favorite

* fix payload type

* More gen 11: gregor (#9507)

*  gen gregor

* More gen 12: Gen notifications (#9509)

* gen notifications

* WIP

* More gen 13: pgp gen (#9510)

* pgp gen

* More Gen 14: pinentry gen (#9511)

* pinentry gen

* More gen 15 - settings gen (#9519)

* settings gen

* More gen 16 - signup (#9524)

* signup gen

* plumb though clearDeviceNameError

* More gen 17 - tracker (#9536)

* WIP

* WIP

* WIP

* flowtype selectors

* WIP

* WIP

* WIP

* use s instead of state for helpers

* fix type

* exports at the bottom

* ignore bad usernames in reducer

* More Gen 18 : unlock folders (#9543)

* WIP

* WIP

* WIP

* More gen 19: split chat types/constants (#9548)

* split chat types/constants

* More gen 20: Split types/constants (#9549)

* split config

* split dev

* split devices

* plan billing

* split entities

* split engine

* remove bindActionCreators and fixup some issues

* More Gen 21: splitting the rest of the stores (#9552)

* split gregor

* split login

* split notifications

* pgp

* split pinentry

* split profile

* split push

* split route-tree

* split settings

* split signup

* split unlock folders

* split waiting

* fix buffer issue in mobile

* More gen 22: Flow coverage exploration (remade) (#9685)

* remake on top of squished 21

* rerun protocol

* merge base (#9686)
@chrisnojima chrisnojima deleted the nojima/DESKTOP-more-gen-was-22 branch December 20, 2017 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants