Skip to content

[Feature Request] When a watch account is selected it should not show transactions option #333

@sasuke0787

Description

@sasuke0787

🚀 Feature Request

Feature Description
When a watch-only account is selected, transaction-related tabs (Transfer and Vouch) should be visually disabled in the UI to clearly indicate that these actions cannot be performed.

Motivation

Is your feature request related to a problem?

Currently, when a watch-only account is selected in Carpe, the transaction and vouch tabs remain visually active in the navigation bar, despite these functions being unavailable for watch-only accounts. This creates confusion for users who might click on these tabs expecting to perform transactions, only to find that they cannot proceed. This inconsistency between UI affordances and actual functionality leads to a frustrating user experience.

Proposed Solution

Describe your ideal solution

When a user selects a watch-only account:

  1. The Transfer and Vouch tabs should be visually disabled (grayed out) in the navigation bar
  2. Hovering over the disabled tabs should display a tooltip explaining why they are disabled (e.g., "This action is disabled for watch-only accounts")
  3. The disabled tabs should maintain proper alignment and styling within the navigation bar
  4. If a user attempts to navigate directly to these routes while a watch-only account is selected, they should be redirected to the wallet page

Alternative approaches you've considered

  1. Completely hiding the transaction tabs when a watch-only account is selected
  2. Maintaining the current behavior but showing an error message when a user tries to use these features
  3. Creating a special "read-only mode" UI state that's visibly different from the normal interface

Implementation willingness

Are you willing to open a pull request to implement this feature?

  • Yes, I can implement this
  • I need help implementing this
  • I'm just suggesting the idea

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions