Until now we have defined page sizes as global consts in our plugins, this caused some
duplicated code if the page size is needed in both politeiawww & politeiad.
In #1598 I solved that be defining the comment votes page size as plugin setting, that
way we have it available in both places and easily configurable by sys admin without
any code changes.
We would like to convert all existing global consts to plugin settings as well.
Until now we have defined page sizes as global consts in our plugins, this caused some duplicated code if the page size is needed in both
politeiawww
&politeiad
.In #1598 I solved that be defining the comment votes page size as plugin setting, that way we have it available in both places and easily configurable by sys admin without any code changes.
We would like to convert all existing global consts to plugin settings as well.