-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add Community Panel #2193
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 Community Panel #2193
Conversation
914a120
to
d18766c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great! I think there are some minor adjustments that will get it over the finish line. We also need to add to the default panels section in the panels.rst
documentation to include the new community panel. We also need to add to configuration.rst
for the DEBUG_TOOLBAR_PANELS
section.
debug_toolbar/panels/community.py
Outdated
def process_request(self, request): | ||
self.record_stats({"community": "community"}) | ||
return super().process_request(request) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know we discussed this as a bug in the toolbar, but we should fix that before merging this.
dd00aad
to
28c18d4
Compare
d18f75e
to
176fc4b
Compare
for more information, see https://pre-commit.ci
Thanks for reviving this pull request! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made some minor clean-ups. This looks good to me. I'll want @matthiask to review this before merging.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I think it's great!
(There's a way to globally ignore some folders instead of adding environment-specific stuff to .gitignore
but I don't care that much, especially since VS code is very common. https://git-scm.com/docs/gitignore)
Thank you @andoriyaprashant and @alan-rosenberg for your work on this! |
Description
This PR introduces a Community Panel to the Django Debug Toolbar, providing contributors with easy access to key community resources. Builds off of changes and feedback on this PR by @andoriyaprashant.
Changes Introduced:
Added Discussions link for community engagement.
Added Issues link for bug reporting and feature requests.
Added Contribution Guide link to encourage contributions.
Added Documentation link for quick access to official docs.
Added Resources link for learning how to use the debug toolbar.
Fixes Add toolbar community panel #2033
Fixes Community panel does not show after first request #2194
Images:


Checklist:
docs/changes.rst
.