Skip to content

[Improvement] Add a confirmation toast when copying a Stellar address anywhere in the app #111

Description

@grantfox-oss

Getting Started

  1. Fork the repository: https://github.com/JointSave-org/Joint_Save
  2. Clone your fork:
   git clone https://github.com/<your-username>/Joint_Save.git
   cd Joint_Save
  1. Create a new branch:
   git checkout -b improve/copy-address-toast-consistency

Overview

Different parts of the app handle "copy address" slightly differently — some show a brief icon-swap (checkmark) with no toast, others may not give feedback at all. This issue is about auditing every copy-to-clipboard action involving a Stellar address (wallet address in the header, contract address on the group detail page, member addresses in the member list) and making the confirmation feedback consistent everywhere.

Requirements

  • Audit dashboard-header.tsx, group-details.tsx, and group-members.tsx for any copy-to-clipboard actions
  • Standardize on: icon swaps to a checkmark briefly AND a toast confirmation appears (e.g. "Address copied"), consistent everywhere
  • Use the existing toast system (useToast hook) rather than introducing a new pattern

Acceptance Criteria

  • Every copy-address action in the audited files shows the same consistent feedback pattern
  • No regressions to existing working copy buttons
  • List every copy-to-clipboard location found during the audit in the PR description, even ones not in the three files explicitly named above

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

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