LINQMarbles icon indicating copy to clipboard operation
LINQMarbles copied to clipboard

New home page

Open diegodrf opened this issue 1 year ago • 4 comments

I would like to suggest creating a home page to list all groups.

Currently, we are showing the where operator when the pages open. My suggestion is to create a home page listing all groups using cards/buttons in a grid layout.

This approach is more mobile-friendly than a side list.

An example of the proposed layout can be seen in the Flutter widgets documentation. There is a title (in our case will be the operator group) and a short description.

diegodrf avatar Nov 14 '23 15:11 diegodrf

Short clarification: Would you remove the whole sidebar navigation? Or, like the Flutter widgets documentation, we would keep the Groups (like Aggregation, Filtering, ...) and move the operators themselves into the grid?

linkdotnet avatar Nov 14 '23 16:11 linkdotnet

My idea is to keep the sidebar, but it would start hidden.

The navigation using the grid could be:

  • Open the page at index / and show all groups on the grid.
  • Clicking on the Aggregation group we are forwarded to /aggregation page that lists all the operators of aggregation type in grid layout as well.
  • Clicking on the Count operator we are forwarded to /aggregation/count to see the Count operator detail like it is now.

So resuming the idea is to offer a complete navigation using the grid layout like buttons.

To implement it may be necessary to move the titles and routes to a dedicated service to control it. So the service could be accessed by all pages to get the specified route.

diegodrf avatar Nov 14 '23 17:11 diegodrf

I like the idea. One last question: The search bar would stay inside the navigation bar and would work like in its current state?

linkdotnet avatar Nov 14 '23 18:11 linkdotnet

I don't see the necessity to implement search on these grid elements right now. The grid implementation will naturally improve the readability.

The search bar can be kept untouched for the side menu.

diegodrf avatar Nov 14 '23 19:11 diegodrf