10
310
Fork
You've already forked codeberg-cli
33

UX: Lost issue text when creating an issue with labels, but no labels present in project #200

Open
opened 2025年04月27日 15:45:28 +02:00 by frandeen · 0 comments

Hi, recent migrant from GitHub and gh here. I tried to create a new issue, with the presumption that there would be some default labels (enhancement, bug, etc.) that I could assign to it. Here's the behavior I saw:

❯ berg issue create
> Issue Title: Blah blah blah
> Choose optional properties Labels
> Open editor to write a description <received>
┌──────────────────────────────────────────────────────────────────────────────┐
│ There's nothing to select from │
│ │
│ Caused by: │
│ The prompt configuration is invalid: Available options can not be empty │
└─────

It seems as if my issue text got lost. There are a few ways I think this could have been handled better:

  • Rather than let me write a description, throw the error message as soon as I select labels (I'd still loose the issue title)
  • Just submit the issue as-is without any labels, and throw a warning like, "you need to run berg label create first"
  • Allow me to create labels interactively as part of the issue submission process
Hi, recent migrant from GitHub and `gh` here. I tried to create a new issue, with the presumption that there would be some default labels (enhancement, bug, etc.) that I could assign to it. Here's the behavior I saw: ``` ❯ berg issue create > Issue Title: Blah blah blah > Choose optional properties Labels > Open editor to write a description <received> ┌──────────────────────────────────────────────────────────────────────────────┐ │ There's nothing to select from │ │ │ │ Caused by: │ │ The prompt configuration is invalid: Available options can not be empty │ └───── ``` It seems as if my issue text got lost. There are a few ways I think this could have been handled better: - Rather than let me write a description, throw the error message as soon as I select labels (I'd still loose the issue title) - Just submit the issue as-is without any labels, and throw a warning like, "you need to run `berg label create` first" - Allow me to create labels interactively as part of the issue submission process
Sign in to join this conversation.
No Branch/Tag specified
main
v0.5.1
v0.5.0
v0.4.11
v0.4.10
v0.4.9
v0.4.8
v0.4.7
v0.4.6
v0.4.5
v0.4.4
v0.4.3
v0.4.1
v0.4.2
v0.4.0
v0.3.5
v0.3.4
v0.3.2
v0.3.1
v0.3.0
v0.2.1
v0.2.0
v0.1.1
v0.1.0
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Aviac/codeberg-cli#200
Reference in a new issue
Aviac/codeberg-cli
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?