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

feat(telekom-header): data api #1535

Merged
merged 5 commits into from
Feb 24, 2023
Merged

feat(telekom-header): data api #1535

merged 5 commits into from
Feb 24, 2023

Conversation

nowseemee
Copy link
Collaborator

No description provided.

@netlify
Copy link

netlify bot commented Jan 27, 2023

Deploy Preview for marvelous-moxie-a6e2fe ready!

Name Link
🔨 Latest commit 4369c2e
🔍 Latest deploy log https://app.netlify.com/sites/marvelous-moxie-a6e2fe/deploys/63f8c26a48518e0008fffcab
😎 Deploy Preview https://deploy-preview-1535--marvelous-moxie-a6e2fe.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@nowseemee nowseemee force-pushed the data-api branch 2 times, most recently from 6493c60 to 742d4fe Compare January 27, 2023 18:53
@acstll acstll marked this pull request as ready for review January 30, 2023 21:10
@acstll acstll self-requested a review as a code owner January 30, 2023 21:10
@acstll acstll marked this pull request as draft January 30, 2023 22:03
@acstll acstll marked this pull request as draft January 30, 2023 22:03
@nowseemee nowseemee force-pushed the data-api branch 2 times, most recently from b508c82 to 2f4cf55 Compare February 16, 2023 14:32
@nowseemee nowseemee marked this pull request as ready for review February 16, 2023 17:18
Copy link
Collaborator

@acstll acstll left a comment

Choose a reason for hiding this comment

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

These is just ace. Thanks a lot @nowseemee — I'm requesting some small changes and leaving a note (regarding those classes).

@@ -185,3 +212,59 @@ scale-telekom-nav-flyout {
</scale-telekom-mega-menu-column>
</scale-telekom-mega-menu>
```

## Data API
Copy link
Collaborator

Choose a reason for hiding this comment

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

I would append "(Backward compatibility)" to this title (only here, not in the menu, if possible) so it reads:

## Data API (Backward compatibility)

@@ -185,3 +212,59 @@ scale-telekom-nav-flyout {
</scale-telekom-mega-menu-column>
</scale-telekom-mega-menu>
```

## Data API

Copy link
Collaborator

Choose a reason for hiding this comment

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

I would add a paragraph here with the following (or similar) notice, please let me know what you think:

This scale-telekom-header-data-back-compat component is only meant to make it easier to migrate from a previous version of the Brand Header. If you do not need to migrate, please avoid it.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I would even add a link to the fixtures.js file in GitHub as a form of "API reference"… 🤔

tag: 'scale-telekom-header-data-back-compat',
shadow: false,
})
export class TelekomHeader {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Wouldn't you rename the class name to TelekomHeaderDataBackCompat?

Comment on lines +220 to +232
<scale-telekom-nav-item class="burger-item">
<button>
<scale-badge>
<scale-icon-action-menu></scale-icon-action-menu>
</scale-badge>
</button>
<scale-telekom-nav-flyout class="mobile-nav-flyout">
Copy link
Collaborator

Choose a reason for hiding this comment

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

These burger-item and mobile-nav-flyout classes are 💩 because people will need the code but it's "hidden", no? Please don't do anything about them now.

I'll try and add an update to scale-telekom-header now (probably some news props) so we can remove them (here and in the .vue file where they're defined).

Copy link
Collaborator

Choose a reason for hiding this comment

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

The classes are my fault in the first place… 🫣

@nowseemee nowseemee requested a review from acstll February 20, 2023 11:23
@nowseemee
Copy link
Collaborator Author

Thanks for the review @acstll, I've pushed a commit.

@nowseemee nowseemee merged commit 2ae1afd into main Feb 24, 2023
@nowseemee nowseemee deleted the data-api branch February 24, 2023 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants