Skip to content
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

[Feature Request] Random draw from search pool #24

Closed
QnF6eq opened this issue Mar 4, 2023 · 2 comments
Closed

[Feature Request] Random draw from search pool #24

QnF6eq opened this issue Mar 4, 2023 · 2 comments

Comments

@QnF6eq
Copy link

QnF6eq commented Mar 4, 2023

This is a feature request:
I like the idea of a Random function that uses the results of the search as the pool to draw from instead of the whole database.
Meaning that if a user has some "Tag1 -Tag2" in their searchbar and clicked on Random they would only get posts that are compliant with that search.
For QoL the search input would need to be carried over to the next random post's searchbar as to allow an "endless-mode" so to say.

@funmaker
Copy link
Owner

Because of how searches are implemented this feature will not be easy to add for now and I'm uncertain of how intuitive it would be. I could add a button that gives you random post for a single tag though if that'd cover your usecase. That functionality is already implemented as motd and could easily be extended by adding a new button next to "Search" when a single tag is selected like "I'm feeling lucky" in google.

@funmaker funmaker changed the title Random draw from search pool [Feature Request] Random draw from search pool Apr 12, 2023
funmaker added a commit that referenced this issue Sep 25, 2023
)

- Added support for full queries in motd (#3)
- Fixed tags not being negated when pressed `-` tag button with JS enabled
@funmaker
Copy link
Owner

Added in v1.8.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants