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-6620] Proper viewer extension template projection to viewer renderer #9273

Conversation

MichalKinas
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)

Extensions provided via HTML projection stopped working after viewer refactoring.

What is the new behaviour?

The solution has been adapted to the new viewer structure after the refactoring, right now it's possible to provide a template with one or multiple ViewerExtensionDirective on both viewer levels. Provided extensions will be correctly displayed based on file extension and mime type and will override default ones if specified in supportedExtensions input. See https://alfresco.atlassian.net/browse/ACS-6620

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:

Copy link

sonarcloud bot commented Jan 24, 2024

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@MichalKinas MichalKinas merged commit 2c627f1 into develop Jan 25, 2024
33 checks passed
@MichalKinas MichalKinas deleted the bugfix/mkinas-ACS-6620-adf-viewer-stopped-supporting-custom-extensions branch January 25, 2024 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants