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-8658: fix search icon for lock files #4050

Merged
merged 3 commits into from
Aug 26, 2024
Merged

Conversation

DenysVuika
Copy link
Contributor

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?

  • add support for material icons alongside image urls when rendering search results thumbnails column

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://hyland.atlassian.net/browse/ACS-8658

<mat-icon class="adf-datatable-center-icon">{{thumbnailUrl}}</mat-icon>
</ng-container>
<ng-template #image>
<img *ngIf="!isSelected" class="adf-datatable-center-img-ie" [src]="thumbnailUrl" [alt]="tooltip" [title]="tooltip" />
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need additional !isSelected check here? It's check on the parent ng-container

Copy link
Contributor Author

Choose a reason for hiding this comment

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

cleaned up template, also removed the custom css classes that seem to be doing anything for this layout

@DenysVuika DenysVuika requested a review from MichalKinas August 26, 2024 13:02
@DenysVuika DenysVuika force-pushed the fix/search-lock-icon branch from e9fdaf6 to a9636b8 Compare August 26, 2024 13:03
Copy link

@DenysVuika DenysVuika merged commit e3d889a into develop Aug 26, 2024
25 checks passed
@DenysVuika DenysVuika deleted the fix/search-lock-icon branch August 26, 2024 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants