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

Home page information tiles #5271

Merged
merged 4 commits into from
Nov 25, 2024
Merged

Home page information tiles #5271

merged 4 commits into from
Nov 25, 2024

Conversation

Cloud11PL
Copy link
Member

What type of PR is this?

  • 💅 Refactor
  • 🌟 Feature
  • 🔥 Bug Fix
  • 🔩 Maintenance
  • 🛠 Workflow CI/CD changes

Related Issues or Documents

  • closes #

Usage Instructions, Screenshots, Recordings

CleanShot 2024-11-20 at 15 34 38

Have you written tests?

  • Yes!
  • No... here is why: Writing tests are mandatory, please replace this text with why test are not included in this PR

[Optional] Description

Copy link

changeset-bot bot commented Nov 20, 2024

🦋 Changeset detected

Latest commit: 919ebe4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
saleor-dashboard Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@Cloud11PL Cloud11PL marked this pull request as ready for review November 20, 2024 15:01
@Cloud11PL Cloud11PL requested a review from a team as a code owner November 20, 2024 15:01
@Cloud11PL Cloud11PL requested review from andrzejewsky and poulch and removed request for a team November 20, 2024 15:01
poulch
poulch previously approved these changes Nov 20, 2024
@Cloud11PL Cloud11PL force-pushed the MERX-1262-onboarding-component-accordion branch from 9a31df0 to 3cd53ae Compare November 25, 2024 09:02
andrzejewsky
andrzejewsky previously approved these changes Nov 25, 2024
const DiscordIcon = () => <SVG src={discord} className={noShrink} />;
const ExternalLinkIcon = () => <SVG src={externalLink} className={noShrink} />;

export const getTilesData = ({ intl }: { intl: IntlShape }): InfoTile[] => [
Copy link
Member

Choose a reason for hiding this comment

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

just a comment here - this force on you a specific structure for each tile, while you don't have eg. hundreds of them where you would need pre-defined structure. You have only few items and for that case simple composition would work better

Copy link
Member

Choose a reason for hiding this comment

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

Imagine you need to change just a single tile now, in the way that not really fits this structure - it would need to probably opt-out from this

Copy link
Member Author

Choose a reason for hiding this comment

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

I definitely understand the concern but in this case we had only tiles that had the exact same structure. Changing it to a more composable solution shouldn't take long if we decide that we're going to need it.

Base automatically changed from MERX-1262-onboarding-component-accordion to main November 25, 2024 10:32
@Cloud11PL Cloud11PL dismissed stale reviews from andrzejewsky and poulch November 25, 2024 10:32

The base branch was changed.

@github-actions github-actions bot temporarily deployed to pr-5271 November 25, 2024 11:19 Destroyed
@github-actions github-actions bot temporarily deployed to pr-5271 November 25, 2024 11:33 Destroyed
@github-actions github-actions bot temporarily deployed to pr-5271 November 25, 2024 12:10 Destroyed
poulch
poulch previously approved these changes Nov 25, 2024
@github-actions github-actions bot temporarily deployed to pr-5271 November 25, 2024 12:24 Destroyed
@poulch poulch merged commit 8c61451 into main Nov 25, 2024
15 checks passed
@poulch poulch deleted the MERX-1261-information-tiles branch November 25, 2024 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants