feat(tui): add Alt+N keybinding to create a new repo #353
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
thwap/steeper#353
Loading…
Reference in a new issue
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?
What
Add an
Alt+Nkeybinding that opens a "New Repository" form within the TUI.Why
Users currently must leave steeper and use the web UI or the Forgejo CLI to create a new repository. An in-TUI flow keeps the user in context.
Scope
Global —
Alt+Nmust work from any view (dashboard, explore tab, repo detail, etc.), not scoped to a specific tab.UX flow
Alt+Nfrom any viewTab/Shift+Tabnavigates between fieldsEntersubmitsEscapecancels and closes the formAPI
POST /api/v1/user/reposorPOST /api/v1/orgs/{org}/reposPayload:
States
Future
Alt+N forto feat(tui): add Alt+N keybinding to create a new reponew repowrite actionUpdate:
Alt+Shift+Nshould follow the same form flow but create an organization instead of a repo.Alt+N→ New repo dialog →POST /api/v1/user/reposAlt+Shift+N→ New org dialog →POST /api/v1/orgsFields for org creation would be simpler: name (required), full name, description, location, website. Same modal pattern, different API endpoint.
let's also center the "form" vertically as well as horizontally