Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Redesign : Worked on Redesign of header component #20098

Open
wants to merge 58 commits into
base: main
Choose a base branch
from

Conversation

dhruvjsx
Copy link
Contributor

@dhruvjsx dhruvjsx commented Mar 6, 2025

Describe your changes:

I worked on redesigning the Header component as per the new UI specifications. The updated design aligns with the latest UI/UX guidelines, improving visual consistency and user experience.

I have updated usage summery and source URL to pipeline details page. I have also updated payload adding an extra filed usageSummery

Type of change:

  • Improvement

Before
Screenshot 2025-03-05 at 3 40 10 PM

After

Screen.Recording.2025-03-13.at.3.38.35.PM.mp4
Screenshot 2025-03-13 at 3 03 08 PM

Checklist:

  • I have read the CONTRIBUTING document.
  • My PR title is Fixes <issue-number>: <short explanation>
  • I have commented on my code, particularly in hard-to-understand areas.

Copy link
Contributor

github-actions bot commented Mar 6, 2025

Hi there 👋 Thanks for your contribution!

The OpenMetadata team will review the PR shortly! Once it has been labeled as safe to test, the CI workflows
will start executing and we'll be able to make sure everything is working as expected.

Let us know if you need any help!

}: {
label: string;
value: string | number;
dataTestId?: string;
isNewDesign?: boolean;
Copy link
Contributor

Choose a reason for hiding this comment

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

We don't need this.
This is used at one place only and we want to redesign, so remove this param

@@ -116,19 +124,27 @@ export const ExtraInfoLink = ({
href,
newTab = false,
ellipsis = false,
isNewDesign = false,
Copy link
Contributor

Choose a reason for hiding this comment

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

We don't need this.
This is used at one place only and we want to redesign, so remove this param

)}
{!excludeEntityService && (
<Tooltip title={t('label.open-task-plural')}>
<Button
Copy link
Contributor

Choose a reason for hiding this comment

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

data-testid missing

.data-asset-header-metadata {
height: 102px;
border-radius: 12px;
border: 0.5px solid #d5d7da;
Copy link
Contributor

Choose a reason for hiding this comment

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

move colors to variables

Copy link
Contributor

Choose a reason for hiding this comment

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

Perform this change at all places

@@ -46,6 +47,7 @@ export const DomainLabel = ({
textClassName,
showDomainHeading = false,
multiple = false,
isNewDesign = false,
Copy link
Contributor

Choose a reason for hiding this comment

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

recommend using showDomainHeading

@@ -220,7 +220,7 @@ export const renderDomainLink = (
textClassName
)}
data-testid="domain-link"
style={{ color: '#535862', marginBottom: '8px' }}
style={{ color: '#535862' }}
Copy link
Contributor

Choose a reason for hiding this comment

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

move this to a class

@@ -75,3 +75,22 @@ button {
color: @primary-color;
background: transparent;
}
.ant-btn-group,
.ant-btn-group-sm,
.data-asset-button-group {
Copy link
Contributor

Choose a reason for hiding this comment

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

move this to component level

@@ -127,7 +129,7 @@ const EntityHeaderTitle = ({
entity: capitalize(entityType),
})}>
<Button
className="entity-follow-button text-sm "
className="entity-follow-button d-flex gap-1 align-center justify-center p-y-xss p-x-sm w-fit-content border-none h-auto text-sm "
Copy link
Collaborator

Choose a reason for hiding this comment

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

can we handle styling through this class only? entity-follow-button

@@ -1223,6 +1222,7 @@
"started": "Gestartet",
"started-following": "Hat begonnen zu folgen",
"starting-offset": "Start-Offset",
"state": "Zustand",
Copy link
Collaborator

Choose a reason for hiding this comment

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

???

@@ -1223,6 +1222,7 @@
"started": "प्रारंभ केले",
"started-following": "अनुसरण करणे प्रारंभ केले",
"starting-offset": "प्रारंभिक ऑफसेट",
"state": "राज्य",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we check the translation

@@ -1223,6 +1222,7 @@
"started": "Gestart",
"started-following": "Begonnen met volgen",
"starting-offset": "Startoffset",
"state": "Status",
Copy link
Collaborator

Choose a reason for hiding this comment

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

??

@@ -1223,6 +1222,7 @@
"started": "شروع شد",
"started-following": "شروع به دنبال کردن شد",
"starting-offset": "آفست شروع",
"state": "State",
Copy link
Collaborator

Choose a reason for hiding this comment

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

??

@@ -1223,6 +1222,7 @@
"started": "Начато",
"started-following": "Начало отслеживания",
"starting-offset": "Начальное смещение",
"state": "State",
Copy link
Collaborator

Choose a reason for hiding this comment

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

??

@@ -1223,6 +1222,7 @@
"started": "เริ่มต้นแล้ว",
"started-following": "เริ่มติดตาม",
"starting-offset": "ออฟเซ็ตเริ่มต้น",
"state": "State",
Copy link
Collaborator

Choose a reason for hiding this comment

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

??

@@ -1223,6 +1222,7 @@
"started": "已开始",
"started-following": "开始关注",
"starting-offset": "起始偏移量",
"state": "State",
Copy link
Collaborator

Choose a reason for hiding this comment

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

??

chirag-madlani
chirag-madlani previously approved these changes Mar 13, 2025
Copy link

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
safe to test Add this label to run secure Github workflows on PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants