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: Alt-click to edit inputselect items #21032

Merged
merged 9 commits into from
Mar 20, 2024

Conversation

benjackwhite
Copy link
Contributor

@benjackwhite benjackwhite commented Mar 20, 2024

Problem

We've often had people complain that they can't edit a value after they submit it, they can only remove it and re-type things.

Changes

2024-03-20 11 04 35

  • Allows the value to be edited with alt-click and a tooltip to explain it.
  • Allows options to be edited instead of added removed when alt is held

👉 Stay up-to-date with PostHog coding conventions for a smoother review.

Does this work well for both Cloud and self-hosted?

How did you test this code?

Copy link
Contributor

github-actions bot commented Mar 20, 2024

Size Change: 0 B

Total Size: 824 kB

ℹ️ View Unchanged
Filename Size
frontend/dist/toolbar.js 824 kB

compressed-size-action

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

2 snapshot changes in total. 0 added, 2 modified, 0 deleted:

  • chromium: 0 added, 2 modified, 0 deleted (diff for shard 1)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@benjackwhite benjackwhite changed the base branch from master to fix/input-select-comma March 20, 2024 10:03
@benjackwhite benjackwhite marked this pull request as ready for review March 20, 2024 10:07
@jurajmajerik jurajmajerik merged commit 305d9ba into fix/input-select-comma Mar 20, 2024
130 of 131 checks passed
@jurajmajerik jurajmajerik deleted the feat/alt-click-to-edit branch March 20, 2024 13:20
@jurajmajerik
Copy link
Contributor

jurajmajerik commented Mar 20, 2024

Oops, I accidentally merged this instead of #21031. Anyway, looking good to me!

neilkakkar pushed a commit that referenced this pull request Mar 20, 2024
* Add comma sepator

* feat: Alt-click to edit inputselect items (#21032)
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