Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Move "Verified Only" Checkboxes to Moderators View #1866

Open
jjeffryes opened this issue Feb 6, 2020 · 0 comments
Open

Move "Verified Only" Checkboxes to Moderators View #1866

jjeffryes opened this issue Feb 6, 2020 · 0 comments

Comments

@jjeffryes
Copy link
Contributor

In settings/store and the purchase screen, the checkbox for showing verified moderators only is part of the store and purchase views respectively. This requires a state change for the entire view when he checkbox is toggled, which in turn re-renders all the child views.

It would be ideal if the checkbox was part of the moderators view, since it's directly controlling that view, and the state of the checkbox really only matters to the moderators view.

My initial suggestion is to add a showVerifiedCtrl option to the moderators view, and if true, it will show a checkbox with a "Show Only Verified Moderators" label.

Then parent views could decide if the checkbox should be shown, but not need to re-reend when it's toggled.

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

No branches or pull requests

1 participant