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

chore: use Lucide icons in DataSources and simplify DOM #7086

Merged
merged 6 commits into from
Aug 21, 2024

Conversation

VIKTORVAV99
Copy link
Member

Issue

We were not using Lucide icons for all of the icons here.

Part of: AVO-439

Description

Switches to use Lucide icons.

Double check

  • I have run pnpx prettier@2 --write . and poetry run format in the top level directory to format my changes.

@VIKTORVAV99 VIKTORVAV99 changed the title chore: use Lucide icons in DataSources chore: use Lucide icons in DataSources and simplify DOM Aug 17, 2024
<button className="p-auto pointer-events-auto mt-2 flex h-10 w-10 items-center justify-center self-center rounded-full border bg-zinc-50 text-black shadow-md">
<X />
</button>
<Button icon={<X />} type="secondary" backgroundClasses="pointer-events-auto" />
Copy link
Member Author

Choose a reason for hiding this comment

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

@Alportan I know we have discussed this button before (the white button) but I decided to switch it to use the button component here and therefore it will follow the theme.

I think it should be fine as it has an outline and it will help with keeping things uniform as other tooltips don't have this white icon.

I will also switch other tooltips to use the button component so it's uniform in both style and functionality.

Copy link
Contributor

@silkeholmebonnen silkeholmebonnen left a comment

Choose a reason for hiding this comment

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

Small detail but looks good

web/src/features/charts/DataSources.tsx Outdated Show resolved Hide resolved
Copy link
Contributor

@silkeholmebonnen silkeholmebonnen left a comment

Choose a reason for hiding this comment

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

LGTM 🐟

@VIKTORVAV99 VIKTORVAV99 enabled auto-merge (squash) August 21, 2024 08:15
@VIKTORVAV99 VIKTORVAV99 merged commit 0a4aa4a into master Aug 21, 2024
21 checks passed
@VIKTORVAV99 VIKTORVAV99 deleted the vik/lucide_in_datasources branch August 21, 2024 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend 🎨 techdebt Unpleasantness that does (or may in future) affect development
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants