Enhance command structure and user feedback in task management

- Added SprintCmd to issues command group
- taskLoop hide survey related commands when in repl
- Updated coding task instructions for clarity
- Removed redundant SprintCmd registration
- Improved REPL command handling for better user experience avoiding a chash if users type pm
- Enhanced task UI to display additional information
This commit is contained in:
Robin Olsen
2026-04-03 11:19:57 +02:00
parent b3a52759ee
commit 1cfd23f1b0
6 changed files with 25 additions and 10 deletions

View File

@@ -120,7 +120,7 @@ func (m TaskModel) View() tea.View {
}
detailsText := fmt.Sprintf(
"Interface Type: %s | Time to complete: %s | Difficulty: %s",
"Interface Type: %s | Time to complete: %s | Difficulty: %s\n",
m.InterfaceType,
m.TimeToComplete,
m.Difficulty,
@@ -140,6 +140,7 @@ func (m TaskModel) View() tea.View {
centerInCard(descStyle.Render(m.Description)),
"",
centerInCard(detailsStyle.Render(detailsText)),
centerInCard(style.TextStyle.Render(`On your desktop "Task Details.txt" will contain the same details`)),
centerInCard(infoStyle.Render(m.interfaceHelpText())),
centerInCard(infoStyle.Render(m.getQuitHelpText())),
)