Skip to content

New Features: reorder sections by dragging, and start segment on Enter key - #99

Closed
bastibe-muetec wants to merge 2 commits into
Ellpeck:masterfrom
bastibe-muetec:drag-reorder
Closed

New Features: reorder sections by dragging, and start segment on Enter key#99
bastibe-muetec wants to merge 2 commits into
Ellpeck:masterfrom
bastibe-muetec:drag-reorder

Conversation

@bastibe-muetec

@bastibe-muetec bastibe-muetec commented Jul 17, 2026

Copy link
Copy Markdown

Thank you very much for your super simple time tracker. It does exactly what I needed, and is beautifully executed!

However, there were two features I have wanted since I started using the plugin two years ago:

  • a faster way of starting segments, and
  • the ability to reorder segments.

Reordering is useful when I forgot a segment in the middle somewhere. In the past, I'd copy a line in the source block, and then edit the line. But reordering is easier, I can just add the segment like any other, and then move it to the right place.

To implement these two features, the "new segment" text box now starts the segment on Enter. And segments can now be reordered by dragging-and-dropping. To that end, I inserted a little invisible drag handle to the left margin of each segment that only becomes visible on hover. Only the drag handle drags, the rest of the line remains editable as usual. Here's a screenshot where my mouse is hovering over the highlighted line:

grafik

Admittedly, and explicitly, these changes were written by Claude. I've tried in the past to change the super simple time tracker on my own, but typescript, web-dev, and node in particular were too much for me, so I gave up on it. For what it's worth, the code changes do look reasonable to me, and I've been running them locally without issue, so this was not a completely hands-off vibe code.

Once again, thank you for your plugin, I use it daily, and find it tremendously useful and well-designed!

bastibe-muetec and others added 2 commits July 17, 2026 09:10
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Ellpeck

Ellpeck commented Jul 20, 2026

Copy link
Copy Markdown
Owner

I love this idea! Unfortunately, I don't generally accept AI-generated content into any of my projects, and i've finally gotten around to writing a proper policy on this. Because of that, I'll be closing this pull request, but please feel free to reformulate the idea into a new issue, where you mention/link this PR for reference :)

@Ellpeck Ellpeck closed this Jul 20, 2026
@bastibe-muetec

Copy link
Copy Markdown
Author

I understand, that's why I labeled it explicitly as LLM-generated. I'll open an issue.

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