kagux / ex_debug_toolbar

A debug web toolbar for Phoenix projects to display all sorts of information about request

Home Page:https://hex.pm/packages/ex_debug_toolbar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question: Displaying historical requests (e.g. the post request before a get request)

roberthopman opened this issue · comments

Interested to know how to get the historical requests, e.g. the post/delete request before a get request.

Hey @roberthopman,

That's a great question and it has been on our minds recently. Technically, request data is accessible, and we build toolbar with historical data in mind.

We're debating on how it should be presented. Here're a couple of options:

  • separate UI (page/modal/etc) to display a list of requests with associated data (think of symfony)
  • a new panel with a list of recent requests (path, method, status, timestamp). clicking each row replaces data on toolbar with that of selected request.

We're leaning towards a panel with selectable request as it reuses same UI and requires the least amount of changes.

Ideas, feedback on this topic would be appreciated!

closed by #54