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

DS-558 Deprecate color indigo #2287

Merged
merged 3 commits into from
Aug 9, 2021

Conversation

MarcinMr
Copy link
Collaborator

@MarcinMr MarcinMr commented Jul 30, 2021

Jira

https://pegadigitalit.atlassian.net/browse/DS-558

Summary

Any indigo usage was converted to navy.

How to test

Make sure there is no more colour indigo present in the repo.

Release notes

The indigo colour has been renamed to navy.

@github-actions github-actions bot added the type: feature List this PR in the 'Features' section of the release notes. label Jul 30, 2021
@colbytcook colbytcook temporarily deployed to feature/DS-558-deprecate-color-indigo--branch-preview July 30, 2021 11:13 Inactive
@colbytcook colbytcook temporarily deployed to feature/DS-558-deprecate-color-indigo--branch-preview July 30, 2021 12:18 Inactive
Copy link
Collaborator

@mikemai2awesome mikemai2awesome left a comment

Choose a reason for hiding this comment

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

@MarcinMr We are deprecating not removing. Please roll back some changes.

'base': hsl(220.4, 100%, 18.6%),
'light': hsl(220.4, 50%, 49%),
'xlight': hsl(220.4, 73%, 81%)
),
'navy': (
Copy link
Collaborator

Choose a reason for hiding this comment

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

We want to deprecate first, make sure Pattern Lab itself doesn't use indigo anymore. We cannot remove yet.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Reverted

@@ -95,7 +95,7 @@
<bolt-layout template="halves@from-small 33/67@from-medium" padding-top="large" padding-bottom="large" gutter="large" valign-items="center" class="t-bolt-light">
<bolt-layout-item valign-self="start-offset">
{% include '@bolt-components-image/image.twig' with {
src: '/images/heros/hero-foreground--indigo.png',
src: '/images/heros/hero-foreground--navy.png',
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is a file name, it should not be changed.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Reverted

}
} %}
{% endif %}
{% include "_color-swatch.twig" with {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do not remove the condition here. It'll be done when we are removing indigo.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Reverted

<bolt-table first-col-fixed-width>
<table>
<thead>
<bolt-text headline font-size="xlarge" tag="h3">
Copy link
Collaborator

Choose a reason for hiding this comment

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

Same here, do not remove the condition.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Reverted

{% endfor %}
</bolt-tab-panel>

<bolt-tab-panel>
<bolt-text slot="label">Status Colors</bolt-text>

{% for color_name, palette in bolt.data.colors.status %}
{% if color_name != "indigo" %}
{% if color_name != "navy" %}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Revert this.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Reverted

@@ -13,7 +13,6 @@
<bolt-text slot="label">Brand Colors</bolt-text>

{% for color_name, palette in bolt.data.colors.brand %}
{% if color_name != "indigo" %}
<bolt-text headline font-size="xlarge" tag="h3">
Copy link
Collaborator

Choose a reason for hiding this comment

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

Same here, do not remove the condition.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Reverted

{% endfor %}
</bolt-tab-panel>

<bolt-tab-panel>
<bolt-text slot="label">Status Colors</bolt-text>

{% for color_name, palette in bolt.data.colors.status %}
{% if color_name != "indigo" %}
{% if color_name != "navy" %}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Revert his.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Reverted

@@ -32,8 +32,8 @@
}
}),
]|join(''),
background: "/images/heros/hero-background--indigo.jpg",
image: "/images/heros/hero-foreground--indigo.png",
background: "/images/heros/hero-background--navy.jpg",
Copy link
Collaborator

Choose a reason for hiding this comment

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

These are file names. Do not change.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Reverted

</div>
</bolt-list-item>
{% endif %}
<bolt-list-item>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Same here, do not remove the condition.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Reverted

@MarcinMr
Copy link
Collaborator Author

MarcinMr commented Aug 4, 2021

@mikemai2awesome change requests reverted

Copy link
Collaborator

@mikemai2awesome mikemai2awesome left a comment

Choose a reason for hiding this comment

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

@danielamorse This has some Academy changes, please review.

Copy link
Collaborator

@danielamorse danielamorse left a comment

Choose a reason for hiding this comment

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

I reviewed the Academy changes and made a ticket to update colors in Academy codebase.

@MarcinMr @mikemai2awesome be sure to include a "Release notes" section to your PR description when there are deprecations. See this PR for reference 🙏

@MarcinMr
Copy link
Collaborator Author

MarcinMr commented Aug 6, 2021

@danielamorse I added release notes to this PR, let me know if that's ok.

@danielamorse danielamorse self-requested a review August 6, 2021 15:25
Copy link
Collaborator

@danielamorse danielamorse left a comment

Choose a reason for hiding this comment

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

Thanks for updating the "Release notes" @MarcinMr. I just removed the "Deprecations" heading.

We don't have an official format for this, but here's how the notes get compiled for an actual release. Maybe in a future dev huddle we can decide on a good format and document it.

@danielamorse danielamorse merged commit 02e88eb into master Aug 9, 2021
@danielamorse danielamorse deleted the feature/DS-558-deprecate-color-indigo branch August 9, 2021 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature List this PR in the 'Features' section of the release notes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants