[PLAY-1532] Improve Dependency Display on PB Website #3701
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do? A clear and concise description with your runway ticket url.
https://runway.powerhrg.com/backlog_items/PLAY-1532
As a Playbook dev, I want to improve the way we are displaying kit dependencies on the Playbook website, so that there is no confusion when implementing our kits into Nitro.
Design will be based off of this handoff.
This PR is meant to be used as an example of how to implement these changes within Playbook and should NOT be merged.
Screenshots: Screenshots to visualize your addition/change
Problem
We want to improve the way we are display the dependencies of our kits on the Playbook website. The design of this dependency display will be based off of this handoff.
Solution
Updating "playbook-website/app/views/pages/kit_show.html.erb” to include a flex section for the summary display in the header portion of each kit page. We would use updated information from “menu.yml” proposed above to set a series of if conditions to track which dependencies should be displayed.
To make these changes more managable, we can shift the header view into its own partial (ie. "_kit_show_header.html.erb”).
In the case that no dependencies are used, we can set the summary flex to not be shown.
Alternative
Resources