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

[ACS-5166] Changes to Digital workspace new UI for better experience #8640

Closed
wants to merge 9 commits into from

Conversation

arohilaGL
Copy link
Contributor

@arohilaGL arohilaGL commented Jun 8, 2023

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (check one with "x")

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation
  • Other... Please describe:

What is the current behaviour? (You can also link to an open issue here)

What is the new behaviour?

Design changes to new UI layout

Does this PR introduce a breaking change? (check one with "x")

  • Yes
  • No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...

Other information:
https://alfresco.atlassian.net/browse/ACS-5166

Copy link
Contributor

@DenysVuika DenysVuika left a comment

Choose a reason for hiding this comment

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

Please use Material Icons where available already

@sonarcloud
Copy link

sonarcloud bot commented Jun 19, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@@ -48,6 +49,8 @@ export class IconComponent {
set value(value: string) {
this._value = value || 'settings';
this._isCustom = this._value.includes(':');
this.isOutlined = this._value.includes('_outline');
this._value = this._value.replace('_outline','');
Copy link
Contributor

Choose a reason for hiding this comment

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

this is hacking of the old material icons font, and is introducing IDs that are invalid for the new Material Symbols font. this is also not going to work for cases like

<mat-icon class="adf-error-icon">error_outline</mat-icon>

[matBadgeHidden]="!notifications.length"
matBadgeColor="warn"
matBadgeSize="small"
fontSet="mat-icons-outlined">notifications</mat-icon>
Copy link
Contributor

Choose a reason for hiding this comment

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

in this PR, there is no outlined font in the ADF, you are breaking the component

@DenysVuika
Copy link
Contributor

@arohilaGL you based your PR on the wrong library, you should have been using Material Icons
Screenshot 2023-06-19 at 16 28 43

@DenysVuika
Copy link
Contributor

closing in favor other PRs, also the icons for mime types needed a replacement, not a separate copies, see #8683

@DenysVuika DenysVuika closed this Jun 20, 2023
@DenysVuika DenysVuika deleted the dev-arohila-ACS-5166 branch March 27, 2024 15:18
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