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

[DEV-2094] refactor newsroom #1323

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

Conversation

MarBert
Copy link
Collaborator

@MarBert MarBert commented Jan 24, 2025

List of Changes

Image is now optional, adds the label shown near the date.

Motivation and Context

Needed by DEV-2090

How Has This Been Tested?

On storybook

Screenshots (if appropriate):

image

Types of changes

  • Chore (nothing changes by a user perspective)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

Copy link

changeset-bot bot commented Jan 24, 2025

🦋 Changeset detected

Latest commit: 19fabdf

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

This PR includes changesets to release 2 packages
Name Type
nextjs-website Minor
storybook-app Minor

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

Comment on lines 107 to 112
img: tutorial.image
? {
alt: tutorial.image?.alternativeText || '',
src: tutorial.image?.url || '/images/news.png',
}
: undefined,
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't think you should modify this page. The Tutorial list page uses the same component, but is not meant to change

@@ -54,6 +56,7 @@ const Item = (props: INewsroomItem) => {
href,
} = props;

console.log(theme.palette);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Remove this log

borderRadius: 1,
maxHeight: '24px',
flexGrow: '0',
backgroundColor: '#C4DCF5',
Copy link
Collaborator

Choose a reason for hiding this comment

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

We should look for the nearest color in theme palette

Copy link
Contributor

github-actions bot commented Jan 24, 2025

Jira Pull Request Link

This Pull Request refers to the following Jira issue DEV-2094

Copy link
Contributor

github-actions bot commented Jan 24, 2025

Jira Pull Request Link

This Pull Request refers to the following Jira issue DEV-2094

Copy link
Contributor

Bundle not found for branch main.
It wasn't possible to compare bundles size.

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.

2 participants