Skip to content

Conversation

Twixes
Copy link
Member

@Twixes Twixes commented Mar 14, 2023

Problem

Raquel pointed out that LemonDivider is now black when dashed, which was not the case before. This is a regression from #14486, which changed the way the divider is colored. This regression should have been caught by UI snapshots, but we have a relatively large failure threshold set, which was supposed to avert some flakiness before.

Changes

Restores the correct color of the divider. Also, we should no longer be having those reliability issues with snapshots, so reverting to the default failure threshold.

Copy link
Member

Choose a reason for hiding this comment

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

Don't forget the one below for the vertical border too!

Copy link
Member Author

Choose a reason for hiding this comment

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

Good point, done!

@Twixes Twixes force-pushed the fix-dashed-divider branch from 8c0f012 to 957b9e5 Compare March 14, 2023 18:55
@PostHog PostHog deleted a comment from posthog-bot Mar 14, 2023
@PostHog PostHog deleted a comment from posthog-bot Mar 14, 2023
@PostHog PostHog deleted a comment from posthog-bot Mar 14, 2023
@PostHog PostHog deleted a comment from posthog-bot Mar 14, 2023
@Twixes Twixes force-pushed the fix-dashed-divider branch from 4ffadc1 to 0b50dc4 Compare March 14, 2023 20:57
@PostHog PostHog deleted a comment from posthog-bot Mar 14, 2023
@PostHog PostHog deleted a comment from posthog-bot Mar 14, 2023
@PostHog PostHog deleted a comment from posthog-bot Mar 14, 2023
@PostHog PostHog deleted a comment from posthog-bot Mar 14, 2023
@PostHog PostHog deleted a comment from posthog-bot Mar 14, 2023
@PostHog PostHog deleted a comment from posthog-bot Mar 14, 2023
@PostHog PostHog deleted a comment from posthog-bot Mar 14, 2023
@PostHog PostHog deleted a comment from posthog-bot Mar 14, 2023
@PostHog PostHog deleted a comment from posthog-bot Mar 14, 2023
@PostHog PostHog deleted a comment from posthog-bot Mar 14, 2023
@Twixes Twixes force-pushed the fix-dashed-divider branch from 0b50dc4 to 9825ba8 Compare March 14, 2023 21:00
@Twixes Twixes force-pushed the fix-dashed-divider branch from 965eca6 to 78adee4 Compare March 14, 2023 21:56
@PostHog PostHog deleted a comment from posthog-bot Mar 14, 2023
@PostHog PostHog deleted a comment from posthog-bot Mar 14, 2023
@PostHog PostHog deleted a comment from posthog-bot Mar 14, 2023
@PostHog PostHog deleted a comment from posthog-bot Mar 14, 2023
@PostHog PostHog deleted a comment from posthog-bot Mar 15, 2023
@PostHog PostHog deleted a comment from posthog-bot Mar 15, 2023
@Twixes Twixes requested a review from raquelmsmith March 15, 2023 12:10
Copy link
Member

@raquelmsmith raquelmsmith left a comment

Choose a reason for hiding this comment

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

A lot of the snapshots have no visible changes that I can see. I wonder if the threshold is now too low... If people start getting a lot of snapshot changes with no real changes they will likely ignore the snapshots completely, which then nullifies the point of having the snapshots. I wonder if something small like the border color accidentally changing is worth having a higher threshold so we can trust the snapshots more.

Copy link
Member

Choose a reason for hiding this comment

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

Not sure if this is an issue with snapshots or live on your branch but it looks like the carets in Step 1 and Step 3 changed. In fact, they look the same was as the "after" shot here on production... Which seems incorrect.

@Twixes Twixes force-pushed the fix-dashed-divider branch from 6dd7400 to 26d5052 Compare March 15, 2023 14:43
@Twixes
Copy link
Member Author

Twixes commented Mar 15, 2023

Okay, clearly the scope exploded here. Back to basics: just divider colors. Looks like they did actually pop up in signup page snapshots, but we must have overlooked that.

@Twixes Twixes requested a review from raquelmsmith March 15, 2023 14:56
@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

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

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@PostHog PostHog deleted a comment from posthog-bot Mar 15, 2023
@PostHog PostHog deleted a comment from posthog-bot Mar 15, 2023
@PostHog PostHog deleted a comment from posthog-bot Mar 15, 2023
@PostHog PostHog deleted a comment from posthog-bot Mar 15, 2023
@PostHog PostHog deleted a comment from posthog-bot Mar 15, 2023
@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

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

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

Triggered by this commit.

👉 Review this PR's diff of snapshots.

Copy link
Member

@raquelmsmith raquelmsmith left a comment

Choose a reason for hiding this comment

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

As long as the one unexpected snapshot change is just a fluke this LGTM

Copy link
Member

Choose a reason for hiding this comment

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

Not sure why this one changed but I'm guessing just a snapshot fluke?

Copy link
Member Author

@Twixes Twixes Mar 15, 2023

Choose a reason for hiding this comment

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

Yeah, this is unfortunately indicative of an actual issue where sometimes the number isn't sized properly, though this seems to be more prevalent in tests. Re-running tests.

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

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

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

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@Twixes Twixes merged commit 44b3886 into master Mar 15, 2023
@Twixes Twixes deleted the fix-dashed-divider branch March 15, 2023 17:00
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