Skip to content

Add Insert Row Below feature#373

Open
whispersnyc wants to merge 1 commit intotgrosinger:mainfrom
whispersnyc:claude/implement-advanced-tables-changes-01DbBzHtsK323tPDNJqCVgHu
Open

Add Insert Row Below feature#373
whispersnyc wants to merge 1 commit intotgrosinger:mainfrom
whispersnyc:claude/implement-advanced-tables-changes-01DbBzHtsK323tPDNJqCVgHu

Conversation

@whispersnyc
Copy link

This commit adds a new "Insert Row Below Current" feature to complement the existing "Insert Row Above Current" functionality. The implementation includes:

  • New insertRowBelow icon in src/icons.ts
  • New insert-row-below command in src/main.ts that can be bound to a hotkey
  • New insertRowBelow method in src/table-editor.ts
  • New UI button in src/table-controls-view.ts

The feature is implemented using the existing library methods by moving to the next row and then inserting, which effectively inserts a row below the current position.

Based on PR #107 from 2023, adapted for compatibility with current codebase.

This commit adds a new "Insert Row Below Current" feature to complement the existing "Insert Row Above Current" functionality. The implementation includes:

- New `insertRowBelow` icon in src/icons.ts
- New `insert-row-below` command in src/main.ts that can be bound to a hotkey
- New `insertRowBelow` method in src/table-editor.ts
- New UI button in src/table-controls-view.ts

The feature is implemented using the existing library methods by moving to the next row and then inserting, which effectively inserts a row below the current position.

Based on PR tgrosinger#107 from 2023, adapted for compatibility with current codebase.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments