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

N21 2089 placeholder element media shelf #3401

Merged
merged 14 commits into from
Sep 17, 2024

Conversation

GordonNicholasCap
Copy link
Contributor

@GordonNicholasCap GordonNicholasCap commented Sep 12, 2024

Short Description

Links to Ticket and related Pull-Requests

Changes

Data-security

Deployment

New Repos, NPM packages or vendor scripts

Screenshots of UI changes

Checklist before merging

  • QA: In addition to review, the code has been manually tested (if manual testing is possible)
  • PO: Any deviation from requirements was agreed with Product-Owner / ticket author / support-team
  • DEV: Every new component is implemented having accessibility in mind (e.g. aria-label, role property)

Notice: Please keep this Pull-Request as a Draft (or add WIP label), until it is ready to be reviewed

:data-element-id="element.id"
:key="element.id"
Copy link
Contributor

Choose a reason for hiding this comment

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

Are you sure that "key" is not needed anymore. There was a bug where the DOM was desynchronized with the data structure of the list that the Sortable component uses. The key attribute prevented that elements would duplicate in the DOM.

Copy link
Contributor Author

@GordonNicholasCap GordonNicholasCap Sep 16, 2024

Choose a reason for hiding this comment

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

From Vue 3 onwards, the key attributes in on "v-if/else" branches are generated automatically: https://v3-migration.vuejs.org/breaking-changes/key-attribute#on-conditional-branches. So, the keys are actually still there.

Copy link

sonarcloud bot commented Sep 16, 2024

@GordonNicholasCap GordonNicholasCap merged commit 6e0ed21 into main Sep 17, 2024
69 checks passed
@GordonNicholasCap GordonNicholasCap deleted the N21-2089-placeholder-element-media-shelf branch September 17, 2024 08:54
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.

2 participants