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

#336: Create show-if and hide-if macro #337

Merged
merged 7 commits into from
Oct 10, 2024
Merged

Conversation

Josue-T
Copy link
Contributor

@Josue-T Josue-T commented Sep 4, 2024

Implement show-if and hide-if macro

cf: #336

@Josue-T
Copy link
Contributor Author

Josue-T commented Sep 5, 2024

Still need to improve Groups and Users parameter to be nicely usable with WYSIWYG. -> done

* Move userlist and grouplist displayer in internal package so it can be reused by multiple macros
* Use UserList and GroupList type for show-if and hide-if macro parameter to have a nice UI to edit macro
@Josue-T Josue-T requested a review from trrenty October 7, 2024 14:47
Copy link
Contributor

@trrenty trrenty left a comment

Choose a reason for hiding this comment

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

I left some comments. You can merge after solving them

* Fix since tag
* Rename parameters for mor consistency
@Josue-T
Copy link
Contributor Author

Josue-T commented Oct 8, 2024

thanks @trrenty for the review. Note I don't have the merge right so I leave you to merge it. 😉

@raphj raphj merged commit 0d52249 into xwikisas:main Oct 10, 2024
@Josue-T Josue-T deleted the showhidemacro branch October 10, 2024 14:22
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.

3 participants