Comments (6)
I'm glad you like it!
Regarding the issue; it's happening because of the way the plugin currently sorts the commands. Because you're searching for entries
, the above results probably all have the same score. Because they are sorted in alphabetic order, the delete command comes first.
I'm thinking about using a different library when it comes to searching and giving an additional score to new/edit commands, to make sure the delete comes after them.
I'll get back on this.
from amcommand.
@RobErskine I haven't touched the results yet, by adding an additional score of some sorts, but the fuzzy search engine has been swapped for another. The results of this engine look promising. Could you try this version out? It's already in the master branch.
from amcommand.
@hubertprein Thanks for taking a stab at that. Eager to try it out. Candidly Craft 3 is my first real foray into Composer. To try your update do do I need to update my composer.json from "am-impact/amcommand": "dev-craft3",
to "am-impact/amcommand": "dev-master",
and then run composer update
? Not sure if I need to install it another way or not.
from amcommand.
This update isn't in the Craft 3 version yet. It's for Craft 2 at the moment. If it's suitable, it'll be ported to Craft 3 shortly after.
from amcommand.
Updated for Craft 3. Simply use composer update
.
It now searches in command descriptions as well.
from amcommand.
Ah yeah I see. I knew about composer update
, but didn't realize the new fuzzy engine was only implemented for Craft 2 (I had no idea it worked with Craft 2, gonna have to go back and install this on all my old builds!). Thank you for porting it to Craft 3. I love the new results!
from amcommand.
Related Issues (20)
- After decision to stay on the current page, the command notice message still shows up
- Change default selection to something other than "Delete all entries" HOT 2
- When duplicating an entry it erases content from entry bing copied. HOT 6
- 'Unknown Error occured' when all entries of a channel are disabled or unpublished and 'Edit entries' is selected. HOT 1
- When duplicating an entry with more than one locale, matrix-fields will all have the same locale HOT 1
- Open results in a new tab/window HOT 2
- FR: Add Clear template caches
- Simple Map plugin breaks when Comand Palette enabled HOT 4
- "Settings: Fields - Duplicate" missing
- RC11 Bug HOT 2
- Add clear cache option
- Requirements could not be resolved to an installable set of packages (Craft 3) HOT 3
- cmd+shift+p shortcut impossible in Firefox
- Search for plugin with autocomplete and install from pluginstore
- Check for permissions first
- Composer Update HOT 1
- Broken, Throws Errors After Any Change to Prefs
- broken when changing settings
- Craft 4 support? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amcommand.