pretty-routes icon indicating copy to clipboard operation
pretty-routes copied to clipboard

Datatables

Open NightZpy opened this issue 7 years ago • 3 comments

  • Fixed header.
  • Reorder columns.

NightZpy avatar Sep 27 '16 17:09 NightZpy

@NightZpy Can you fix the conflicts. @garygreen once that's done can you merge this?

Braunson avatar Nov 08 '17 21:11 Braunson

I was originally not much of a fan of this idea because I think paginating a list of routes is incredibly annoying - flicking through 40 different pages to find the route you want isn't a friendly experience.

Sorting columns could be useful, however I feel that the display order of the routes is extremely important, as routes are matched in order of priority - if we did allow for sorting of columns we should add a "Number" column of some kind, so you can reset the routes back to the order they will actually be matched in.

Finding routes / grepping can easily be done by just CTRL + F in the browser, it's pretty simple already, no?

Overall, I'm not sure adding data tables will add a huge amount of value except increase the complexity of an already simple package. But I'm not adverse to changing my way of thinking on it 😄

garygreen avatar Nov 09 '17 12:11 garygreen

I understand that the question in this thread is very old and, apparently, @garygreen is busy with the main work, so I released my version from the fork as self-contained package. It's easier to look at a package than to talk about its changes: https://github.com/andrey-helldar/pretty-routes

andrey-helldar avatar Oct 03 '20 12:10 andrey-helldar