Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tabs] Redefine active item logic #378

Closed
richardhand opened this issue Nov 14, 2018 · 0 comments
Closed

[Tabs] Redefine active item logic #378

richardhand opened this issue Nov 14, 2018 · 0 comments
Labels
bug Unexpected problem or unintended behavior that impairs normal functioning of the product.
Milestone

Comments

@richardhand
Copy link
Contributor

richardhand commented Nov 14, 2018

Change the way that an active item is defined such that it's not based on the path of the child item, the main motivation being a clean JSON output that doesn't expose such paths (see #298).

Keep the activeItem property on the Tabs parent and rather than providing a path, return the resource name (item_2 etc.) of the active item in the Tabs Sling Model.

CQ-4257502

@richardhand richardhand added the bug Unexpected problem or unintended behavior that impairs normal functioning of the product. label Nov 14, 2018
@richardhand richardhand added this to the 2.2.2 milestone Nov 14, 2018
richardhand added a commit that referenced this issue Nov 16, 2018
richardhand added a commit that referenced this issue Nov 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unexpected problem or unintended behavior that impairs normal functioning of the product.
Projects
None yet
Development

No branches or pull requests

2 participants