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

fix: Get proper rich object for card actions #5351

Merged
merged 1 commit into from
Dec 6, 2023

Conversation

juliushaertl
Copy link
Member

@juliushaertl juliushaertl commented Dec 5, 2023

When moving over the card actions to a different component the computed cardRichObject was missing.

The actions are now covered with a test case registering a dummy action and asserting that its callback gets triggered with the expected result rich object when clicking the action.

We should think about enabling vue/no-undef-properties as eslint rule which could have catched this but unfortunately it throws a lot of unrelated errors with vuex mapGetters/mapState methods.

Copy link
Member

@nickvergessen nickvergessen left a comment

Choose a reason for hiding this comment

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

Works pretty well again, thanks a lot 🙇🏼

@juliushaertl juliushaertl merged commit 1f1732e into main Dec 6, 2023
15 checks passed
@juliushaertl juliushaertl deleted the bugfix/noid/card-actions branch December 6, 2023 08:50
@juliushaertl
Copy link
Member Author

/backport to stable28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deck card sharing - success message typo
2 participants