gno icon indicating copy to clipboard operation
gno copied to clipboard

feat(GovDAO): add activity page to highlight inactive GovDAO's members

Open Davphla opened this issue 3 months ago • 2 comments

Fix: #4715

Add a new sub-page "activity" on /r/gov/dao/v3/impl to check on Gnoweb the activities of voters. It also add a timestamp when member join, and creation / closing timestamp of proposal to track correct members activities.

Example of the activity page

# GovDAO Activity

## Members Activity
**[@1d5c47h6lta047h6lta047h6lta047h6lvhfyf2](/u/1d5c47h6lta047h6lta047h6lta047h6lvhfyf2)**: 1/1 (100.0%)
**[@1d5cjuv2lta047h6lta047h6lta047h6lvpa4mr](/u/1d5cjuv2lta047h6lta047h6lta047h6lvpa4mr)**: 0/1 (0.0%)
**[@1d5cjuvfwx9047h6lta047h6lta047h6l0640cd](/u/1d5cjuvfwx9047h6lta047h6lta047h6l0640cd)**: 0/1 (0.0%)
**[@1d5cjuvfwxyhrzh6lta047h6lta047h6lhwcnlj](/u/1d5cjuvfwxyhrzh6lta047h6lta047h6lhwcnlj)**: 0/1 (0.0%)
**[@1d5e47h6lta047h6lta047h6lta047h6l7arjx2](/u/1d5e47h6lta047h6lta047h6lta047h6l7arjx2)**: 0/1 (0.0%)
**[@1d5e97h6lta047h6lta047h6lta047h6l7w8k8v](/u/1d5e97h6lta047h6lta047h6lta047h6l7w8k8v)**: 0/1 (0.0%)
**[@1d5647h6lta047h6lta047h6lta047h6lpraph2](/u/1d5647h6lta047h6lta047h6lta047h6lpraph2)**: 0/1 (0.0%)
**[@1d5697h6lta047h6lta047h6lta047h6lpse9kv](/u/1d5697h6lta047h6lta047h6lta047h6lpse9kv)**: 0/1 (0.0%)
**[@1d5m97h6lta047h6lta047h6lta047h6ln6nnev](/u/1d5m97h6lta047h6lta047h6lta047h6ln6nnev)**: 0/1 (0.0%)

Davphla avatar Sep 05 '25 07:09 Davphla

🛠 PR Checks Summary

All Automated Checks passed. ✅

Manual Checks (for Reviewers):
  • [ ] IGNORE the bot requirements for this PR (force green CI check)
  • [ ] The pull request description provides enough details
Read More

🤖 This bot helps streamline PR reviews by verifying automated checks and providing guidance for contributors and reviewers.

✅ Automated Checks (for Contributors):

🟢 Maintainers must be able to edit this pull request (more info) 🟢 Pending initial approval by a review team member, or review from tech-staff

☑️ Contributor Actions:
  1. Fix any issues flagged by automated checks.
  2. Follow the Contributor Checklist to ensure your PR is ready for review.
    • Add new tests, or document why they are unnecessary.
    • Provide clear examples/screenshots, if necessary.
    • Update documentation, if required.
    • Ensure no breaking changes, or include BREAKING CHANGE notes.
    • Link related issues/PRs, where applicable.
☑️ Reviewer Actions:
  1. Complete manual checks for the PR, including the guidelines and additional checks if applicable.
📚 Resources:
Debug
Automated Checks
Maintainers must be able to edit this pull request (more info)

If

🟢 Condition met
└── 🟢 And
    ├── 🟢 The base branch matches this pattern: ^master$
    └── 🟢 The pull request was created from a fork (head branch repo: Davphla/gno)

Then

🟢 Requirement satisfied
└── 🟢 Maintainer can modify this pull request

Pending initial approval by a review team member, or review from tech-staff

If

🟢 Condition met
└── 🟢 And
    ├── 🟢 The base branch matches this pattern: ^master$
    └── 🟢 Not (🔴 Pull request author is a member of the team: tech-staff)

Then

🟢 Requirement satisfied
└── 🟢 If
    ├── 🟢 Condition
    │   └── 🟢 Or
    │       ├── 🟢 User jefft0 already reviewed PR 4731 with state APPROVED
    │       ├── 🟢 At least 1 user(s) of the team tech-staff reviewed pull request
    │       └── 🔴 This pull request is a draft
    └── 🟢 Then
        └── 🟢 Not (🔴 This label is applied to pull request: review/triage-pending)

Manual Checks
**IGNORE** the bot requirements for this PR (force green CI check)

If

🟢 Condition met
└── 🟢 On every pull request

Can be checked by

  • Any user with comment edit permission
The pull request description provides enough details

If

🟢 Condition met
└── 🟢 And
    ├── 🟢 Not (🔴 Pull request author is a member of the team: core-contributors)
    └── 🟢 Not (🔴 Pull request author is user: dependabot[bot])

Can be checked by

  • team core-contributors

Gno2D2 avatar Sep 05 '25 07:09 Gno2D2

Codecov Report

:white_check_mark: All modified and coverable lines are covered by tests.

:loudspeaker: Thoughts on this report? Let us know!

codecov[bot] avatar Sep 25 '25 21:09 codecov[bot]