Modernizing the Debug Toolbar UI #2036
Replies: 4 comments 3 replies
-
I'm in favor of improving the UI. I think an accessibility panel would be neat to include too. I would recommend whatever is done, that it's done incrementally. |
Beta Was this translation helpful? Give feedback.
-
Thanks! I totally agree with Tim, let's improve things and let's do it incrementally. That being said, if you have a larger vision feel free to discuss that as well. |
Beta Was this translation helpful? Give feedback.
-
Hi folks, in the last couple of days, I've been working on a UI redesign for the DJDT. TLDR: Here's my POC on a redesign, maintaining the panels but rethinking their structure and layout: https://django-debug-toolbar-redesign.onrender.com And my thought process was:
At this point, I tried mocking the DJDT templates with hardcoded/mocked data, but to be honest, it was taking so long that it was easier to copy the entire templates and assets folders from the package, install them locally in a barebone Django project, and start changing them. This took about 20 hours of my last week, but I'm on a good point for showing this to you all. As that was meant to be a POC, I can't create a whole PR updating the templates and styles. I aim to validate my ideas, improve some UI aspects, and eventually decide on a feasible plan for this migration. I know this is a lot and kind of out of the blue, but I would appreciate any feedback and ideas about it. Also, let me know if sharing the whole project codebase would be helpful right now. If it's easier, we can keep using the play.tailwindcss.com environment to create more prototypes, change colors, or modify the overall layout. I will also attach some screenshots just in case you don't really want to poke around the testing app - but I highly recommend you do so if you're interested. Thanks! Let me know if there's anything else I can do to help this project progress. Right now, I'm focusing my free time on working on Django open-source packages—usually UI stuff, which I enjoy a lot, and the whole Django ecosystem needs that. |
Beta Was this translation helpful? Give feedback.
-
I wanted to share an idea that could be possible in the near future... that is a Django debug toolbar without "injecting" a toolbar. With the DjDT already has the
Maybe the "toolbar" in some form is still there, but clicking it jumps you straight to the detail page for the current request? Could be anything but the serialized data plus the API unlock a lot of potential ways to show the data. I just wanted to share the idea here in case it impacts the thoughts on your design. |
Beta Was this translation helpful? Give feedback.
-
Hi! I am a longtime user of the Django Debug Toolbar and an open-source contributor to several Python packages, including django-openfeature, which implements a custom panel for feature flags powered by OpenFeature.
Over the years, the Debug Toolbar has been an invaluable tool for me. Still, some of its functionality and design choices have not aged as well as others. When I compare it to similar offerings like the Vercel Toolbar or the Astro Dev Toolbar, I can’t help but feel that there’s room for improvement.
Besides working on a more modern look, I’ve noticed a few areas where enhancements could make a big difference. For example:
I’d like to gauge community interest in exploring updates to the UI and layout of the built-in panels. If there’s enthusiasm for this, I’d love to discuss the best way to approach these changes.
The Django Debug Toolbar is a workhorse of Django app development, and I believe we have a great opportunity to improve the developer experience for the Django community.
Beta Was this translation helpful? Give feedback.
All reactions