Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

IBX-7747: Two or more embedded items makes popup menu unable to open #147

Merged
merged 3 commits into from
Feb 9, 2024

Conversation

GrabowskiM
Copy link
Contributor

Question Answer
JIRA issue https://issues.ibexa.co/browse/IBX-7747
Bug/Improvement yes
New feature no
Target version 4.6
BC breaks no
Tests pass yes
Doc needed no

TODO:

  • Implement feature / fix a bug.
  • Implement tests.
  • Fix new code according to Coding Standards ($ composer fix-cs).
  • Ask for Code Review.

@@ -6,7 +6,9 @@ import IbexaEmbedContentInlineCommand from './embed-inline-command';

import { findContent } from '../../services/content-service';

const renderPreview = (title, contentId) => {
const renderPreview = (title, contentId, itemActionsContainer) => {
const itemActionsHTML = itemActionsContainer.outerHTML;
Copy link
Contributor

@Gengar-i Gengar-i Feb 9, 2024

Choose a reason for hiding this comment

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

What if itemActionsContainer is null?

@GrabowskiM GrabowskiM requested a review from Gengar-i February 9, 2024 10:55
Copy link

sonarqubecloud bot commented Feb 9, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
32.0% Duplication on New Code (required ≤ 3%)

See analysis details on SonarCloud

@dew326 dew326 merged commit 40ddcdf into main Feb 9, 2024
20 of 21 checks passed
@dew326 dew326 deleted the IBX-7747-embed branch February 9, 2024 14:13
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants