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

[pokeapi connector] tweak suggested examples #12849

Closed
wants to merge 1 commit into from
Closed

[pokeapi connector] tweak suggested examples #12849

wants to merge 1 commit into from

Conversation

swyxio
Copy link
Contributor

@swyxio swyxio commented May 13, 2022

What

Describe what the change is solving

pokeapi connector only accepts 1 pokemon, not a comma separated list, this examples string gives the wrong expectation

It helps to add screenshots if it affects the frontend.

image

User confusion in airbyte internal slack: https://airbytehq-team.slack.com/archives/C0372JHKC2D/p1652303028586519

How

Describe the solution

just reduce the examples for now since its an easy fix.

ideally the more permanent fix in our UI is to distinguish between what's a valid example (which can be an array), and what is valid placeholder text (which here can only be a single value)

pokeapi connector only accepts 1 pokemon, not a comma separated list, this examples string gives the wrong expectation
@github-actions github-actions bot added the area/connectors Connector related issues label May 13, 2022
@@ -12,7 +12,7 @@
"title": "Pokemon Name",
"description": "Pokemon requested from the API.",
"pattern": "^[a-z0-9_\\-]+$",
"examples": ["ditto, luxray, snorlax"]
"examples": ["pikachu"]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

just went for the more famous pokemon name 🤷

@swyxio
Copy link
Contributor Author

swyxio commented Jun 1, 2022

fixed by #12942

@swyxio swyxio closed this Jun 1, 2022
@swyxio swyxio deleted the patch-2 branch June 1, 2022 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/connectors Connector related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants