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

[FEATURE] Configurable peer status visibility #144

Conversation

GenericStudent
Copy link
Contributor

This PR allows the user to configure the default visibility for all Peers on the Status page.

Personally I like to see all Peers on status page load as I don't have too many. It defaults to true (consistent with pre PR behaviour).

@GenericStudent GenericStudent force-pushed the feature/peers-status-visibility branch from 43b3376 to eda8cf5 Compare July 16, 2021 12:00
@Tigger2014 Tigger2014 added the enhancement New feature or request label Jul 16, 2021
@GenericStudent
Copy link
Contributor Author

GenericStudent commented Jul 22, 2021

@theonemcdonald is there a newer process for developing / pull requests / issues? I see the issues have been removed from this repo and and curious if I've skipped a process regarding this pr as I've got some more things I'd like to develop further.

Edit: also congrats on your employment change!

@GenericStudent
Copy link
Contributor Author

@theonemcdonald, I've rebased to bring this PR up-to-date with main. Is there any comments / objections to this PR?

@jeffjose
Copy link

Has the development ceased on the project, or happening elsewhere? Can you take a look at the 2 PRs that @GenericStudent has sent? Both seems pretty useful.

@rcmcdonald91
Copy link
Owner

rcmcdonald91 commented Aug 29, 2021 via email

@jeffjose
Copy link

That's fair, and thanks for being thoughtful to the folks who have been running this on production.

In the spirit of open-source, might I suggest you continue developing this package in the open, perhaps in a different branch and merge back to main/master only at bigger milestones?

@rcmcdonald91 rcmcdonald91 changed the base branch from main to feature-peer-visibility September 27, 2021 19:25
@rcmcdonald91 rcmcdonald91 merged commit e7e2a14 into rcmcdonald91:feature-peer-visibility Sep 27, 2021
rcmcdonald91 added a commit that referenced this pull request Sep 27, 2021
* [FEATURE] Configurable peer status visibility (#144)

* Rebased with upstream/main to resolve conflicts

* Status page now loads default peer visability from settings

* Store the hide_peers setting on POST

* Added GUI function to determine if the peers should be visible or not, based on config

* Added hide_peers config upgrade migration

* Corrected my bad assertion that POST param will carry 'no' value if the checkbox is ot checked

* Moved help text to be inline with other translatable help texts

* Missed gettext on settings

* Added CSS logic controlled by our default setting state, allows the non-flickering css hiding of peers on page load if user still wants it

Co-authored-by: R. Christian McDonald <rcmcdonald91@gmail.com>

* Cleanup peer visibility feature

Co-authored-by: Adam Cooper <13488006+GenericStudent@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
4 participants