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

Add target prop for NcListItem #4923

Merged
merged 1 commit into from Dec 6, 2023
Merged

Conversation

Fenn-CS
Copy link
Contributor

@Fenn-CS Fenn-CS commented Dec 6, 2023

The component user should have full control over what tab they want the link to open in, if any.

☑️ Resolves

🚧 Tasks

🏁 Checklist

  • ⛑️ Tests are included or are not applicable
  • 📘 Component documentation has been extended, updated or is not applicable

Fenn-CS added a commit to nextcloud/server that referenced this pull request Dec 6, 2023
Following the update of `NcListItem` to allow control over
 where and how passed `hrefs` open, the search result component
 can now make use of these props.

See : nextcloud-libraries/nextcloud-vue#4923

Resolves :  #41800

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
@Fenn-CS Fenn-CS marked this pull request as ready for review December 6, 2023 15:05
@Fenn-CS Fenn-CS added the 3. to review Waiting for reviews label Dec 6, 2023
src/components/NcListItem/NcListItem.vue Outdated Show resolved Hide resolved
src/components/NcListItem/NcListItem.vue Outdated Show resolved Hide resolved
@Fenn-CS Fenn-CS force-pushed the respect-target-attribute-nclistitem branch from bdcfe3c to 4f307ec Compare December 6, 2023 15:46
@Fenn-CS Fenn-CS requested a review from ShGKme December 6, 2023 15:47
Fenn-CS added a commit to nextcloud/server that referenced this pull request Dec 6, 2023
Following the update of `NcListItem` to allow control over
 where and how passed `hrefs` open, the search result component
 can now make use of these props.

See : nextcloud-libraries/nextcloud-vue#4923

Resolves :  #41800

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
@Fenn-CS Fenn-CS force-pushed the respect-target-attribute-nclistitem branch from 4f307ec to fccba1f Compare December 6, 2023 16:57
@Fenn-CS Fenn-CS requested a review from susnux December 6, 2023 16:57
The component user should have full control over what tab
 they want the link to open in, if any.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
@Fenn-CS Fenn-CS force-pushed the respect-target-attribute-nclistitem branch from fccba1f to abeeef2 Compare December 6, 2023 16:57
@Fenn-CS Fenn-CS merged commit b344e19 into master Dec 6, 2023
15 checks passed
@Fenn-CS Fenn-CS deleted the respect-target-attribute-nclistitem branch December 6, 2023 18:11
backportbot-nextcloud bot pushed a commit to nextcloud/server that referenced this pull request Dec 6, 2023
Following the update of `NcListItem` to allow control over
 where and how passed `hrefs` open, the search result component
 can now make use of these props.

See : nextcloud-libraries/nextcloud-vue#4923

Resolves :  #41800

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
zak39 pushed a commit to zak39/server that referenced this pull request Dec 19, 2023
Following the update of `NcListItem` to allow control over
 where and how passed `hrefs` open, the search result component
 can now make use of these props.

See : nextcloud-libraries/nextcloud-vue#4923

Resolves :  nextcloud#41800

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
@ShGKme ShGKme added feature: list-item Related to the list-item component enhancement New feature or request labels Dec 22, 2023
@ShGKme ShGKme added this to the 8.4.0 milestone Dec 22, 2023
@ShGKme
Copy link
Contributor

ShGKme commented Dec 22, 2023

Remember to add enhancement label for new features and bug for fixing bugs, including accessibility or adjustments 😀

@ShGKme ShGKme mentioned this pull request Dec 22, 2023
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 enhancement New feature or request feature: list-item Related to the list-item component
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NcListItem would force open on a new tab if href present.
4 participants