Skip to content

[6.x] Append to Bard Entry links#11468

Merged
jasonvarga merged 25 commits intostatamic:6.xfrom
edalzell:feature/anchor-in-bard-entry-link
Apr 9, 2026
Merged

[6.x] Append to Bard Entry links#11468
jasonvarga merged 25 commits intostatamic:6.xfrom
edalzell:feature/anchor-in-bard-entry-link

Conversation

@edalzell
Copy link
Copy Markdown
Contributor

@edalzell edalzell commented Feb 18, 2025

We often need to link to entries with either/and query params and anchors. Without this, we have to use the url type, but then if the entry url changes, these links break.

@edalzell edalzell changed the title Append to Bard Entry links [5.x] Append to Bard Entry links Feb 18, 2025
@edalzell edalzell marked this pull request as ready for review March 6, 2025 22:39
@edalzell edalzell requested a review from jasonvarga March 6, 2025 22:39
@duncanmcclean duncanmcclean changed the title [5.x] Append to Bard Entry links [6.x] Append to Bard Entry links Jan 28, 2026
@duncanmcclean duncanmcclean changed the base branch from 5.x to 6.x January 28, 2026 17:32
@edalzell edalzell changed the base branch from 6.x to 5.x March 18, 2026 20:14
# Conflicts:
#	resources/js/components/fieldtypes/bard/BardFieldtype.vue
#	resources/js/components/fieldtypes/bard/LinkToolbar.vue
@edalzell edalzell changed the base branch from 5.x to 6.x March 24, 2026 22:39
edalzell and others added 8 commits March 24, 2026 15:41
- Fix String.replace(null) bug that could mangle URLs containing "null"
- Localize the "Append" label
- Return null consistently from getAppendsForUrl when no appends exist
- Add tests for query params, anchors, and combined appends on entry links

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
jasonvarga and others added 2 commits April 9, 2026 15:25
Auto-prepend ? or # to appends values missing a prefix, remove duplicate
ref="input" from the Append field, and add tests for localized entry
links and select_across_sites with appends.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@jasonvarga jasonvarga merged commit 7292e8f into statamic:6.x Apr 9, 2026
17 checks passed
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