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

🪟 🐛 🎨 Fix stream table icon checkboxes and icons #21108

Merged
merged 3 commits into from
Jan 6, 2023

Conversation

edmundito
Copy link
Contributor

What

Fixes #20974

This fixes an issue where the checkboxes in the streams table (current and new) would collapse when the stream was changed in any way. Additionally, it updates the icons to use the SVGs provided in the design so that the design more closely matches the Figma.

Current table (ignore the gap between rows, that's a separate bug):
Screen Shot 2023-01-06 at 09 25 28

New table:

Screen Shot 2023-01-06 at 09 26 44

How

For the current table: CSS adjustments and icon swapping. The icon container has a fixed size so that the spacing remains there even when there's no icon.

For the new table: Fixed size icon container and added new icons. While reworking the icon component, I added the ability to fade in and out the current icon by updating the status from an effect and using opacity transitions.

Recommended reading order

From top to bottom

@edmundito edmundito requested a review from krishnaglick January 6, 2023 14:37
@edmundito edmundito requested a review from a team as a code owner January 6, 2023 14:37
@octavia-squidington-iv octavia-squidington-iv added area/platform issues related to the platform area/frontend Related to the Airbyte webapp labels Jan 6, 2023
Copy link
Contributor

@krishnaglick krishnaglick left a comment

Choose a reason for hiding this comment

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

Tested locally, LGTM

@edmundito edmundito force-pushed the edmundito/fix-stream-table-icons-checkboxes branch from 80927fd to 00d5e00 Compare January 6, 2023 18:29
@edmundito edmundito enabled auto-merge (squash) January 6, 2023 18:29
@edmundito edmundito merged commit 94bf06a into master Jan 6, 2023
@edmundito edmundito deleted the edmundito/fix-stream-table-icons-checkboxes branch January 6, 2023 19:05
jbfbell pushed a commit that referenced this pull request Jan 13, 2023
* Update new stream table icon positioning and style
* Add custom icons from design file
* Add opacity animation

* Fix checkbox sizing in current streams table

* Update test snapshots
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/frontend Related to the Airbyte webapp area/platform issues related to the platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Disabled streams in streams table collapse their checkboxes
3 participants