Updating the bar data client side
At my current workplace we have a custom debug bar (we use an in house framework sadly) which i am attempting to migrate to this, my main issue is the loading of data.
our implementation caches the logs at the end of the request, and an ajax call is made to get the past N pages when the bar renders, as the logs can be HUGE
i am thinking of mapping our logs to what this package expects, and pass to 'duplicated' collectors.
my main issue is im not sure how to update the debug bars dataset to add this new data.
any help would be appreciated
so partial data? I was thinking about adding some ajax support via https://github.com/maximebf/php-debugbar/pull/670 Which would make it simpler to load stuff with ajax.
So then you would have a collector, without much data. But add logic to the collector to call the openhandler, receive more data and then add that.