refactor: remove features beyond the UX plan

Drop additions that the UX plan does not ask for:

- the interactive label edit form; label edit now requires a flag
- label clone and the skip mode of label creation it needed
- repo rename rewriting the Git remote or tea.repository; it now
  warns that the remote still points to the old name
- the extra "source" remote on clones of pull mirrors
- run artifact download, which duplicates run download --zip
- 256-color and 24-bit label swatches; colors stay ANSI 16
- config list --show-source (config get keeps it)
- the membership and access GETs before team member/repo add and
  remove; Gitea's PUT and DELETE are idempotent

label edit/delete keep --by-name: it is the only way to address a
label whose name is a number that is also another label's ID.

Signed-off-by: bircni <bircni@icloud.com>
This commit is contained in:
bircni committed 2026-10-12 10:36:50 +02:00
1 parent 2ec16292f5
commit ea13c9e4f5
22 files changed
+69 -560

No files matched your search

+3 -4
View File
@@ -16,9 +16,8 @@ import (
// for scripts, without header, color or links.
type Display struct {
TTY bool
// Color enables SGR colors and emphasis on a TTY; TrueColor writes hex colors in 24-bit instead
// of the nearest of 256.
Color, TrueColor bool
// Color enables SGR colors and emphasis on a TTY.
Color bool
// Links enables OSC 8 links on the first table column on a TTY.
Links bool
// Markdown renders view bodies on a TTY.
@@ -79,7 +78,7 @@ func (c Cell) style(text string, d Display, link bool) string {
if c.Muted {
color = "muted"
}
text = Emphasis(paint(color, text, d.TrueColor), c.Bold)
text = Emphasis(Colorize(color, text, true), c.Bold)
}
return Hyperlink(c.Link, text, link && d.Links)
}