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

fix: better logging for rewrites #11505

Merged
merged 3 commits into from
Jul 19, 2024
Merged

Conversation

ematipico
Copy link
Member

Changes

This PR enhances the logging of the dev server when there's a rewrite

Testing

I tested locally

Screenshot 2024-07-19 at 08 27 39

The logic of the colours stays the same, which means the colour reflects the final status code.

Docs

Copy link

changeset-bot bot commented Jul 19, 2024

🦋 Changeset detected

Latest commit: be104be

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added the pkg: astro Related to the core `astro` package (scope) label Jul 19, 2024
@ascorbic
Copy link
Contributor

I'd find it confusing to have the status of what the request would have been without a rewrite. The target is the one I'm interested in. Showing that it has been rewritten is good though.

@ematipico ematipico force-pushed the chore/better-logging-rewrites branch from fd130c7 to be104be Compare July 19, 2024 11:12
@ematipico
Copy link
Member Author

Screenshot 2024-07-19 at 12 13 04

Feedback applied

Copy link
Member

@delucis delucis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lovely stuff. Thanks @ematipico!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: astro Related to the core `astro` package (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants