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

Shorten view paths in spans #739

Open
stayallive opened this issue Jul 25, 2023 · 0 comments
Open

Shorten view paths in spans #739

stayallive opened this issue Jul 25, 2023 · 0 comments

Comments

@stayallive
Copy link
Collaborator

Problem Statement

When playing around with Laravel Folio I noticed the view spans have the full path the the views:

image

This is a little on the long and verbose side.

Solution Brainstorm

We should remove base_path() from those view paths turning:

/Users/alex/dev/sentry-laravel-test/resources/views/pages/users/[id].blade.php

In just:

/resources/views/pages/users/[id].blade.php

(since views can also be in the vendor folder and other places stripping away resources/views too seems a bit too much, so that's why I'm suggesting just the base_path())

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

No branches or pull requests

3 participants