Skip to content

Add resource-level access history #27

Description

@Lakes41

Difficulty: Hard

Type: Feature

Summary

Add a local access history view so users can review recent access checks, their outcomes, timestamps, and resource identifiers.

Current Behaviour

Access check results are shown after a check, but there is no visible history of previous checks in the app.

Expected Behaviour

Users should be able to view recent access checks and clear the history from settings or the access check screen.

Suggested Implementation

Create an access history store with local persistence. Record resource ID, guild ID where available, result status, reason, timestamp, and wallet address. Add a history section to the access check screen or a separate route.

Files or Areas Likely Affected

  • src/features/access/
  • app/access-check.tsx
  • app/settings.tsx
  • src/lib/storage/
  • src/components/
  • tests/

Acceptance Criteria

  • Successful access checks are stored in local history
  • Failed or denied access checks are stored with safe reason details
  • History is scoped to the active wallet
  • Users can clear access history
  • Reset app state clears access history
  • Tests cover storing, displaying, and clearing history

Additional Notes

Do not store sensitive request headers or secrets. Keep history limited to user-facing access metadata.

Metadata

Metadata

Assignees

No one assigned

    Labels

    GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial CampaignCampaign: Official Campaign

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions