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

NNS1-3348 display public neuron badge #5500

Merged
merged 28 commits into from
Sep 25, 2024

Conversation

coskucinkilic
Copy link
Contributor

@coskucinkilic coskucinkilic commented Sep 20, 2024

Motivation

Make public neurons easily identifiable

Changes

Add IconPublicBadge and Tooltip
Add isNeuronVisibilityPublic neuron util and related tests
Update tableNeuronsFromNeuronInfos to include isPublic which derives from neuroninfo.visibility
Update NeuronIdCell page object

screenshots:
Screenshot 2024-09-20 at 15 47 13
Screenshot 2024-09-20 at 15 46 53

Tests

Tests has been added for new utils, and display of the badge and tooltip text
No e2e tests because currently you cannot create a public neuron.

Todos

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

@coskucinkilic coskucinkilic requested a review from a team as a code owner September 20, 2024 10:49
@coskucinkilic coskucinkilic force-pushed the NNS1-3348-display-public-neuron-badge branch from ff223fd to c90ef7d Compare September 23, 2024 16:11
“Cosku and others added 20 commits September 24, 2024 12:57
We want to pull in the latest changes.

* Ran `npm run update:gix`

* CI should pass
* The pulled in changes should have been tested before being committed
to their repositories.

Co-authored-by: gix-bot <gix-bot@users.noreply.github.com>
# Motivation
We want to pull in the latest changes.

# Changes


* Ran `npm run upgrade:next`

# Tests

* CI should pass
* The pulled in changes should have been tested before being committed
to their repositories.

Co-authored-by: gix-bot <gix-bot@users.noreply.github.com>
…5501)

# Motivation
A newer release of the internet computer is available.
We want to keep our Cargo dependencies up to date.

# Changes
* Ran `scripts/update-ic-cargo-deps` to update the Cargo.toml
dependencies to the latest IC release.

# Tests
* See CI

Co-authored-by: gix-bot <gix-bot@users.noreply.github.com>
# Motivation
We would like to render all the latest proposal types.
Even with no changes, just updating the reference is good practice.

# Changes
* Update the version of `IC_COMMIT_FOR_PROPOSALS` specified in
`dfx.json`.
* Updated the `proposals` candid files to the versions in that commit.
* Updated the Rust code derived from `.did` files in the proposals
payload rendering crate.

# Tests
- [ ] Please check the API updates for any breaking changes that affect
our code.
  - [ ] Please check for new proposal types and add tests for them.

Breaking changes are:
  * New mandatory fields
    * Removing mandatory fields
    * Renaming fields
    * Changing the type of a field
    * Adding new variants

Co-authored-by: gix-bot <gix-bot@users.noreply.github.com>
@coskucinkilic coskucinkilic force-pushed the NNS1-3348-display-public-neuron-badge branch from 40a92ad to 36dd7de Compare September 24, 2024 10:59
Copy link
Contributor

@mstrasinskis mstrasinskis left a comment

Choose a reason for hiding this comment

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

Looks good, just a couple of questions.

@coskucinkilic coskucinkilic force-pushed the NNS1-3348-display-public-neuron-badge branch from b1381bd to 780952e Compare September 24, 2024 13:54
Copy link
Contributor

@mstrasinskis mstrasinskis left a comment

Choose a reason for hiding this comment

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

Thank you!

@coskucinkilic coskucinkilic added this pull request to the merge queue Sep 25, 2024
Merged via the queue into main with commit 6fa25c4 Sep 25, 2024
30 checks passed
@coskucinkilic coskucinkilic deleted the NNS1-3348-display-public-neuron-badge branch September 25, 2024 14:13
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