-
Notifications
You must be signed in to change notification settings - Fork 22
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
AA Brick Configuration: show a single error for invalid configuration #8070
Comments
…ote fetch brick errors (#8377) * fix page editor formik validation, set formik error state in async select widget, and remove the useFieldAnnotations hook * create context to pass analysis selector * extract the field annotation mapping and re-use in schema field * fix context in tests * add formik errors to schema field * fix async select error test * fix storyshots * fix snapshot * fix lint * auto add strict null checks * add files to strict null checks * implement field template local error functionality, fix snapshots * revert previous, just call formik setError(null) instead * fix tests * use constant for default array value * cleanup * restore localError functionality, and fix field template constant * update snapshots * fix placeholder and test * add a describe block to explain some tests * cleanup * extract default selector --------- Co-authored-by: Ben Loe <ben@pixiebrix.com>
@BLoe @grahamlangford I've reopened because the initial PR was a refactoring and didn't implement the change from this issue |
…a Context, and add test coverage (#8399) * fix page editor formik validation, set formik error state in async select widget, and remove the useFieldAnnotations hook * create context to pass analysis selector * extract the field annotation mapping and re-use in schema field * fix context in tests * add formik errors to schema field * fix async select error test * fix storyshots * fix snapshot * fix lint * auto add strict null checks * add files to strict null checks * implement field template local error functionality, fix snapshots * revert previous, just call formik setError(null) instead * fix tests * use constant for default array value * cleanup * restore localError functionality, and fix field template constant * update snapshots * fix placeholder and test * add a describe block to explain some tests * cleanup * wip * extract default selector * refactor other remote select widgets, move field local error to context, and write lots of tests * add files to null checks * fix snapshots --------- Co-authored-by: Ben Loe <ben@pixiebrix.com>
@BLoe as mentioned during round-up, I think you'll want to double-check the "validate token" endpoint works for both OAuth2 and username/password-based tokens: https://www.notion.so/pixiebrix/Weekly-Roundup-for-2024-05-03-2e9e5e20e71a42c18c178a8e11a20110?pvs=4#5ca03dbdcfeb4efab7077271d4327f27 |
…IntegrationConfig` (#8423) * fix page editor formik validation, set formik error state in async select widget, and remove the useFieldAnnotations hook * create context to pass analysis selector * extract the field annotation mapping and re-use in schema field * fix context in tests * add formik errors to schema field * fix async select error test * fix storyshots * fix snapshot * fix lint * auto add strict null checks * add files to strict null checks * implement field template local error functionality, fix snapshots * revert previous, just call formik setError(null) instead * fix tests * use constant for default array value * cleanup * restore localError functionality, and fix field template constant * update snapshots * fix placeholder and test * add a describe block to explain some tests * cleanup * wip * extract default selector * refactor other remote select widgets, move field local error to context, and write lots of tests * add files to null checks * fix snapshots * add config validation to RequireIntegrationConfig * add link to edit config, and fix integrations page * add retry action * cleanup * add some tests * cleanup, fix tests, update snapshots * pr feedback * cleanup test --------- Co-authored-by: Ben Loe <ben@pixiebrix.com>
Context
Describe the bug
RequireIntegrationConfig
to take an optional "test" URL for testing the integration configuration works. For AA a good one would be/v1/usermanagement/users/self
Discussion
pixiebrix-extension/src/contrib/automationanywhere/BotOptions.tsx
Line 74 in b2b87d2
To Reproduce
Steps to reproduce the behavior:
Related Code
pixiebrix-extension/src/contrib/google/sheets/ui/RequireGoogleSheet.tsx
Line 47 in b2b87d2
The text was updated successfully, but these errors were encountered: