Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#37 2025-07-08 09:27:15

phiw13
Plugin Author
From: South-Western Japan
Registered: 2004-02-27
Posts: 3,416
Website

Re: wet_quickopen: Open recent (and not so recent) articles quickly

I am not sure having a next/prev button set adds much.

You search something within the plugin, a list of 10 or less recent articles with your search keyword appear, click one of them, the search query is essentially lost. And unfortunately, the “back” button does not bring you back to your original article, where you initiated the search.


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg

Offline

#38 2025-07-08 15:48:48

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,357
Website GitHub Mastodon

Re: wet_quickopen: Open recent (and not so recent) articles quickly

Offline

#39 2025-07-10 09:39:38

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,357
Website GitHub Mastodon

Re: wet_quickopen: Open recent (and not so recent) articles quickly

wet_quickopen v1.8.0 has landed. It now persists its search string across time and space as a user preference.

Offline

#40 2025-07-11 06:12:44

phiw13
Plugin Author
From: South-Western Japan
Registered: 2004-02-27
Posts: 3,416
Website

Re: wet_quickopen: Open recent (and not so recent) articles quickly

(in light testing) Nice work: now the search terms persist (with list) and the back button works too. Great.


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg

Offline

#41 2025-07-16 21:28:57

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,939
Website GitHub

Re: wet_quickopen: Open recent (and not so recent) articles quickly

Just got to testing this and the persistent query is perfect. Makes it even more usable. Thank you!

Two really minor things…

  • When I clear the search term with the (x) Button in the search box, the search results are not cleared until I press enter (as if doing a search for nothing). Maybe that was on purpose, though, as it’s not really a live search.
  • The Admin › Preferences panel shows as “wet_quickopen” menu item plus “wet_quickopen_search_term” prefs item. I’m guessing you might have intended to make that a PREF_HIDDEN on this line so that it doesn’t appear in the preferences.

TXP Builders – finely-crafted code, design and txp

Offline

#42 Yesterday 04:51:27

phiw13
Plugin Author
From: South-Western Japan
Registered: 2004-02-27
Posts: 3,416
Website

Re: wet_quickopen: Open recent (and not so recent) articles quickly

jakob wrote #340001:

When I clear the search term with the (x) Button in the search box, the search results are not cleared until I press enter (as if doing a search for nothing). Maybe that was on purpose, though, as it’s not really a live search.

As I see it, after deleting the $search-term, no new search is performed, so the “old” search results are displayed. Or is it? In Firefox and Safari, I empty the field and a new list of articles is displayed but it is certainly not the list of most recent articles.


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg

Offline

#43 Yesterday 05:10:03

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,939
Website GitHub

Re: wet_quickopen: Open recent (and not so recent) articles quickly

phiw13 wrote #340002:

As I see it, after deleting the $search-term, no new search is performed, so the “old” search results are displayed. Or is it? In Firefox and Safari, I empty the field and a new list of articles is displayed but it is certainly not the list of most recent articles.

Thanks for clarifying. I was referring to the fact that when you click the “clear search” button within the search input, it clears the value in the input box but doesn’t revert the search matches. If you re-navigate to another page, your previous search term (as saved to the pref) still exists.

When you press enter with an empty search input, the article list expands again and the search term is removed. Presumably that’s a search for nothing (= all results) rather than the recently visited articles.


TXP Builders – finely-crafted code, design and txp

Offline

#44 Yesterday 06:15:55

phiw13
Plugin Author
From: South-Western Japan
Registered: 2004-02-27
Posts: 3,416
Website

Re: wet_quickopen: Open recent (and not so recent) articles quickly

jakob wrote #340003:

[…] I was referring to the fact that when you click the “clear search” button within the search input, it clears the value in the input box but doesn’t revert the search matches. […]

Firefox does not have a “clear search” button (that is a Webkit feature, inherited by Chromium) so simply deleting the string without pressing enter is the closest behaviour I can think. But the result is slightly different

  • using the “clear search” button (Webkit & Chromium) keeps the search result list, but does not remove the search string from the pref. Navigating away from the present article to another panel and opening an article for editing shows the same result list and the search string in the search field.
  • deleting the string – delete key – shows (Firefox/Safari/Chromium) a list, always the same, of articles at random, old and less old

Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg

Offline

#45 Yesterday 08:23:08

phiw13
Plugin Author
From: South-Western Japan
Registered: 2004-02-27
Posts: 3,416
Website

Re: wet_quickopen: Open recent (and not so recent) articles quickly

BTW, on the “clear search” button – I don’t think it was ever intended to be anything other that a direct action within the present (web) view, something like “quickly remove that string”, and I don’t think it should have any persistence.

Try this as exercise: open Safari, press Command-F, the in-page search field opens. Type a string.
Open a decent Mac OS compatible application (BBEdit, Textedit, Coda…), press Command-F. Your above search string should be pre-filled. (Close the search box). Go back to Safari and press the “clear search” button , return to that other application and open or view the search box: the search string should still be there.

The HTML search field inserted inside webpages behaves differently (doesn’t percolate throughout the OS) for obvious reasons.


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg

Offline

#46 Yesterday 11:26:51

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,357
Website GitHub Mastodon

Re: wet_quickopen: Open recent (and not so recent) articles quickly

People of the internet! I’m going to open a Chromium-based browser for the first time in years and try to recreate your issue. 😜

I usually navigate the webs with that ‘clear-search-string’-challenged browser, so I had no idea that this button even existed.

Stay tuned!

Offline

#47 Yesterday 21:37:37

towndock
Member
From: Oriental, NC USA
Registered: 2007-04-06
Posts: 335
Website

Re: wet_quickopen: Open recent (and not so recent) articles quickly

Somehow I didn’t know this plugin existed. Just installed. Brilliant. Damn handy.

Thank you.

Offline

#48 Today 12:35:07

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,357
Website GitHub Mastodon

Re: wet_quickopen: Open recent (and not so recent) articles quickly

So, now there is wet_quickopen v1.9.0 for your editing pleasure.

It hides its preference (as it should have right from the start) and acts responsibly when one clears its search string in Chromium-based browsers by hitting the [×] input button.

<aside> I have tried AI-generated commit messages and come to the conclusion that the “artificial” gibberish is no more legible than mine – and I probably drank less freshwater than AIRoomba while authoring it. </aside>

Thanks for your encouraging feedback!

Offline

Board footer

Powered by FluxBB