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

No active field for non-votable neurons #6375

Merged
merged 6 commits into from
Feb 11, 2025

Conversation

mstrasinskis
Copy link
Contributor

Motivation

In today's implementation, you can have neurons that are unlocked but have been inactive for so long that the "confirm following" warning appears. This is undesired, so the followee confirmation warning shouldn't be shown if the neuron cannot vote.

This PR ensures that the neuron activity field is not displayed on the neuron details page when there is not enough dissolve delay to vote.

Changes

  • Updated visibility logic for the neuron activity field.

Tests

  • Added.
  • Tested locally.

Todos

  • Add entry to changelog (if necessary).
    Not necessary

@mstrasinskis mstrasinskis changed the title No active field for unlocked neurons No active field for non-votable neurons Feb 10, 2025
@mstrasinskis mstrasinskis marked this pull request as ready for review February 10, 2025 16:57
@mstrasinskis mstrasinskis requested a review from a team as a code owner February 10, 2025 16:57
@dskloetd
Copy link
Contributor

Can you look at the failing tests?

@mstrasinskis mstrasinskis marked this pull request as draft February 11, 2025 08:38
@mstrasinskis mstrasinskis marked this pull request as ready for review February 11, 2025 09:20
@mstrasinskis
Copy link
Contributor Author

Can you look at the failing tests?

@dskloetd, thanks for the heads-up!

@mstrasinskis mstrasinskis added this pull request to the merge queue Feb 11, 2025
Merged via the queue into main with commit 742222e Feb 11, 2025
32 checks passed
@mstrasinskis mstrasinskis deleted the no-active-field-for-unlocked-neurons branch February 11, 2025 10:29
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