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

Add view collector #679

Merged
merged 3 commits into from
Aug 19, 2019
Merged

Add view collector #679

merged 3 commits into from
Aug 19, 2019

Conversation

barryvdh
Copy link
Contributor

This adds a Watcher for the Views/templates.
The RequestWatcher logs the latest view, but not any other views/subviews which might be useful.
The extractDataFromView could be re-used, but I think that would generate a lot of data / cost in CPU.
Icon is the same as Model, not sure where the SVG's are coming from to pick one.
Fixes #677
(Assets are not compiled because of potential merge conflicts)

@barryvdh barryvdh changed the base branch from master to 2.0 August 15, 2019 16:50
@taylorotwell
Copy link
Member

Can you screenshot what it looks like?

@barryvdh
Copy link
Contributor Author

I've updated the path to strip the base path, and filters some data that is always present.

Index:
image
Details:
image

Request tab:
image

@taylorotwell
Copy link
Member

taylorotwell commented Aug 16, 2019

The icons are Zondicons it looks like: https://www.zondicons.com/icons.html

You can try to pick one you think is appropriate.

@taylorotwell
Copy link
Member

Maybe show-sidebar icon?

@barryvdh
Copy link
Contributor Author

Sure, updated it.

@taylorotwell taylorotwell merged commit 8930619 into laravel:2.0 Aug 19, 2019
@barryvdh barryvdh deleted the feat-views branch August 19, 2019 13:47
@barryvdh
Copy link
Contributor Author

Thanks? Don't forget this still needs a compilation of assets.

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

Successfully merging this pull request may close these issues.

Views/Templates watcher
2 participants