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

feat: added configuration options to K-menu #109

Merged
merged 28 commits into from
Oct 6, 2022

Conversation

jimezesinachi
Copy link
Contributor

No description provided.

@jimezesinachi
Copy link
Contributor Author

jimezesinachi commented Sep 23, 2022

I haven't connected the options to state yet. Just wanted you to review the current flow of the K-Menu to see if the options and language are consistent

Copy link
Member

@TimoGlastra TimoGlastra left a comment

Choose a reason for hiding this comment

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

left some nits, but looks good overall. Only thing is that there are some options that can't be configured yet (e.g. only present proof v1 is in this release of AFJ rest and there's only one ledger to choose from), however we can just add an options menu with one choice for now I guess

client/src/utils/KBar.tsx Show resolved Hide resolved
client/src/utils/KBar.tsx Outdated Show resolved Hide resolved
client/src/utils/KBar.tsx Outdated Show resolved Hide resolved
@janrtvld
Copy link
Contributor

janrtvld commented Sep 26, 2022

Looks good! I would change the wording around a bit as the options aren't preferred i.e. i would change select your preferred ledger to just select ledger (and the same for the other options).

Could you also add the 'shortcut' property so you can easily navigate using your keyboard?

@jimezesinachi
Copy link
Contributor Author

@janrtvld the createInvitation now works, but there is other issue with offerCredential. Looking at it right now

client/src/slices/configuration/configurationSlice.ts Outdated Show resolved Hide resolved
client/src/slices/connection/connectionThunks.ts Outdated Show resolved Hide resolved
cypress/e2e/usecase_page.cy.ts Outdated Show resolved Hide resolved
client/src/pages/onboarding/steps/SetupConnection.tsx Outdated Show resolved Hide resolved
@jimezesinachi
Copy link
Contributor Author

Fixed use of configuration state, but there is anoher issue with the findByOutOfBandId which seems to be recursively calling but returning no payload

@jimezesinachi jimezesinachi requested review from janrtvld and removed request for berendsliedrecht September 27, 2022 20:08
client/src/utils/KBar.tsx Outdated Show resolved Hide resolved
client/src/utils/KBar.tsx Outdated Show resolved Hide resolved
client/src/slices/configuration/configurationSlice.ts Outdated Show resolved Hide resolved
@janrtvld
Copy link
Contributor

Great work! Can you also process some of the details Timo has described in #94 ?

cypress/e2e/legacy_invitation_usecase_page.cy.ts Outdated Show resolved Hide resolved
cypress/e2e/legacy_invitation_usecase_page.cy.ts Outdated Show resolved Hide resolved
client/src/utils/KBar.tsx Outdated Show resolved Hide resolved
cypress/e2e/oob_invitation_usecase.cy.ts Outdated Show resolved Hide resolved
client/src/slices/characters/charactersSlice.ts Outdated Show resolved Hide resolved
client/src/store/configureStore.tsx Outdated Show resolved Hide resolved
client/src/utils/KBar.tsx Outdated Show resolved Hide resolved
Copy link
Member

@TimoGlastra TimoGlastra left a comment

Choose a reason for hiding this comment

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

Can't really comment on the cypress tests (@janrtvld can), but really excited about this. Great work!

@jimezesinachi
Copy link
Contributor Author

Thanks @TimoGlastra

Copy link
Contributor

@janrtvld janrtvld left a comment

Choose a reason for hiding this comment

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

Almost there! Few comments but overall looks good!

Could you also create an option in the CMD+K menu that completely resets the demo (demo/RESET)? So we have 2 options of resetting: resetting only the state and resetting the whole demo including the configuration options.

cypress/e2e/issue_credential_version_1_use_case.cy.ts Outdated Show resolved Hide resolved
cypress/e2e/issue_credential_version_1_use_case.cy.ts Outdated Show resolved Hide resolved
cypress/e2e/issue_credential_version_1_use_case.cy.ts Outdated Show resolved Hide resolved
cypress/e2e/issue_credential_version_2_use_case.cy.ts Outdated Show resolved Hide resolved
@janrtvld janrtvld linked an issue Oct 6, 2022 that may be closed by this pull request
…5000ms & feat: added resetState to K-menu and Onboarding page

Signed-off-by: Jim Ezesinachi <[email protected]>
client/src/utils/KBar.tsx Outdated Show resolved Hide resolved
client/src/utils/KBar.tsx Outdated Show resolved Hide resolved
client/src/utils/KBar.tsx Outdated Show resolved Hide resolved
@TimoGlastra TimoGlastra merged commit e420008 into animo:main Oct 6, 2022
@jimezesinachi jimezesinachi deleted the feat/add-configuration-screen branch November 25, 2022 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants