-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
additional/combined searches "at once", via custom bangs #33
Comments
Hi @devsbae, and thank you for the detailed feature request! Actually, I also think this would be pretty cool to have! I can also see it being used as a nifty shortcut to, e.g., open all your mail accounts with a bang, your favorite news sites, even perhaps your work-related sites (Jira, Confluence, GitHub, etc.). The only thing I don't see happening for now is this "bang nesting" you mention at the end, since we would also need to check for loops (e.g., A → B → C → A), which complicates the logic unnecessarily. Moreover, it would make the bang resolution slightly slower since we would need to resolve all bang references. But otherwise, I agree with all you said! Now, this might take a bit of time, since also the storage schema needs to be updated so that a bang can have multiple targets. I have two important deadlines in mid-February, so I will be pretty busy until then, but I will get to it after that. I think this feature can also be a good excuse to finally release the |
I appreciate that this is an appealing feature for you too! Back on track: The endless loop problem occurred to me too, probably the morning after I issued the OP. Anyway, I agree that this nesting bang functionality is not a good trade-off, with regards to work input and functionality output. Meanwhile, I found an alternative extension, which seems to provide multi-target searches via custom bangs. Footnotes
|
@devsbae awesome ideation, once again! Looking forward to working on this :) And thanks a lot for mentioning the other extension and the demo, very cool indeed! It's nice to see there are other great (FOSS) alternatives, freedom to the user! |
Hi @devsbae, the new feature is up! Enjoy! https://github.com/dmlls/yang/releases/tag/v1.0.0 |
Is your feature request related to a problem? Please describe.
Less of a problem, more of a desired use case!
I'd like to define multiple/additional search URLs for a custom bang, with the intent of "firing off" multiple/additional searches (in their own, additionaly created tabs) when used.
Example scenario:
You encounter a term and you are interested in learning more about its meanings and origins.
Additionally you might have a multilingual interest and you are curious to see what this term looks like in one or more other languages.
Maybe there's also a neat Wikipedia entry?
and so on...
Currently, you'd have to remember all relevant bangs you pretty much always use in these situations, and then, execute those searches "by hand", one after the other.
i.e. new tab, type bang plus term, enter, open new tab, type bang plus term, enter, etc.
(which isn't difficult in itself, and ultimately a matter of habit. however, i hope this demonstrates how this procedure could grow to be somewhat cumbersome and/or dull over time.)
Describe the solution you'd like
Provide functionality to define multiple searches when creating/editing a custom bang.
How it could look like:
During "Edit Custom Bang" dialog / setting screen, add functionality for additional search URL input fields, i.e. adding, editing, and removing them.
Then, with a single custom bang search, all its defined searches get executed. The first in the current tab, and all additional ones in additional tabs.
Additional usability & functionality:
Allow user to sort URL input fields freely, so they can customize the order of the searches.
e.g. via drag sorting, or up/down arrows for each entry.
Allow user to input other bangs (default or custom) instead of search URLs:
e.g.
etym{{{s}}}
is functionally synonymous withhttps://www.etymonline.com/search?q={{{s}}}
This may prove to be even more useful, as multiple searches themselves could be combined in another custom bang.
as an example:
create custom bang "mean?" for meaning related searches (say, monolingual dicts, etymology dicts, etc.)
create custom bang "tr?" for multilingual related searches (bilingual dicts, google translate, etc.)
and then combine them both in another custom bang "what?", maybe with an additional "w" bang for en.wikipedia.org.
Describe alternatives you've considered
n/a
Additional context
n/a
The text was updated successfully, but these errors were encountered: