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

Twix CompletionEdit #1478

Merged
merged 18 commits into from
Dec 5, 2024
Merged

Twix CompletionEdit #1478

merged 18 commits into from
Dec 5, 2024

Conversation

oleflb
Copy link
Contributor

@oleflb oleflb commented Oct 27, 2024

Why? What?

Fix twix completion edit since its broken on main.
I like the idea of trying to implement generally usable widgets in a separate crate from twix so that they can be used in other tools as well. Therefore I rewrote the completion edit to be less dependent on what is currently searched.
The fuzzy finder is replaced by the one from helix since it is way faster, besides that, the matching algorithm now is started only when the user input changed, not every frame.

The SegmentedControl widget is another generally usable widget I implemented some time ago for another tool and now I wanted to be available for twix as well.

Fixes #

ToDo / Known Issues

If this is a WIP describe which problems are to be fixed.

Ideas for Next Iterations (Not This PR)

If there are some improvements that could be done in a next iteration, describe them here.

How to Test

  • Thoroughly test the completion edits since it is essential for working with twix

crates/hulk_widgets/src/completion_edit.rs Outdated Show resolved Hide resolved
crates/hulk_widgets/src/completion_edit.rs Show resolved Hide resolved
crates/hulk_widgets/src/segmented_control.rs Outdated Show resolved Hide resolved
Copy link
Contributor

@rmburg rmburg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sehr sehr gut.
I think this is ready to merge, I only left a few more remarks and two questions about things I don't fully understand.

tools/twix/src/panels/enum_plot.rs Outdated Show resolved Hide resolved
tools/twix/src/panels/enum_plot.rs Outdated Show resolved Hide resolved
tools/twix/src/panels/plot.rs Show resolved Hide resolved
tools/widget_gallery/src/main.rs Show resolved Hide resolved
tools/twix/src/selectable_panel_macro.rs Show resolved Hide resolved
@rmburg
Copy link
Contributor

rmburg commented Dec 4, 2024

Zweig muss neu geerdet werden 🌳

@oleflb
Copy link
Contributor Author

oleflb commented Dec 5, 2024

Zweig muss neu geerdet werden 🌳

Ist neu geerdet

Copy link
Contributor

@rmburg rmburg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sehr sehr gut 👍

@rmburg
Copy link
Contributor

rmburg commented Dec 5, 2024

Resolve remaining comments when read

@oleflb oleflb added this pull request to the merge queue Dec 5, 2024
Merged via the queue into HULKs:main with commit a4989ab Dec 5, 2024
24 checks passed
@oleflb oleflb deleted the twix-completion branch December 5, 2024 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is:Bugfix tools:Debug Tooling Related to twix et.al.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants