-
Notifications
You must be signed in to change notification settings - Fork 60
Include Relationship section in minimized mode #868
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
Include Relationship section in minimized mode #868
Conversation
show `Relationships` in minimized mode
Fix spacing and move view more link to the bottom
…hips` update tests for `DocumentationTopic`, `ContentTable`, and `Relationships`
fix declaration container margin
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems to be working well on a functional level.
As we discussed in person, the code for the "minimized" layout of documentation pages is starting to get pretty spread out and messy, but we may have to refactor things entirely using a new top-level component if we want to clean things up at this point. We may want to consider that in the future if we need to enhance this layout more.
@@ -44,6 +45,10 @@ export default { | |||
type: Array, | |||
required: true, | |||
}, | |||
enableMinimized: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think you need to change this, but in the future it might be worth considering provide/inject for situations like this where you're adding props to a component solely for the purpose of passing it down to further nested children.
@swift-ci test |
…/81022077 Include Relationship section in minimized mode (swiftlang#868) rdar://81022077
Bug/issue #, if applicable: rdar://81022077
Summary
Include Relationship section in minimized mode
Dependencies
NA
Testing
Steps:
Checklist
Make sure you check off the following items. If they cannot be completed, provide a reason.
npm test
, and it succeeded