Skip to content

Conversation

alan-rosenberg
Copy link
Contributor

@alan-rosenberg alan-rosenberg commented Sep 11, 2025

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:

Images:
Screenshot 2025-09-11 at 2 41 17 PM
Screenshot 2025-09-11 at 2 41 08 PM

Checklist:

  • I have added the relevant tests for this change.
  • I have added an item to the Pending section of docs/changes.rst.

Copy link
Member

@tim-schilling tim-schilling left a 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.

Comment on lines 17 to 18
def process_request(self, request):
self.record_stats({"community": "community"})
return super().process_request(request)
Copy link
Member

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.

@matthiask
Copy link
Member

Thanks for reviving this pull request!

Copy link
Member

@tim-schilling tim-schilling left a 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.

Copy link
Member

@matthiask matthiask left a 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)

@tim-schilling tim-schilling merged commit d717797 into django-commons:main Sep 12, 2025
26 checks passed
@tim-schilling
Copy link
Member

Thank you @andoriyaprashant and @alan-rosenberg for your work on this!

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.

Community panel does not show after first request Add toolbar community panel
4 participants