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

feat: preference for key map with one-line text fields #8335

Merged
merged 4 commits into from
Feb 18, 2025

Conversation

ryan-willis
Copy link
Contributor

@ryan-willis ryan-willis commented Feb 5, 2025

(due to my own personal reeling from a one-line vim cursor)

key map will be disabled when editing a literal (one-line: key/value, url), and only apply to code (multi-line: body, script) by default

users can turn it back on in preferences

@ryan-willis ryan-willis requested review from jackkav and CurryYangxx and removed request for jackkav February 5, 2025 02:41
jackkav
jackkav previously approved these changes Feb 5, 2025
Copy link
Contributor

@jackkav jackkav left a comment

Choose a reason for hiding this comment

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

Looks good, but since I think it pairs with another setting it's a good time to confirm that the default is reasonable. I don't use a custom key map but if I did I guess I would only expect it to work in multi line inputs unless I toggle something on. I might be mistaken on this but worth considering before naming the something hard to change.

@ryan-willis
Copy link
Contributor Author

I would only expect it to work in multi line inputs unless I toggle something on - @jackkav

I agree, and I'm leaning toward that as well. I feel that enrolling all users into a default preference that changes the UX would better suit the next major version, so perhaps we should wait on this one until then?

CurryYangxx
CurryYangxx previously approved these changes Feb 13, 2025
@ryan-willis ryan-willis dismissed stale reviews from CurryYangxx and jackkav via a6bd0ad February 17, 2025 05:01
@ryan-willis ryan-willis force-pushed the feat/one-line-ux-setting branch from 6244f0b to a6bd0ad Compare February 17, 2025 05:01
@ryan-willis ryan-willis changed the title feat: allow users to disable key map for one-line text fields feat: preference for key map with one-line text fields Feb 17, 2025
@ryan-willis ryan-willis force-pushed the feat/one-line-ux-setting branch from a6bd0ad to 8a2ab67 Compare February 17, 2025 05:04
@ryan-willis ryan-willis merged commit f431a4e into Kong:develop Feb 18, 2025
9 checks passed
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.

3 participants