Skip to content

[stable8] feat(referencePicker): introduce getReferenceWithPicker()#8609

Closed
backportbot[bot] wants to merge 6 commits into
stable8from
backport/8532/stable8
Closed

[stable8] feat(referencePicker): introduce getReferenceWithPicker()#8609
backportbot[bot] wants to merge 6 commits into
stable8from
backport/8532/stable8

Conversation

@backportbot

@backportbot backportbot Bot commented Jun 5, 2026

Copy link
Copy Markdown

Backport of #8532

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Review and verify the backported changes
  • Amend HEAD commit to remove the line stating to skip CI

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

mejo- added 6 commits June 5, 2026 09:38
Required for Text and Collectives to pass the link title from the picker
(e.g. Collectives PagePicker.vue) to the consumer (menubar in Text).

Signed-off-by: Jonas <jonas@freesources.org>
- In NcCustomPickerElement we cannot control the submitted type, so let's
  add the type check there as well.
- NcSearch is exported publically and used by apps, so changing its
  return type would introduce a backwards-incompatibility.
- NcProviderList, NcRawLinkInput and NcCustomPickerElement are not
  publically exposed, so we can change the emitted type there.

Signed-off-by: Jonas <jonas@freesources.org>
…adata

Required to keep forward-compatibility with consumers of `getLinkWithPicker()`.

Signed-off-by: Jonas <jonas@freesources.org>
…ruthy

Signed-off-by: Jonas <jonas@freesources.org>
…cker

Signed-off-by: Jonas <jonas@freesources.org>
…`pick`

chore(NcReferencePicker): rename new event from `submitReference` to `pick`

Signed-off-by: Jonas <jonas@freesources.org>

[skip ci]
@backportbot backportbot Bot requested review from ShGKme, max-nextcloud and mejo- June 5, 2026 09:38
@backportbot backportbot Bot added enhancement New feature or request 3. to review Waiting for reviews feature: functions composables, functions, mixins and other non-components labels Jun 5, 2026
@backportbot backportbot Bot added this to the 8.39.1 milestone Jun 5, 2026
@mejo-

mejo- commented Jun 6, 2026

Copy link
Copy Markdown
Contributor

I'll close the backport for now, as I don't think it's worth to backport this feature to the vue2 version.

@mejo- mejo- closed this Jun 6, 2026
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: functions composables, functions, mixins and other non-components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant