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

nfebe
Copy link
Contributor

@nfebe nfebe 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

nfebe 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 <[email protected]>
@nfebe nfebe marked this pull request as ready for review December 6, 2023 15:05
@nfebe nfebe 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
@nfebe nfebe force-pushed the respect-target-attribute-nclistitem branch from bdcfe3c to 4f307ec Compare December 6, 2023 15:46
@nfebe nfebe requested a review from ShGKme December 6, 2023 15:47
nfebe 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 <[email protected]>
@nfebe nfebe force-pushed the respect-target-attribute-nclistitem branch from 4f307ec to fccba1f Compare December 6, 2023 16:57
@nfebe nfebe 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 <[email protected]>
@nfebe nfebe force-pushed the respect-target-attribute-nclistitem branch from fccba1f to abeeef2 Compare December 6, 2023 16:57
@nfebe nfebe enabled auto-merge December 6, 2023 16:58
@nfebe nfebe merged commit b344e19 into master Dec 6, 2023
15 checks passed
@nfebe nfebe 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 <[email protected]>
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 <[email protected]>
@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