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

Ultracompact Mode (search-only) #2357

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

philtweir
Copy link
Contributor

@philtweir philtweir commented Aug 10, 2024

What does this PR do?

Adds an ultracompact mode only for search (interactive.rs) and not the inspector.

  • adds a config parameter to set a line height at which to switch to ultracompact
  • introduces a simplified inspector tab, with only previous-current-next commands as rows, in compact mode
  • allows navigation through session history within the inspector (so compact inspector view is still useful)
  • in ultracompact view, compresses indicator row into prompt, removes any non-command lines (except help if show_help is true)

TODO

  • additional tests, although keen for input on how best to do these
  • documentation (once configuration/semantics are aligned on)

Checks

  • I am happy for maintainers to push small adjustments to this PR, to speed up the review cycle
  • I have checked that there are no existing pull requests for the same thing

@philtweir philtweir changed the title Ultracompact mode (search-only) Ultracompact Mode (search-only) Aug 10, 2024
@ellie
Copy link
Member

ellie commented Sep 9, 2024

sorry for being slow here, had a tonne on lately - haven't forgotten this and will get to reviewing it soon 🙏

@philtweir
Copy link
Contributor Author

Thanks, no worries @ellie !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants