Skip to content

Conversation

pauldambra
Copy link
Member

@pauldambra pauldambra commented May 12, 2022

Problem

Closes #9768

The fix for #9736 didn't take into account that sometimes the value prop of the PropertyValue is an array

Changes

Takes that into account, and reduces the input state from one of several types to a string (since it represents what a human has typed into a box and that's what they type with)

2022-05-12 20 05 02

NB there is also a bug that if you change the property operator, save, and then click edit without refreshing the page, your change doesn't show in the filter row. That wasn't introduced in this PR but should be fixed in a follow-up since this is better than the weirdness that is there right now

How did you test this code?

running it locally and wishing there was less business logic in the PropertyValue

@pauldambra pauldambra changed the title Ouroboros inputs fix: ouroboros inputs May 12, 2022
@rcmarron rcmarron self-requested a review May 12, 2022 21:40
@rcmarron rcmarron merged commit 8a05b79 into master May 12, 2022
@rcmarron rcmarron deleted the ouroboros_inputs branch May 12, 2022 21:40
fuziontech added a commit that referenced this pull request May 13, 2022
* master:
  fix: exclusion steps cannot be selected (#9762)
  feat(lemon-button): Support `status` for `primary` buttons (#9782)
  fix: healthcheck for kafka on plugin server (#9771)
  fix(billing): Update billing success message (#9739)
  fix(plugin-server): Set transpileOnly when importing piscina code in tests (#9777)
  fix(plugin-server): Remove unused kafka reset test code (#9779)
  fix: set kafka_skip_broken_messages on dead letter queue table (#9754)
  fix(plugin-server): remove dead code from worker.test.ts (#9776)
  refactor(plugin-server): Run ingestion only on worker threads (#9738)
  fix: Plugin-server tests with kafka need to have consumer stopped (#9774)
  chore(deps): Update posthog-js to 1.21.1 (#9773)
  chore(dep): upgrading rr-web (#9772)
  fix: ouroboros inputs (#9769)
alexkim205 pushed a commit that referenced this pull request May 23, 2022
* make input always be a string

* no need to set an array into the input
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.

Filtering for some properties results in weirdness
2 participants