gristlabs / grist-core

Grist is the evolution of spreadsheets.
https://www.getgrist.com
Apache License 2.0
7.24k stars 321 forks source link

Search for documents #1249

Open manuhabitela opened 1 month ago

manuhabitela commented 1 month ago

Describe the problem to be solved

For now I can search inside Grist documents. But it seems I can't search through my documents list.

If I have lots of documents it can quickly become troublesome to have to search manually.

But especially if I mostly use keyboard, or use an assistive technology like a screen reader, I often rely on search functionality to navigate in a webpage, as it's a quick way to reach what I want, often the quickest way.

For now I can rely on the browser search functionality but it doesn't let me to search through all my documents; only the one of the workspace I'm currently showing. And depending on the listing mode, document names are truncated; meaning my browser search can't find everything.

Being able to access pages in multiple ways is a WCAG criterion: https://www.w3.org/WAI/WCAG21/Understanding/multiple-ways.html

Describe the solution you would like

When viewing my document list, having a search button in the top right corner, just like the one available when viewing a document, would be great. So that the search functionality is always on the same spot.

Typing on it would could show me all documents matching my search query in the main content area.

lusebille commented 3 weeks ago

Just for Let you know @manuhabitela it's part of the new version of the homepage , if you want have a look on it it's there https://www.figma.com/design/wcpetFt6aOKzTszcvPPWLQ/%5B05%2F24%5D-Grist-Design?node-id=1110-56699&t=qyem49MNdu9SdpUT-1 , but I don't know when it will be integrated / developed, FYI @dsagal

dsagal commented 1 week ago

This design is ready to work on.

To be clear, this would just search through the titles of the documents whose list is already loaded in the browser (which, I think, already includes documents from all workspaces). In the future, there is a separate wish to be able to search through document contents, but that's a far harder project, so that's not part of this task.