add --reverse to history list#1252
add --reverse to history list#1252conradludgate merged 8 commits intoatuinsh:mainfrom kiran-4444:feat/history-list-reverse
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
First off, please change this to be a Draft PR. |
|
Documentation is missing for the new parameter |
|
One last question here would be, if it would be better to get the result sorted from the DB instead of reverse the vec afterwards. I would argue, in this case here, reverse should be fine, but obviously not the most optimal way of doing things. |
|
I asked for Draft, as it was titled WIP. But it looks like its more than WIP. |
I'm intimidated to change that |
@ellie / @conradludgate probably have an opinion here. |
We can avoid any reversing in sql or in code. In atuin/atuin/src/command/client/history.rs Line 116 in fbed286 We can choose whether we want to iterate over Let me know if you want some more help navigating the rust side of implementing this |
Yeah, I need some help with that. |
|
@kiran-4444 you might want to consoder to remove the WIP and make it an active PR |
|
If no longer wip just mark as active :) |
|
Are there any issues I can work on? Went through issues list... but I just some help in selecting one. |
Tried working on this issue: #1239
This is a WIP and a very minimal (and brute force) implementation I did to get a hang of the repo. Seeking feedback on this. Thanks!