Skip to content

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

Merged
ryan-willis merged 4 commits into
Kong:developfrom
ryanexus:feat/one-line-ux-setting
Feb 18, 2025
Merged

feat: preference for key map with one-line text fields#8335
ryan-willis merged 4 commits into
Kong:developfrom
ryanexus:feat/one-line-ux-setting

Conversation

@ryan-willis
Copy link
Copy Markdown
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 CurryYangxx and jackkav and removed request for jackkav February 5, 2025 02:41
jackkav
jackkav previously approved these changes Feb 5, 2025
Copy link
Copy Markdown
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
Copy Markdown
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
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