zed/crates/git_ui/TODO.md
Nate Butler 9f0f63f92b
Git panel refinements 2 (#21947)
Add entry list, scrollbar

Release Notes:

- N/A
2024-12-12 22:30:00 -05:00

1.1 KiB

General

  • Disable staging and committing actions for read-only projects

List

  • Add uniform list
  • Git status item
  • Directory item
  • Scrollbar
  • Add indent size setting
  • Add tree settings

List Items

  • Checkbox for staging
  • Git status icon
  • Context menu
    • Discard Changes

    • Ignore
    • Ignore directory

    • Copy path
    • Copy relative path

    • Reveal in Finder

Commit Editor

  • Add commit editor
  • Add commit message placeholder & add commit message to store
  • Add a way to get the current collaborators & automatically add them to the commit message as co-authors
  • Add action to clear commit message
  • Swap commit button between "Commit" and "Commit All" based on modifier key

Component Updates

  • ChangedLineCount (new)
    • takes lines_added: usize, lines_removed: usize, returns a added/removed badge
  • GitStatusIcon (new)
  • Checkbox
    • update checkbox design
  • ScrollIndicator
    • shows a gradient overlay when more content is available to be scrolled