From 43ca77653600013482df9f95c7f3abf7dd06d785 Mon Sep 17 00:00:00 2001 From: Robin Olsen Date: Mon, 16 Mar 2026 12:43:19 +0100 Subject: [PATCH] improve ui descriptions --- cmd/pm/tasks/base.go | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/cmd/pm/tasks/base.go b/cmd/pm/tasks/base.go index 6d47c09..e69decf 100644 --- a/cmd/pm/tasks/base.go +++ b/cmd/pm/tasks/base.go @@ -57,20 +57,22 @@ func BaseDetails(interfaceType InterfaceType) TaskDetails { switch interfaceType { case InterfaceTypeREPL: - interfaceDesc = `How to use the REPL Interface -- The REPL interface allows you to interact with the task using a command-line interface. -- You can type commands to perform actions related to the task, such as creating issues, updating statuses, etc. -- The interface will provide prompts and feedback based on your inputs.` + interfaceDesc = `What is a REPL Interface? +- REPL stands for Read-Eval-Print Loop. It is an interactive programming environment that takes single user inputs (reads), executes them (eval), and returns the result to the user (print), then waits for the next input (loop). +- In this task, you will interact with the task through a REPL interface, which allows you to execute commands and receive immediate feedback in a command-line environment. +- You can type commands to perform actions related to the task, and the REPL will process those commands and provide responses based on your input. +- The REPL interface is designed to facilitate a more dynamic and interactive way of completing the task, allowing you to experiment and receive real-time feedback as you work through the task requirements.` case InterfaceTypeTUI: - interfaceDesc = `How to use the TUI Interface -- The TUI (Text User Interface) provides a more interactive experience in the terminal. -- You can navigate through menus, select options, and view task details in a structured format. -- Use keyboard shortcuts to perform actions and explore different sections of the interface.` + interfaceDesc = `What is a TUI Interface? +- TUI stands for Text User Interface. It is a user interface that uses text-based elements to allow users to interact with the application. +- The main way to interact with a TUI is through keyboard inputs, where you can navigate through menus, select options, and input data using the keyboard. +- In this task, you will interact with the task through a TUI interface, which provides a more structured and visually organized way to complete the task using text-based menus, forms, and other interactive elements. +- The TUI interface is designed to enhance usability and provide a more engaging experience while working through the task requirements, allowing you to navigate through options and input information in a more intuitive way.` case InterfaceTypeWeb: - interfaceDesc = `How to use the Web Interface -- The Web interface allows you to interact with the task through a web browser. -- You can access the interface by navigating to the provided URL. -- The interface will have buttons, forms, and other interactive elements to help you complete the task.` + interfaceDesc = `What is a Web Interface? +- A Web Interface is a user interface that is accessed through a web browser. It allows users to interact with the application using graphical elements such as buttons, forms, and menus. +- In this task, you will interact with the task through a Web interface, which provides a more visually rich and user-friendly way to complete the task using a web-based platform. +- The Web interface is designed to enhance usability and provide a more engaging experience while working through the task requirements, allowing you to navigate through options and input information in a more intuitive way using a graphical interface.` default: interfaceDesc = "Unknown Interface" }