-
-
Notifications
You must be signed in to change notification settings - Fork 856
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
Update display config methods #823
Closed
Closed
Changes from 4 commits
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
fa38539
First attempt: add hierarchy and {padding=...} option
l-kershaw 757fdc2
Update layout strategies to use new method
l-kershaw 289b894
Update the validate layout_config function for hierarchy
l-kershaw b82c743
validate_layout_config: only check the given strategy
l-kershaw f558a53
Switch to included version of deepcopy
l-kershaw fc485ce
[docgen] Update doc/telescope.txt
f6722c1
Add layout_defaults
l-kershaw eec0a4d
Merge branch 'display_config' of https://github.com/l-kershaw/telesco…
l-kershaw e5a4364
Improve layout diagrams
l-kershaw d762448
[docgen] Update doc/telescope.txt
e4c797f
Add documentation for size resolver functions
l-kershaw 0f3c9ee
[docgen] Update doc/telescope.txt
9d4fab8
Add resolver functions file to docgen
l-kershaw bd40df7
[docgen] Update doc/telescope.txt
911003c
Correct links to resolver functions
l-kershaw 5d29e35
[docgen] Update doc/telescope.txt
245be0a
Remove get_width_opt, now handled by validate_layout_config
l-kershaw e710e46
Add documentation for defaults affecting layout
l-kershaw 3256829
[docgen] Update doc/telescope.txt
f46d9b2
Rename `layout_defaults` to `layout_config`
l-kershaw c651f21
[docgen] Update doc/telescope.txt
e269210
Changes suggested by tjdevries
l-kershaw a8a97f6
Merge branch 'master' into display_config
l-kershaw 7ba80ce
Fix typo
l-kershaw 5b2fdef
Add resolving to `bottom_pane` strategy
l-kershaw bec87e3
Improve documentation for `resolve_height` and `resolve_width`
l-kershaw 87ffc50
Small changes to documentation
l-kershaw eddc27b
Attempt to add functionality from PR #773
l-kershaw 97dd75e
[docgen] Update doc/telescope.txt
c9da4d2
Message instead of error when using 'layout_default'
l-kershaw 2c1d42f
Allow layout_config keys if they are valid for any layout_strategy
l-kershaw cc2c8b5
Merge branch 'display_config' of https://github.com/l-kershaw/telesco…
l-kershaw ee7e175
[docgen] Update doc/telescope.txt
5c45e79
feat: much code
tjdevries 0cace86
Add layout function descriptions + some small changes
l-kershaw 450d150
Refactor setting options using `config.set_defaults`
l-kershaw 6ca31e2
Linting
l-kershaw 33ce376
First attempt at `layout_default` inheritance tests
l-kershaw 743601c
Second attempt at `layout_default` inheritance tests
l-kershaw 904b8eb
Add more `layout_config` inheritance tests
l-kershaw 557485e
Implements a smarter table extend for `layout_config`
l-kershaw 9699e68
wip: preview_cutoff and prompt_position
tjdevries 87b67d3
[WIP]: Wed 09 Jun 2021 08:48:06 AM EDT
tjdevries 617d62e
working on docs and clarifications
tjdevries 28f3b27
[docgen] Update doc/telescope.txt
3a1ce1f
Resolve `preview_cutoff` (first attempt)
l-kershaw 172bd53
[docgen] Update doc/telescope.txt
b037cb1
Linting
l-kershaw dba65d3
Revert "Resolve `preview_cutoff` (first attempt)"
l-kershaw 337c997
Revert "[docgen] Update doc/telescope.txt"
l-kershaw 4935eae
Switch `preview_cutoff` to check lines for `center` and `vertical` st…
l-kershaw 9863e71
[docgen] Update doc/telescope.txt
8a0d26b
Reduce duplicated layout info in readme
l-kershaw File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is probably easier to understand by just doing
_resolve_map = {}
and then each of the following with_resolve_map[function() ...] = ...
etc.I don't think we need to do the copy thing, right?
Or is this because only some keys are considered "simple"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Originally, I was getting some issues where the
padding
case in_resolve_map
was referring back to_resolve_map
.I don't seem to be getting those issues now, so I've changed to just using
_resolve_map
instead of_simple_resolve_map
.I'll keep an eye out for any issues re-emerging.