This repository was archived by the owner on Apr 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Add key bindings to the kcfg-viewer #460
Closed
Conversation
This file contains hidden or 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
Please post a gif with the changes. Also, instead of changing the boarder on the left of a selected node, perhaps we change the background color, which makes it easier to see without changing the look of the graph. |
Merged
Note: this call is especially quite slow, which makes the app launch proportionally longer as there is more node. Line 286 in d07d63c
|
merge master
iFrostizz
added a commit
that referenced
this pull request
Aug 7, 2023
Going in a more step-by-step fashion compared to #460 Rolling out our own key bindings was messing up with the defaults of textual and adding a lot of unecessary boilerpalte. This PR also closes it. - Dedicated classes for each widget in the `NodeView` (Term, Constraint, Info, Custom) - Relevant ones all inherits from `ScrollableContainer` and can be focused. Adds native key bindings and can be selected using `Tab` or `Tab+Shift` to loop the other way around - using an absolute path for the css file so that the class `APRProofViewer` inherits `KCFGViewer`'s css. `@import` is not something that works with textual, but as we may want in the future to add stuff only for the `APRProofViewer` css. --------- Co-authored-by: François Guyot <[email protected]> Co-authored-by: devops <[email protected]>
Baltoli
pushed a commit
to runtimeverification/k
that referenced
this pull request
Apr 9, 2024
Anticipating for runtimeverification/pyk#460 This will allow us to use `VerticalScroll` widgets to scroll programatically. --------- Co-authored-by: François Guyot <[email protected]> Co-authored-by: devops <[email protected]> Co-authored-by: Everett Hildenbrandt <[email protected]> Co-authored-by: rv-jenkins <[email protected]> Co-authored-by: Sam Balco <[email protected]>
Baltoli
pushed a commit
to runtimeverification/k
that referenced
this pull request
Apr 9, 2024
Going in a more step-by-step fashion compared to runtimeverification/pyk#460 Rolling out our own key bindings was messing up with the defaults of textual and adding a lot of unecessary boilerpalte. This PR also closes it. - Dedicated classes for each widget in the `NodeView` (Term, Constraint, Info, Custom) - Relevant ones all inherits from `ScrollableContainer` and can be focused. Adds native key bindings and can be selected using `Tab` or `Tab+Shift` to loop the other way around - using an absolute path for the css file so that the class `APRProofViewer` inherits `KCFGViewer`'s css. `@import` is not something that works with textual, but as we may want in the future to add stuff only for the `APRProofViewer` css. --------- Co-authored-by: François Guyot <[email protected]> Co-authored-by: devops <[email protected]>
Baltoli
pushed a commit
to runtimeverification/k
that referenced
this pull request
Apr 9, 2024
Anticipating for runtimeverification/pyk#460 This will allow us to use `VerticalScroll` widgets to scroll programatically. --------- Co-authored-by: François Guyot <[email protected]> Co-authored-by: devops <[email protected]> Co-authored-by: Everett Hildenbrandt <[email protected]> Co-authored-by: rv-jenkins <[email protected]> Co-authored-by: Sam Balco <[email protected]>
Baltoli
pushed a commit
to runtimeverification/k
that referenced
this pull request
Apr 9, 2024
Going in a more step-by-step fashion compared to runtimeverification/pyk#460 Rolling out our own key bindings was messing up with the defaults of textual and adding a lot of unecessary boilerpalte. This PR also closes it. - Dedicated classes for each widget in the `NodeView` (Term, Constraint, Info, Custom) - Relevant ones all inherits from `ScrollableContainer` and can be focused. Adds native key bindings and can be selected using `Tab` or `Tab+Shift` to loop the other way around - using an absolute path for the css file so that the class `APRProofViewer` inherits `KCFGViewer`'s css. `@import` is not something that works with textual, but as we may want in the future to add stuff only for the `APRProofViewer` css. --------- Co-authored-by: François Guyot <[email protected]> Co-authored-by: devops <[email protected]>
Baltoli
pushed a commit
to runtimeverification/k
that referenced
this pull request
Apr 9, 2024
Anticipating for runtimeverification/pyk#460 This will allow us to use `VerticalScroll` widgets to scroll programatically. --------- Co-authored-by: François Guyot <[email protected]> Co-authored-by: devops <[email protected]> Co-authored-by: Everett Hildenbrandt <[email protected]> Co-authored-by: rv-jenkins <[email protected]> Co-authored-by: Sam Balco <[email protected]>
Baltoli
pushed a commit
to runtimeverification/k
that referenced
this pull request
Apr 9, 2024
Going in a more step-by-step fashion compared to runtimeverification/pyk#460 Rolling out our own key bindings was messing up with the defaults of textual and adding a lot of unecessary boilerpalte. This PR also closes it. - Dedicated classes for each widget in the `NodeView` (Term, Constraint, Info, Custom) - Relevant ones all inherits from `ScrollableContainer` and can be focused. Adds native key bindings and can be selected using `Tab` or `Tab+Shift` to loop the other way around - using an absolute path for the css file so that the class `APRProofViewer` inherits `KCFGViewer`'s css. `@import` is not something that works with textual, but as we may want in the future to add stuff only for the `APRProofViewer` css. --------- Co-authored-by: François Guyot <[email protected]> Co-authored-by: devops <[email protected]>
Baltoli
pushed a commit
to runtimeverification/k
that referenced
this pull request
Apr 10, 2024
Anticipating for runtimeverification/pyk#460 This will allow us to use `VerticalScroll` widgets to scroll programatically. --------- Co-authored-by: François Guyot <[email protected]> Co-authored-by: devops <[email protected]> Co-authored-by: Everett Hildenbrandt <[email protected]> Co-authored-by: rv-jenkins <[email protected]> Co-authored-by: Sam Balco <[email protected]>
Baltoli
pushed a commit
to runtimeverification/k
that referenced
this pull request
Apr 10, 2024
Going in a more step-by-step fashion compared to runtimeverification/pyk#460 Rolling out our own key bindings was messing up with the defaults of textual and adding a lot of unecessary boilerpalte. This PR also closes it. - Dedicated classes for each widget in the `NodeView` (Term, Constraint, Info, Custom) - Relevant ones all inherits from `ScrollableContainer` and can be focused. Adds native key bindings and can be selected using `Tab` or `Tab+Shift` to loop the other way around - using an absolute path for the css file so that the class `APRProofViewer` inherits `KCFGViewer`'s css. `@import` is not something that works with textual, but as we may want in the future to add stuff only for the `APRProofViewer` css. --------- Co-authored-by: François Guyot <[email protected]> Co-authored-by: devops <[email protected]>
Baltoli
pushed a commit
to runtimeverification/k
that referenced
this pull request
Apr 10, 2024
Anticipating for runtimeverification/pyk#460 This will allow us to use `VerticalScroll` widgets to scroll programatically. --------- Co-authored-by: François Guyot <[email protected]> Co-authored-by: devops <[email protected]> Co-authored-by: Everett Hildenbrandt <[email protected]> Co-authored-by: rv-jenkins <[email protected]> Co-authored-by: Sam Balco <[email protected]>
Baltoli
pushed a commit
to runtimeverification/k
that referenced
this pull request
Apr 10, 2024
Going in a more step-by-step fashion compared to runtimeverification/pyk#460 Rolling out our own key bindings was messing up with the defaults of textual and adding a lot of unecessary boilerpalte. This PR also closes it. - Dedicated classes for each widget in the `NodeView` (Term, Constraint, Info, Custom) - Relevant ones all inherits from `ScrollableContainer` and can be focused. Adds native key bindings and can be selected using `Tab` or `Tab+Shift` to loop the other way around - using an absolute path for the css file so that the class `APRProofViewer` inherits `KCFGViewer`'s css. `@import` is not something that works with textual, but as we may want in the future to add stuff only for the `APRProofViewer` css. --------- Co-authored-by: François Guyot <[email protected]> Co-authored-by: devops <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Closes: #458
TODO
edit 05.25:
This is how it looks like
edit 06.06:
edit 13.06: