Skip to content

v0.4.0 map: Actions, added Projects, generated config #61

Description

@hammadmajid

Map for v0.4.0: Actions in the Picker, non-git Projects, a generated config, and removing the query argument. Breaking. Settled in a grilling session.

Notes

  • cdd is the TUI. Typed jumps from the command line are zoxide's job, so cdd takes no query and always opens the Picker.
  • Action is a new domain term: a named command bound to a key and run on the selected Project. Custom commands, remapping Enter, presets, "open git remote" and "run in the project dir" are all Actions.
  • Every feature ticket that adds a config key also adds it, commented, to config.example.toml (feat(cli): example config in releases and cdd config init/path/edit #70 adds that file, and a test keeps it valid). Tickets do not wait on feat(cli): example config in releases and cdd config init/path/edit #70 for this: whichever lands second adds the keys.
  • Removed config values (root, picker.layout = "grouped") and the removed query argument fail as plain invalid input, with no "removed in vX" messages.
  • refactor(picker): the Layout type names frame sizing, not the Layout #54 (rename the picker's Layout sizing struct to Metrics and LayoutStyle to Layout) is folded in as an independent refactor. The Grouped Layout it mentions is gone; only the renames still apply.
  • Working rules: micro commits in Conventional Commits format, one PR per ticket, no file over 300 lines, tests per package. Before merging: golangci-lint run ./... is clean locally, and gh pr checks <N> --watch is green (CI runs build, test, lint, the 300-line limit and goreleaser check).

Tickets

See sub-issues. Blocking edges are native issue dependencies.

Decisions so far

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

    wayfinder:mapWayfinder map: notes, decisions so far, and fog

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions