Introduce global requests history window#448
Conversation
|
😢 😢 😢 |
|
Why did you close this @julienbourdeau? My apologies for the delay. It's hard to get around to reviewing large feature implementations like this without having discussed design/implementation details in the ticket, as I usually have to go in and change a ton of stuff in order for it to fit with Yaak's architecture and UI/UX. I think this is likely a feature I will implement myself because of the larger scope, but I will be sure to give you contribution credit in the repo if I do. Thanks for taking the time on it! |
|
I mainly closed it because there was many conflicts. It's surprisingly not that much code for the feature because I reused many components.
I'm happy to get your take and modify it if you want, but I totally get that you'd rather do it yourself. |
Summary
This is getting close but it's still a work in progress.
I'm adding a global history window to see all previous requests, with their body, method and so on. It's mostly frontend work but there is some database schema change needed. I believe this should live together with the existing history per request, not replace it.
Small DB change
Because of the way history works now, some attributes are not saved and rely on the current request. Like
method,nameandbody_type. I have added those to the response table.UI and features
I went for a separate window because I like it more. It's accessible via the
cmd + Kpalette.I added a button to collapse all requests, to delete all requests, to delete one request. I'm missing one button to replay/restore a request specifically.
HTTP + Graphql
For now, only http and graphql requests are supported. gRPC and websocket could be handled in a future release. Ideally, I'd add filters at the very top and you can see only one type at the time. They are in different tables so it's annoying to handle pagination and such. And I think you only really need to see one at a time.
Any feedback is very welcome!
Submission
CONTRIBUTING.md.Approved feedback item (required if not a bug fix or small-scope improvement):
https://yaak.app/feedback/posts/show-global-history
Related
Screenshots
Short video
CleanShot.2026-04-25.at.14.04.44.mp4