getsentry / vanguard

Apache License 2.0
41 stars 3 forks source link

Migrate from styled-components to tailwind #122

Closed dcramer closed 1 year ago

dcramer commented 1 year ago

This resolves known issues with Remix and styled-components, and should improve our ability to debug various hydration issues (removing cascading styles from the list of consequences).

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 22.82% and project coverage change: -7.88% :warning:

Comparison is base (0e546da) 48.79% compared to head (b7f8660) 40.91%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #122 +/- ## ========================================== - Coverage 48.79% 40.91% -7.88% ========================================== Files 88 85 -3 Lines 8197 7417 -780 Branches 307 300 -7 ========================================== - Hits 4000 3035 -965 - Misses 4197 4382 +185 ``` | [Files Changed](https://app.codecov.io/gh/getsentry/vanguard/pull/122?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=getsentry) | Coverage Δ | | |---|---|---| | [app/components/avatar.tsx](https://app.codecov.io/gh/getsentry/vanguard/pull/122?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=getsentry#diff-YXBwL2NvbXBvbmVudHMvYXZhdGFyLnRzeA==) | `8.00% <0.00%> (-52.00%)` | :arrow_down: | | [app/components/emoji-picker.tsx](https://app.codecov.io/gh/getsentry/vanguard/pull/122?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=getsentry#diff-YXBwL2NvbXBvbmVudHMvZW1vamktcGlja2VyLnRzeA==) | `6.25% <0.00%> (-26.36%)` | :arrow_down: | | [app/components/markdown.tsx](https://app.codecov.io/gh/getsentry/vanguard/pull/122?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=getsentry#diff-YXBwL2NvbXBvbmVudHMvbWFya2Rvd24udHN4) | `27.11% <0.00%> (ø)` | | | [app/components/post-comments.tsx](https://app.codecov.io/gh/getsentry/vanguard/pull/122?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=getsentry#diff-YXBwL2NvbXBvbmVudHMvcG9zdC1jb21tZW50cy50c3g=) | `10.52% <0.00%> (-22.70%)` | :arrow_down: | | [app/components/post-form.tsx](https://app.codecov.io/gh/getsentry/vanguard/pull/122?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=getsentry#diff-YXBwL2NvbXBvbmVudHMvcG9zdC1mb3JtLnRzeA==) | `12.04% <0.00%> (-6.77%)` | :arrow_down: | | [app/lib/paginator.ts](https://app.codecov.io/gh/getsentry/vanguard/pull/122?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=getsentry#diff-YXBwL2xpYi9wYWdpbmF0b3IudHM=) | `24.32% <0.00%> (ø)` | | | [app/lib/upload-handler.ts](https://app.codecov.io/gh/getsentry/vanguard/pull/122?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=getsentry#diff-YXBwL2xpYi91cGxvYWQtaGFuZGxlci50cw==) | `29.46% <0.00%> (ø)` | | | [app/lib/useLocalStorage.ts](https://app.codecov.io/gh/getsentry/vanguard/pull/122?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=getsentry#diff-YXBwL2xpYi91c2VMb2NhbFN0b3JhZ2UudHM=) | `4.54% <0.00%> (ø)` | | | [app/routes/admin/comments/index.tsx](https://app.codecov.io/gh/getsentry/vanguard/pull/122?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=getsentry#diff-YXBwL3JvdXRlcy9hZG1pbi9jb21tZW50cy9pbmRleC50c3g=) | `29.33% <0.00%> (-0.16%)` | :arrow_down: | | [app/routes/admin/feeds/$feedId.tsx](https://app.codecov.io/gh/getsentry/vanguard/pull/122?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=getsentry#diff-YXBwL3JvdXRlcy9hZG1pbi9mZWVkcy8kZmVlZElkLnRzeA==) | `17.61% <0.00%> (ø)` | | | ... and [50 more](https://app.codecov.io/gh/getsentry/vanguard/pull/122?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=getsentry) | | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/getsentry/vanguard/pull/122/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=getsentry)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.