Skip to content

xd)poll list improvements #37

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

Closed
Colind8 opened this issue Apr 11, 2024 · 1 comment
Closed

xd)poll list improvements #37

Colind8 opened this issue Apr 11, 2024 · 1 comment
Labels
new feature New feature or request
Milestone

Comments

@Colind8
Copy link
Owner

Colind8 commented Apr 11, 2024

Redo sorting and filter criteria along with adding search criteria. Also restructure how the list is made to make it easier to view for mobile users.

Why it should change?

The current system isn't built on modularity and doesn't take advantage of mySQL's featureset.

New "search criteria" suggestion

Using common search engine functions will probably be an easy way to implement a more advanced sorting, filtering, searching system for the list.

Sorting

sort:criteria - Sorts the list based on the following criteria: newest (default), oldest, leastvoted, mostvoted

Examples:

  • xd)poll list sort:oldest
  • xd)poll list sort:mostvoted

Filtering

filter:critera,criteria,.. - Filters the list using one or more of the following criteria: none (default), voted, creator, notvoted, notcreator

Examples:

  • xd)poll list filter:creator
  • xd)poll list filter:voted,creator

Searching

  • title:criteria - Searches the list for a title that matches the criteria
  • author:criteria - Searches the list for an author that matches the criteria

Examples:

  • xd)poll list title:color
  • xd)poll list title:would you rather
  • xd)poll list author:colind8

All together now

You can use multiple of these functions at once, separated with ?.

Examples:

  • xd)poll list sort:oldest?filter:creator?
  • xd)poll list filter:creator?title:cake?
  • xd)poll list filter:notcreator,notvoted?title:would you rather?sort:mostvoted?
@Colind8
Copy link
Owner Author

Colind8 commented May 8, 2025

Wow it's been an entire year since I wrote this.

@Colind8 Colind8 added this to the Version 20 milestone May 8, 2025
@Colind8 Colind8 moved this from Ideas to Todo in The Mr. Megee Development Board May 8, 2025
@Colind8 Colind8 moved this from Todo to Next up in The Mr. Megee Development Board May 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request
Projects
Development

No branches or pull requests

1 participant