Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

website: improve cheat-sheet page performance #1252

Merged
merged 8 commits into from
May 30, 2023
Merged

website: improve cheat-sheet page performance #1252

merged 8 commits into from
May 30, 2023

Commits on May 30, 2023

  1. fix: cheatsheet page performance

    rszyma authored and Finii committed May 30, 2023
    Configuration menu
    Copy the full SHA
    156981d View commit details
    Browse the repository at this point in the history
  2. cheat_sheet: Sort removed icons last

    Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
    Finii committed May 30, 2023
    Configuration menu
    Copy the full SHA
    c06a149 View commit details
    Browse the repository at this point in the history
  3. cheat-sheet: Allow incomplete searches

    [why]
    Sometimes one does not know what the exact search term is.
    For example if you want to find a 'homefolder' but the name is
    'homedirectory' it is impossible to find.
    
    [how]
    Allow prefix search, in this case at least 'home' will find both
    variants.
    I do believe a full substring search would be even better, but that is
    not supported by minisearch.
    
    Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
    Finii committed May 30, 2023
    Configuration menu
    Copy the full SHA
    b42a1b8 View commit details
    Browse the repository at this point in the history
  4. cheat-sheet: Sort the results

    [why]
    Often it is easier to find what one wants if the search result is
    sorted.
    
    [how]
    Do a full result sort.
    * Sort by id (class name)
    * Put removed icons last
    
    We do not need the boost function anymore, so that pre-sorting is
    removed.
    
    Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
    Finii committed May 30, 2023
    Configuration menu
    Copy the full SHA
    b068b08 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d2503ca View commit details
    Browse the repository at this point in the history
  6. cheat-sheet: boost the part after last -

    rszyma authored and Finii committed May 30, 2023
    Configuration menu
    Copy the full SHA
    2360483 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5d1ccc6 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    270a604 View commit details
    Browse the repository at this point in the history