• Hey Ross,

    Love the plugin. This is a feature request.

    I’d like to be able to have the option to either/both:

    1. bookmark a non-indexed post so it can be added to the Turbo Admin results, or
    2. have the option to index Pages, Posts (and Custom Posts) as well as the top-level Dashboard links.

    I’d like to jump to more granular URLs, like specific Pages (e.g. About) or a specific CPT (e.g. Tutorial One).

    Is this doable?

    DB

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Ross Wintle

    (@magicroundabout)

    Hi there,

    Glad you like it.

    Turbo Admin already lets you search public custom post types. It doesn’t index them but it queries as you type.

    This is documented here: https://turbo-admin.com/searching.html

    This is mentioned in the Readme, but I guess it’s easy to miss.

    Is that what you want? And if not, how is what you want different?

    Thanks

    Ross

    Thread Starter gingersoulrecords

    (@gingersoulrecords)

    Ah, I see.

    This is cool and I can see you put a lot of work into the feature, but I would love to be able to just…type the title of my destination (page, post) into the initial search without having to do an ‘additional query’.

    I can understand having this ‘not be the default,’ but for a site with a dozen pages and a couple dozen blog posts, I don’t imagine it’d impose too big a burden on the index.

    Have you considered allowing users to add these searchable post instances to the initial index? Or a feature where a specific admin url could be manually added to the initial index (bookmark)?

    DB

    Thread Starter gingersoulrecords

    (@gingersoulrecords)

    Or…is there an object where I can do this without you having to do anything ??

    Plugin Author Ross Wintle

    (@magicroundabout)

    Thanks. I see. So, if I thought Turbo Admin had lots to add in the future, I’d be thinking about making more options for it. But there’s now a command palette inside WordPress itself, and so that will soon replace the main feature of Turbo Admin. So I’m not sure it’s worth the work to build out a whole load of new options.

    I’ll add an issue on GitHub – there may be a way to add options in with some code. It’s a pretty extensible system and I could probably add a filter or something.

    As a short-term solution, I wonder if there’s another plugin you can use (or if you are able to code your own) that would let you add a “Bookmarks” menu item that Turbo Admin would then scrape?

    That’s probably the best solution for now.

    Thread Starter gingersoulrecords

    (@gingersoulrecords)

    Good to know and I just read the article about the Command Palette (published today!).

    I hope it’s not just a Block Editor thing and that it’ll work in the Dashboard. Classic Editor user here. And I also really appreciate that you allow the user to define the shortcut (I prefer Cmd+J coming from Basecamp, which has a similar function).

    Short term: Is there a JS object that you store the ‘scraped titles and URLs’ in, that I could ‘add to’ with a little REST API magic or something?

    No worries if not. I know this is a free plugin, critically underinstalled (no idea why, I love it), so I’m not expecting you to go to town on it ??

    DB

    Plugin Author Ross Wintle

    (@magicroundabout)

    Thanks.

    The problem is that the JavaScript is compiled and I don’t (currently) provide a way to hook (hack?) into it.

    It’s always been something that I wanted to do, but never quite made it there.

    If you wanted to try to make your own version of the plugin with your own commands then the source is on GitHub: https://github.com/rosswintle/turbo-admin

    You might be able to edit the extraItems in src/class-turbo-admin.js

    You could add something like:

    {
       'detectType': 'dom',
       'detectSelector': 'body',
       'itemActionType': 'url',
       'itemTitleFunction': (element) => 'My Favourite Page',
       'itemUrlFunction': (element) => '/some-page.php'
    },

    And then run the build (assuming you have npm installed):

    npm install
    ./build.sh

    I THINK that will work. Hopefully it makes sense. But this is JS-developer level stuff.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Post Bookmarks’ is closed to new replies.