Skip to content

Let a subject link work inside a value - #357

Merged
czpython merged 1 commit into
mainfrom
subject-link-in-value
Aug 30, 2026
Merged

Let a subject link work inside a value#357
czpython merged 1 commit into
mainfrom
subject-link-in-value

Conversation

@czpython

Copy link
Copy Markdown
Owner

ui.Link(subject=…) worked as a block. Inside a TextValue it passed every check on the server and then rendered as plain text: the value renderer knew the page and url destinations only, so a subject link in a table cell, a fact, or a list item was not clickable.

The block renderer and the value renderer were the same control minus one branch. They are one control now. A value passes its own text as the label; a link block keeps its own.

A test covers a subject link in a list item.

A Link with subject= rendered as dead text in a table cell, a fact, or a
list item. The value renderer knew the page and url destinations only, so
the subject destination fell through to plain text.

One control now draws every link, wherever it sits. A value passes its
own text as the label.
@czpython
czpython merged commit f2b02c6 into main Aug 30, 2026
2 checks passed
@czpython
czpython deleted the subject-link-in-value branch August 30, 2026 15:20
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.

1 participant