10X
rajasimon / django-command-palette Goto Github PK
View Code? Open in Web Editor NEWA modern Django admin shortcut interface ( kbar )
A modern Django admin shortcut interface ( kbar )
10X
If I want to use the same thing for django templates is there a library for that or does this one also support that? also is there more docs on how to customize it and add actions, animations, icons to the actions, ... etc?
Another django-admin-interface related issue.
This element on the right has z-index: 30
(source), so is in front of palette's translucent background.
Setting palette's z-index to anything >30 fixes this.
Firstly I love the idea of this, thanks for making it!
I followed the install instructions and it didn't immediately work for me. The cause is django-admin-interface, specifically this: https://pypi.org/project/django-admin-interface/#:~:text=Custom%20base%2Dsite.html Is there currently any way to use both of these together? I've poked it a bit already but couldn't work it out.
This may affect other browsers also but I've only tested with Chrome. Palette's keyboard shortcut is already used for a Chrome feature, so it's currently impossible to use your app. It's documented here: https://support.google.com/chrome/answer/157179?hl=en&co=GENIE.Platform%3DDesktop#zippy=%2Caddress-bar-shortcuts:~:text=Search%20from%20anywhere%20on%20the%20page
I'm not sure what the best solution to this is. I tried using preventDefault and stopPropagation but it didn't work for me. I found a discussion about this same key combo here: https://github.com/orgs/community/discussions/24057#discussion-4250265
Pretty straightforward feature: when there are multiple options, it'd be great to use the arrow keys to scroll the list before hitting enter. I'm happy to PR this unless you want to.
When palette in the foreground make the input active so that user can type right away.
Is there a way to use the command palette outside regular Django admin panel?
After selected the model when hitting the tab or space that follows to select the add, edit dialogue should open. Upon selecting the navigation should redirect to add, edit page correctly.
users >
add
view - default to model page but can also mention sub id that will navigate to view by id
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.