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

Use table2 icon for questions #43095

Merged
merged 2 commits into from
May 28, 2024
Merged

Use table2 icon for questions #43095

merged 2 commits into from
May 28, 2024

Conversation

iethree
Copy link
Contributor

@iethree iethree commented May 23, 2024

Description

discussion

Makes database tables easier to differentiate from questions with a table visualization by using the table2 icon for questions.

Screen Shot 2024-05-23 at 3 03 49 PM
Screen Shot 2024-05-23 at 3 03 43 PM

@iethree iethree added the backport Automatically create PR on current release branch on merge label May 23, 2024
@iethree iethree self-assigned this May 23, 2024
@metabase-bot metabase-bot bot added the .Team/AdminWebapp Admin and Webapp team label May 23, 2024
Copy link
Contributor

github-actions bot commented May 23, 2024

Codenotify: Notifying subscribers in CODENOTIFY files for diff a431223...0db02b8.

Notify File(s)
@alxnddr frontend/src/metabase/visualizations/visualizations/Table.tsx
@kdoh frontend/src/metabase/ui/components/icons/Icon/icons/index.ts
@ranquild frontend/src/metabase/home/components/HomeModelCard/HomeModelCard.tsx
frontend/src/metabase/home/components/HomePopularSection/HomePopularSection.tsx
frontend/src/metabase/home/components/HomeRecentSection/HomeRecentSection.tsx

Copy link

replay-io bot commented May 23, 2024

Status Complete ↗︎
Commit 0db02b8
Results
⚠️ 2 Flaky
2575 Passed

@iethree iethree requested a review from mazameli May 23, 2024 23:15
@iethree iethree marked this pull request as draft May 23, 2024 23:17
@iethree iethree requested a review from a team May 24, 2024 17:00
@iethree iethree marked this pull request as ready for review May 24, 2024 17:00
@@ -33,7 +33,7 @@ export const HomePopularSection = (): JSX.Element => {
<HomeModelCard
key={index}
title={getName(item)}
icon={getIcon(item, { variant: "secondary" })}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

we no longer need this dumb "secondary" icon concept because its only purpose was to differentiate db tables from questions

@@ -60,7 +60,7 @@ interface TableState {
class Table extends Component<TableProps, TableState> {
static uiName = t`Table`;
static identifier = "table";
static iconName = "table";
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is the only "real" change in this PR

@iethree iethree merged commit 0e66b0d into master May 28, 2024
109 checks passed
@iethree iethree deleted the sort-out-table-icons branch May 28, 2024 17:05
Copy link
Contributor

@iethree Did you forget to add a milestone to the issue for this PR? When and where should I add a milestone?

@iethree iethree added this to the 0.50 milestone May 28, 2024
github-actions bot pushed a commit that referenced this pull request May 28, 2024
* use table2 icon for questions

* update e2e tests
iethree added a commit that referenced this pull request May 29, 2024
* use table2 icon for questions

* update e2e tests
metabase-bot bot added a commit that referenced this pull request May 29, 2024
* use table2 icon for questions

* update e2e tests

Co-authored-by: Ryan Laurie <30528226+iethree@users.noreply.github.com>
@iethree iethree mentioned this pull request Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport Automatically create PR on current release branch on merge .Team/AdminWebapp Admin and Webapp team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants