Skip to content

Conversation

@Fil
Copy link
Contributor

@Fil Fil commented Jul 28, 2022

  • Compare the lengths of the arrayified versions of facet.data and mark.data.
  • Remove spurious svg
  • Wording based on suggestion by @mbostock (but simpler) (?).

@Fil Fil requested a review from mkfreeman July 28, 2022 12:04
@Fil Fil changed the title logic & wording facet warning logic & wording Jul 28, 2022
Copy link
Contributor

@mkfreeman mkfreeman 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 to me!

@Fil Fil merged commit 9c377ae into mkfreeman/facet-warning Jul 28, 2022
@Fil Fil deleted the fil/facet-warning branch July 28, 2022 13:59
Fil added a commit that referenced this pull request Jul 28, 2022
Not sure how to remove the warning from the yarn test log—but this doesn't seem to be blocking
mkfreeman added a commit that referenced this pull request Jul 28, 2022
* Add warning when facet data doesn't match mark data

* Adjust for tests, add warning svg

* Run prettier

* Renamed files, improved conditions for warning

* Fix typo

* Use arrayify to check the length

Co-authored-by: Mike Bostock <[email protected]>

* Update warning language used.

Co-authored-by: Mike Bostock <[email protected]>

* Remove facet_warning.svg file

* facet warning logic & wording (#1015)

* logic & wording

* remove fcet_warning.svg

* An arguably better test/example plot.

* fix my mistake (ref #1015 (review))

Not sure how to remove the warning from the yarn test log—but this doesn't seem to be blocking

* arrayify(mark.data)?.length

* facetData.length

* revert wording

Co-authored-by: Mike Bostock <[email protected]>
Co-authored-by: Philippe Rivière <[email protected]>
backend-devloper pushed a commit to backend-devloper/plot that referenced this pull request Nov 24, 2023
* Add warning when facet data doesn't match mark data

* Adjust for tests, add warning svg

* Run prettier

* Renamed files, improved conditions for warning

* Fix typo

* Use arrayify to check the length

Co-authored-by: Mike Bostock <[email protected]>

* Update warning language used.

Co-authored-by: Mike Bostock <[email protected]>

* Remove facet_warning.svg file

* facet warning logic & wording (#1015)

* logic & wording

* remove fcet_warning.svg

* An arguably better test/example plot.

* fix my mistake (ref observablehq/plot#1015 (review))

Not sure how to remove the warning from the yarn test log—but this doesn't seem to be blocking

* arrayify(mark.data)?.length

* facetData.length

* revert wording

Co-authored-by: Mike Bostock <[email protected]>
Co-authored-by: Philippe Rivière <[email protected]>
tigrevol8888 added a commit to tigrevol8888/plot that referenced this pull request Jul 5, 2024
* Add warning when facet data doesn't match mark data

* Adjust for tests, add warning svg

* Run prettier

* Renamed files, improved conditions for warning

* Fix typo

* Use arrayify to check the length

Co-authored-by: Mike Bostock <[email protected]>

* Update warning language used.

Co-authored-by: Mike Bostock <[email protected]>

* Remove facet_warning.svg file

* facet warning logic & wording (#1015)

* logic & wording

* remove fcet_warning.svg

* An arguably better test/example plot.

* fix my mistake (ref observablehq/plot#1015 (review))

Not sure how to remove the warning from the yarn test log—but this doesn't seem to be blocking

* arrayify(mark.data)?.length

* facetData.length

* revert wording

Co-authored-by: Mike Bostock <[email protected]>
Co-authored-by: Philippe Rivière <[email protected]>
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.

4 participants