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

Remove withVersioning parameter of rver-fragment shortcode. #1971

Merged
merged 2 commits into from
Oct 14, 2024

Conversation

zecakeh
Copy link
Contributor

@zecakeh zecakeh commented Oct 13, 2024

Since #1884, we detect automatically in the added-in and changed-in shortcodes whether we need to add text according to the page's room version so this parameter has become unnecessary.
Moreover, forgetting to set this param can remove the text generated by the shortcodes so it is safer to just get rid of it.

Case in point, two [New in this version] were missing:

Pull Request Checklist

Preview: https://pr1971--matrix-spec-previews.netlify.app

We now detect automatically in the `added-in` and `changed-in` shortcodes
whether we need to add text according to the page's room version so this parameter
has become unnecessary.
Moreover, forgetting to set this param can remove the text generated by the
shortcodes so it is safer to just get rid of it.

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
@zecakeh zecakeh requested a review from a team as a code owner October 13, 2024 10:50
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
Copy link
Member

@anoadragon453 anoadragon453 left a comment

Choose a reason for hiding this comment

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

Thanks!

@anoadragon453 anoadragon453 merged commit 48afe4f into matrix-org:main Oct 14, 2024
12 checks passed
@zecakeh zecakeh deleted the remove-withVersioning branch October 14, 2024 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants