Skip to content

Conversation

@Alenar
Copy link
Collaborator

@Alenar Alenar commented Oct 30, 2024

Content

This PR include remove the Pending Certificate component from the explorer.

To fill part of the empty place left by it the Epoch Settings component layout is changed to be horizontal, plus this supplementary horizontal space allow to show its two buttons ("signer registrations" & "in/out registrations") instead of stacking them.
Here is how it looks:
image

This PR also:

  • Adapt the Epoch Settings component to the new naming scheme defined in Refactor protocol parameters namings in signer/aggregator #1966 (with a fallback for aggregator that have still be updated).
  • Change the way that data are fetched: data are updated when reloading or changing the selected aggregator regardless of the state of the pause/resume button.

Pre-submit checklist

  • Branch
    • Tests are provided (if possible)
    • Crates versions are updated (if relevant)
    • CHANGELOG file is updated (if relevant)
    • Commit sequence broadly makes sense
    • Key commits have useful messages
  • PR
    • No clippy warnings in the CI
    • Self-reviewed the diff
    • Useful pull request description
    • Reviewer requested

Issue(s)

Closes #2025, closes #1966

@Alenar Alenar self-assigned this Oct 30, 2024
@github-actions
Copy link

github-actions bot commented Oct 30, 2024

Test Results

    4 files  ±0     51 suites  ±0   10m 30s ⏱️ ±0s
1 415 tests ±0  1 415 ✅ ±0  0 💤 ±0  0 ❌ ±0 
1 626 runs  ±0  1 626 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 825e6ab. ± Comparison against base commit 678e6e9.

♻️ This comment has been updated with latest results.

Copy link
Collaborator

@dlachaume dlachaume left a comment

Choose a reason for hiding this comment

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

LGTM 🚀. Thanks for adapting after the refactoring of the protocol parameters naming!

Copy link
Member

@jpraynaud jpraynaud left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@Alenar Alenar force-pushed the djo/2025/remove_pending_cert_from_explorer branch from bc5ad1b to b97b850 Compare October 30, 2024 15:08
@Alenar Alenar temporarily deployed to testing-preview October 30, 2024 16:32 — with GitHub Actions Inactive
@Alenar Alenar temporarily deployed to testing-sanchonet October 30, 2024 16:32 — with GitHub Actions Inactive
…ing component

* Remove `Protocol Parameters` as it's deprecated
* Rename `Next Protocol Parameters` to `Registration Protocol Parameters`
  and use `signer_registration_protocol` as source with a fallback to
  `next_protocol` if missing (for retrocompatibility with old
  aggregators).

Refs: #1966
Now data will be updated even if the auto refresh is paused if:
- at first loading
- when the selected aggregator is changed
But disabled if the data needed to construct their target url is not yet
available.
@Alenar Alenar force-pushed the djo/2025/remove_pending_cert_from_explorer branch from b97b850 to 825e6ab Compare October 30, 2024 17:57
@Alenar Alenar temporarily deployed to testing-preview October 30, 2024 18:05 — with GitHub Actions Inactive
@Alenar Alenar temporarily deployed to testing-sanchonet October 30, 2024 18:05 — with GitHub Actions Inactive
@Alenar Alenar merged commit 814ab15 into main Oct 30, 2024
47 checks passed
@Alenar Alenar deleted the djo/2025/remove_pending_cert_from_explorer branch October 30, 2024 18:07
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.

Remove pending certificate from explorer Refactor protocol parameters namings in signer/aggregator

4 participants