Skip to content

Add navigation_with_excluded backend service#69

Merged
davisagli merged 1 commit intomainfrom
add-missing-navtree-with-excluded-backend
Feb 10, 2026
Merged

Add navigation_with_excluded backend service#69
davisagli merged 1 commit intomainfrom
add-missing-navtree-with-excluded-backend

Conversation

@reekitconcept
Copy link
Member

@reekitconcept reekitconcept commented Feb 10, 2026

Summary

  • Add @navigation_with_excluded REST API endpoint and expandable element that returns the full navigation tree including items marked as exclude_from_nav
  • Used for displaying breadcrumb titles in global search results where intermediate items may be hidden from navigation
  • The frontend part was already included; this adds the missing backend service

Test plan

  • Verify @navigation_with_excluded endpoint returns items excluded from navigation
  • Verify the expander works with depth parameter (expand.navigation_with_excluded.depth)
  • Run existing backend tests

Add a new navigation expander and REST API endpoint that returns the full
navigation tree including items marked as exclude_from_nav. This is needed
for displaying breadcrumb titles in global search results where intermediate
items may be hidden from navigation.

The frontend part was already included, this is to add the backend part
which has been missing.
@reekitconcept reekitconcept force-pushed the add-missing-navtree-with-excluded-backend branch from c82a44f to 6d3edc8 Compare February 10, 2026 17:35
@reekitconcept reekitconcept added this to the v2.0.0 milestone Feb 10, 2026
@reekitconcept reekitconcept added the enhancement New feature or request label Feb 10, 2026
Copy link
Member

@davisagli davisagli left a comment

Choose a reason for hiding this comment

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

Merging with the caveat that I don't want this to be here long term. We should add an option to the standard navigation service in plone.restapi instead.

@davisagli davisagli merged commit d14bbb9 into main Feb 10, 2026
23 checks passed
@davisagli davisagli deleted the add-missing-navtree-with-excluded-backend branch February 10, 2026 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants