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-4277] Changed whitespace to normal in order to make longer notifications messages visible #8238

Closed
wants to merge 2 commits into from

Conversation

arohilaGL
Copy link
Contributor

…essage visible.

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)
Notification messages get truncated.

What is the new behaviour?
We don't want to limit the visibility of texts in order to make it convenient for accessibility reasons.

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:

@nikita-web-ua
Copy link
Contributor

Typo in PR title + missing space after square bracket

@DenysVuika
Copy link
Contributor

you have multiple typos in the PR title, whitespace is a single word, and not white space

@DenysVuika
Copy link
Contributor

@arohilaGL please put the spaces after jira ticket, and pay attention to the comments

@arohilaGL arohilaGL changed the title [ACS-4277]Changed white sapce to normal in order to make longer notifications messages visible [ACS-4277] Changed whitespace to normal in order to make longer notifications messages visible Feb 24, 2023
@@ -69,3 +69,8 @@
padding: 0;
}
}

.mat-list-base .mat-list-item.adf-notification-history-menu-no-message .mat-line,
Copy link
Contributor

Choose a reason for hiding this comment

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

Small comment but that can be a bit shorter:

.mat-list-base .mat-list-item {
  &.adf-notification-history-menu-no-message .mat-line, .adf-notification-history-menu-message.mat-line {
    white-space: normal;
  }
}

Thanks that you don't need to repeat .mat-list-base .mat-list-item twice.

Copy link
Contributor

Choose a reason for hiding this comment

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

the path for the css is unreasonably long, just create a dedicated class for the mat-line in the Notification component, and style it directly, i.e.

.adf-notification-message-line { white-space: normal; }

@mauriziovitale
Copy link
Contributor

I don't think we should... the PR is changing the general mat-list-item. Therefore all the apps will be impacted. Please work with alfresco BDU to make sure there won't be any side effects.

@@ -69,3 +69,8 @@
padding: 0;
}
}

.mat-list-base .mat-list-item.adf-notification-history-menu-no-message .mat-line,
Copy link
Contributor

Choose a reason for hiding this comment

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

the path for the css is unreasonably long, just create a dedicated class for the mat-line in the Notification component, and style it directly, i.e.

.adf-notification-message-line { white-space: normal; }

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.

6 participants