Skip to content

Improve visibility for deprecated commands on the Commands reference page #2224

@sachinsinghsk13

Description

@sachinsinghsk13

🧩 Description

Currently, on the Redis Commands documentation page, deprecated commands (for example, SUBSTR) appear visually identical to active commands.

As a user, this creates confusion — I only discover a command is deprecated after opening its detailed page. It would improve clarity and user experience if deprecated commands were visually distinguished on the main list.

Image

✅ Proposed Enhancements

  1. Add a “Deprecated” label or badge next to deprecated command names.
  2. Optionally, use a different color tone or icon (e.g., faded or gray text) for deprecated commands.
  3. Provide a tooltip or hover note linking to the preferred replacement command (e.g., “Use GETRANGE instead of SUBSTR”).
  4. (Optional) Add a filter toggle like “Hide deprecated commands.”

💡 Why this matters

This change would:

Improve discoverability for new learners.

Reduce confusion around deprecated commands.

Encourage best practices (e.g., preferring GETRANGE over SUBSTR).

Provide a cleaner learning path for Redis 8.0 users.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions