Skip to content

Improve UX for flow deps discover when core contracts are already installed #2043

@chasefleming

Description

@chasefleming

Problem

When running flow deps discover, users see only a few contracts available for installation instead of the expected 21 core contracts if they already have them installed. No explanation is provided for this discrepancy, which can be confusing since users expect to see all core contracts.

Root Cause

The command correctly filters out already-installed contracts but provides no feedback about this filtering. In projects with existing dependencies, this results in an almost empty selection list.

Solution

  • Add a footer message to the selection interface:
    “Note: X core contracts are already installed. Use flow deps list to view them.”
  • Add a new flow deps list command to display installed dependencies in a colorized table.
  • Enhance the prompt system to support informational footer messages.

Metadata

Metadata

Assignees

Labels

No labels
No labels

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