Skip to content

Search stack prototype

Administrator requested to merge fkling/search-stacks into main

Created by: fkling

Depends on #28491

See screenshots and video. I decided to not go with a sidebar for the prototype because that would impact the layout of a lot of pages, and that wasn't worth it for the prototype IMO.

Instead I have a small sticky box in the lower right corner. It collapses to a single icon to not cover too much content (e.g. the other information on blob pages).

To enable this feature, set enableSearchStack in the experimental features settings.

Note:

  • I'm currently not storing line ranges for the file entries, it doesn't look like I have access to those where I'm adding the entry (BlobPage).
  • File blocks don't render yet in notebooks
2021-12-03_15-02 2021-12-03_15-03

https://user-images.githubusercontent.com/179026/144625664-02510656-c192-4e4e-ac3c-8954c9d27746.mp4

Merge request reports

Loading