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

Add docs and tests for #2973 #2990

Merged
merged 3 commits into from
Aug 12, 2022
Merged

Conversation

R0Wi
Copy link
Contributor

@R0Wi R0Wi commented Aug 9, 2022

Like discussed in #2973

@R0Wi R0Wi added the feature: select Related to the NcSelect* components label Aug 9, 2022
@R0Wi R0Wi added this to the 6.0.0 milestone Aug 9, 2022
@R0Wi
Copy link
Contributor Author

R0Wi commented Aug 9, 2022

/backport to stable5

@@ -20,6 +20,7 @@
"lint": "eslint --ext .js,.vue src",
"lint:fix": "eslint --ext .js,.vue src --fix",
"test": "jest --verbose",
"test:coverage": "jest --verbose --coverage --no-cache",
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this necessary?

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 used make test-coverage and noticed this command doesn't work because the script test:coverage wasn't present so i fixed this. It's not necessary but i think it's nice if the Makefile stages work :-)

Copy link
Contributor

@raimund-schluessler raimund-schluessler left a comment

Choose a reason for hiding this comment

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

Examples don't work.

@R0Wi
Copy link
Contributor Author

R0Wi commented Aug 10, 2022

Examples don't work.

Thank's for your quick feedback. Could you tell me what exactly does not work and how you tested this? Then i'll try to reproduce the issue. Thank you

@raimund-schluessler
Copy link
Contributor

Examples don't work.

Thank's for your quick feedback. Could you tell me what exactly does not work and how you tested this? Then i'll try to reproduce the issue. Thank you

The MultiselectTags of your examples are not shown in the docs preview. See https://deploy-preview-2990--nextcloud-vue-components.netlify.app/#/Components/Multiselect?id=multiselecttags

@R0Wi
Copy link
Contributor Author

R0Wi commented Aug 10, 2022

Examples don't work.

Thank's for your quick feedback. Could you tell me what exactly does not work and how you tested this? Then i'll try to reproduce the issue. Thank you

The MultiselectTags of your examples are not shown in the docs preview. See https://deploy-preview-2990--nextcloud-vue-components.netlify.app/#/Components/Multiselect?id=multiselecttags

Ah okay, now i see. I didn't realize that the examples are interactive so my sample code is incomplete. Will fix this, thank's for pointing out.

Copy link
Contributor

@raimund-schluessler raimund-schluessler left a comment

Choose a reason for hiding this comment

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

The second example throws quite some errors in the console and is not reactive:
Bildschirmfoto vom 2022-08-11 22-24-47

@R0Wi R0Wi force-pushed the feature/add-docs-tests#2973 branch from 8117bc8 to aa98906 Compare August 12, 2022 05:24
Signed-off-by: R0Wi <ro.windey@gmail.com>
Signed-off-by: R0Wi <ro.windey@gmail.com>
@R0Wi R0Wi force-pushed the feature/add-docs-tests#2973 branch from aa98906 to 0e8ccc2 Compare August 12, 2022 05:25
@R0Wi
Copy link
Contributor Author

R0Wi commented Aug 12, 2022

Missunderstood the docs code. I think now it should be fixed 👍

Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>

Signed-off-by: Raimund Schlüßler <raimund.schluessler+github@mailbox.org>
Copy link
Contributor

@raimund-schluessler raimund-schluessler left a comment

Choose a reason for hiding this comment

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

Works now. I just committed a very minor nitpick.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: select Related to the NcSelect* components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants