Skip to content

fix(NcDialog): Ensure the dialog is correctly labelled by its name - #5771

Merged
skjnldsv merged 2 commits into
masterfrom
fix/dialog-label
Jul 4, 2024
Merged

fix(NcDialog): Ensure the dialog is correctly labelled by its name#5771
skjnldsv merged 2 commits into
masterfrom
fix/dialog-label

Conversation

@susnux

@susnux susnux commented Jul 3, 2024

Copy link
Copy Markdown
Contributor

☑️ Resolves

  • Added labelId prop to NcModal to allow label modal without a name
  • Pass the navigation id (the ID of the headline element of NcDialog) to labelId
  • Added cypress tests

🏁 Checklist

  • ⛑️ Tests are included or are not applicable
  • 📘 Component documentation has been extended, updated or is not applicable
  • 3️⃣ Backport to next requested with a Vue 3 upgrade

@susnux susnux added bug Something isn't working enhancement New feature or request 3. to review Waiting for reviews feature: dialog Related to the dialog component labels Jul 3, 2024
@susnux susnux added this to the 8.14.0 milestone Jul 3, 2024
@susnux

susnux commented Jul 3, 2024

Copy link
Copy Markdown
Contributor Author

/backport to next

* Added `labelId` prop to NcModal to allow label modal without a name
* Pass the navigation id (the ID of the headline element of NcDialog) to `labelId`
* Added cypress tests

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux
susnux force-pushed the fix/dialog-label branch from 8f6c971 to 7245785 Compare July 3, 2024 22:38
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>

@Antreesy Antreesy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Changes and tests look good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug Something isn't working enhancement New feature or request feature: dialog Related to the dialog component

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants