Skip to content

fix(events): add back support for #commentevent anchor#577

Merged
zzacharo merged 2 commits intoinveniosoftware:masterfrom
palkerecsenyi:request-event-anchor
Feb 17, 2026
Merged

fix(events): add back support for #commentevent anchor#577
zzacharo merged 2 commits intoinveniosoftware:masterfrom
palkerecsenyi:request-event-anchor

Conversation

@palkerecsenyi
Copy link
Member

@palkerecsenyi palkerecsenyi commented Feb 17, 2026

Release together with inveniosoftware/invenio-rdm-records#2255

  • The new links system we added in context plus utc plus links #560 accidentally stopped including #commentevent-{id} anchor in the self_html link of request events. This has now been added back by using the builtin anchor attribute on the EndpointLink class.

  • This does not support reply deep links (added in Deep link into replies #548) since they are not yet on master, currently only on the maint-v11.x branch. This avoids breaking instances that are already using invenio-requests v12.x.

palkerecsenyi added a commit to palkerecsenyi/invenio-rdm-records that referenced this pull request Feb 17, 2026
* Added the `request_event_anchor` method to the `BaseRequest` from
which all RDM-specific request types inherit. This allows including the
`#commentevent-{id}` anchor at the end of the `self_html` link of
request events.

* This method is added in
inveniosoftware/invenio-requests#577. Please
release these two PRs simultaneously.
Copy link
Member

@zzacharo zzacharo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ping @fenekku for reference

* The new links system we added in inveniosoftware#560 accidentally stopped including
`#commentevent-{id}` anchor in the `self_html` link of request events.
This has now been added back by using the builtin `anchor` attribute on
the `EndpointLink` class.

* This does not support reply deep links (added in inveniosoftware#548) since they are
not yet on master, currently only on the `maint-v11.x` branch. This
avoids breaking instances that are already using invenio-requests v12.x.
@zzacharo zzacharo merged commit b522169 into inveniosoftware:master Feb 17, 2026
4 checks passed
palkerecsenyi added a commit to palkerecsenyi/invenio-rdm-records that referenced this pull request Feb 17, 2026
* Added the `request_event_anchor` method to the `BaseRequest` from
which all RDM-specific request types inherit. This allows including the
`#commentevent-{id}` anchor at the end of the `self_html` link of
request events.

* This method is added in
inveniosoftware/invenio-requests#577. Please
release these two PRs simultaneously.
zzacharo pushed a commit to inveniosoftware/invenio-rdm-records that referenced this pull request Feb 17, 2026
* Added the `request_event_anchor` method to the `BaseRequest` from
which all RDM-specific request types inherit. This allows including the
`#commentevent-{id}` anchor at the end of the `self_html` link of
request events.

* This method is added in
inveniosoftware/invenio-requests#577. Please
release these two PRs simultaneously.
@palkerecsenyi palkerecsenyi deleted the request-event-anchor branch February 25, 2026 07:26
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