New Features: reorder sections by dragging, and start segment on Enter key - #99
Closed
bastibe-muetec wants to merge 2 commits into
Closed
New Features: reorder sections by dragging, and start segment on Enter key#99bastibe-muetec wants to merge 2 commits into
bastibe-muetec wants to merge 2 commits into
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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 :) |
Author
|
I understand, that's why I labeled it explicitly as LLM-generated. I'll open an issue. |
This was referenced Jul 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
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:
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!