Skip to content

Teams page: offer both "New team" and "+ New team in <team>" when a team is selected #1510

Description

@santoshkumarradha

Today the teams rail shows only + New team in <name> when a team is selected — the top-level + New team is only visible with no team selected. A selected team should offer both options: top-level + New team and nested + New team in <current team>.

Details

  • internal/tui3/teamspagedraw.go: teamsRailNew / teamsRailNewWords currently draw only the nested variant when a team is selected; add the top-level option alongside it.
  • internal/tui3/teamsacts.go: teamsActNewTeam with no id already creates a top-level team — wire the new row to it (nil id vs t.ID).
  • Maintain the narrow-rail two-row presentation and nesting-limit dim/hint behavior for the nested option.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:chatThe v3 surface a person sits in front of (internal/tui3)featureWork that adds a capability; developers break it into tasks

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions