Automattic / bugomattic

Bugomattic is a tool that guides bug reporters to the right actions within large, complex organizations
GNU General Public License v2.0
6 stars 0 forks source link

[Feature Request]: Add duplicate search results pagination #154

Open dpasque opened 11 months ago

dpasque commented 11 months ago

"What": What is your idea?

Let's add pagination, or a way to "load more" duplicate search results. This way, people can dive deeper into results if they so choose!

"Why?": Why would this be impactful?

Every now and then, you need to dive deep. Our "top 20" results covers the majority cases, but it's also limiting to not be able to load more when you need to.

See discussion in #150 .

"How?" How should this feature work?

First, we just need to paginate the API and make it explicitly take the number of results. and maybe even return the URL for where to load more.

Then, we need to pick an approach in the UI!

Lots of ways to go, but with our current design, I think the two best options are...

  1. Add a "load more" button at the bottom of the list. Clicking it loads in another 20 or so, etc. Repeat.
  2. Add pages where you can go forward and back to load more.

Personally, I think the "load more" button at the bottom of list will fit best with our current design and interactive URL/Redux handling.