New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add search to main UI and/or to record dialog #274
Comments
I must admit that I very often scroll to yesterday, find the record similar to what I'm about to do, and "resume" it. So I think you do have a point. The challenge would be integrating it into the record dialog (because I think that's the place where such a feature would really shine). We already have two search modes (for tags, and presets). I'm not sure yet whether that's a downside (it would be confusing to add yet another mode), or an upside (3 modes is just one more than 2). So I think this will need some experimentation. |
Ok, I gave this a stab. The record dialog has an extra dropdown, and also shows recents when you start typing the first word (and it is not a tag). Let's see how this goes ... |
This is exactly what I was doing all the time 😆
This sounds great! So there will be three dropdowns, right? [Recent descriptions] [Recent tags] [Tag presets] How many entries are considered "recent"? Is there a way it can work with less recent entries? That's when the "scroll to previous day" behavior found its limit and I started using the search dialog. |
timetagger/timetagger/app/dialogs.py Lines 1369 to 1374 in 7c9cf3f
Could make this configurable ... |
It's released and deployed 🚀 |
12 weeks seems reasonable. For now I don't think I'd need to configure it to a different value. Also, thanks for the ultra fast release! I'm testing it and I'm loving it so far 👏 😎 |
I initially planned on parking the idea to give it time to think about. But I got nerd-sniped and went straight in 😆 |
Just came back here to say that this feature has proven to be SOOO useful 🤩 Thanks! |
I like the idea of this feature and the implementation. Yet what if there is a really old task I want to resume after years? In such a case I cannot find it in the recent list, since it's more than 12 months old. Would it be to performance heavy without such a limitation of the range and just get all used tags ever, yet with the sorting of the last usage or so? You wrote it could be configurable in the future, after all, hehe. Still wondering if a range of maybe 10 years would kill the app then! :D Also: any idea if there could be a way to access the recent descriptions with the keyboard? Like |
Only showing moderately recent tags is a deliberate choice because it would mostly be annoying to see tags of years before. Tags are light, so you probably should not care what tag you used 10 years ago 😉 but if you do, you can always use search to look it up. Then after using it once, its back in the list for another year. |
Stupid me, you are right. Yet one question: in your code snippet it says 12 weeks and you write one year here. What's correct? As always: thanks for this info and your reply! 😁 |
Then it's probably 12 weeks. I did not know the exact number. |
Summary
This is a feature request to make search more accessible and practical when creating new records, helping us to:
Current situation and use case
Possible improvements
or
2.a. Add a search button near the presets button. It would pop up the existing search window, and once you pick an entry in the search results, go back to the record creation/edition window with the selected description filled in.
2.b. Just start typing in the description field and see a drop-down list similar to the one in the search dialog, showing related options in real time. Clicking on one of the results would put it into the description field to be further edited if needed.
or
Any other ideas?
The text was updated successfully, but these errors were encountered: