HomePhorge

Improve command line prompts in setup issue pages

Description

Improve command line prompts in setup issue pages

Summary:
This is a follow-up to D25425, where these improvements to the CLI prompt markers were discussed.

Changes included in this revision:

  • Build all prompts the same way
  • Remove space after the prompt marker (add it via CSS instead)
  • Add server path prefix
  • Make the prompt unselectable

Test Plan:

  • Visit any of the setup issue pages, e.g. <PHORGE_URL>/config/issue/auth.config-unlocked/ (after ensuring that the corresponding issue is present — in this case, by doing ./bin/auth unlock)
  • For example, Deactivate all PHP extensions to trigger each /config/issue/extension.gd/ etc.
  • For example, update at least up to dc10a7e69ea3 to see the database upgrade tip etc.
  • Confirm that the command line prompts now include the path prefix
  • Confirm that selecting the command via double-click (or click-and-drag) does not select the prompt

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Tags: UX, Config

Differential Revision: https://we.phorge.it/D25466

Details

Provenance
waldyriousAuthored on Dec 7 2023, 16:21
waldyriousPushed on Dec 7 2023, 16:22
Reviewer
O1: Blessed Committers
Differential Revision
D25466: Improve command line prompts in setup issue pages
Parents
rP6c8329fb6614: Include 'published' date of posts in Phame Atom feeds
Branches
Loading...
Tags
Loading...