Skip to content
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

Updating the bar data client side #689

Open
bchubb-web opened this issue Oct 11, 2024 · 2 comments
Open

Updating the bar data client side #689

bchubb-web opened this issue Oct 11, 2024 · 2 comments

Comments

@bchubb-web
Copy link

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

@parallels999
Copy link
Contributor

@barryvdh
Copy link
Collaborator

so partial data? I was thinking about adding some ajax support via #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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants