-
Notifications
You must be signed in to change notification settings - Fork 13
[workspace-v1-epic] Add WorkspaceLayout and SkipTos #244
Conversation
src/application-navigation/ApplicationNavigationWorkspaceItem.jsx
Outdated
Show resolved
Hide resolved
src/application-navigation/index.js
Outdated
// titleConfigPropType, | ||
// navigationItemsPropType, | ||
// extensionItemsPropType, | ||
// utilityItemsPropType, | ||
// userConfigPropType, |
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.
here too
src/terra-dev-site/app/how-to.3/create-workspace-content.app.mdx
Outdated
Show resolved
Hide resolved
@@ -233,6 +237,47 @@ const myNotifications = { | |||
|
|||
`onDrawerMenuStateChange` callback allows the consumer to know state changes in Drawer Menu. | |||
|
|||
### `workspace` |
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.
New doc here
@@ -0,0 +1,49 @@ | |||
import WorkspaceContentProps from 'terra-application/lib/workspace/WorkspaceContent?dev-site-props-table'; |
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.
New doc here
@@ -0,0 +1,27 @@ | |||
# ApplicationNavigationActionsContext |
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.
New doc here
@@ -0,0 +1,343 @@ | |||
import { Notice } from '@cerner/terra-docs'; |
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.
New doc here
src/application-navigation/private/workspace-layout/WorkspaceLayout.jsx
Outdated
Show resolved
Hide resolved
src/application-navigation/private/workspace-layout/WorkspaceLayout.module.scss
Outdated
Show resolved
Hide resolved
src/terra-dev-site/app/components.2/ApplicationNavigation.app.mdx
Outdated
Show resolved
Hide resolved
Co-authored-by: Ben Cai <[email protected]>
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.
+1 to the new doc.
```jsx | ||
import { WorkspaceContent } from 'terra-application/lib/workspace'; | ||
``` |
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.
these usage sections are pretty useless, should we ditch it?
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.
maybe it's useful in showing the path to get to the workspace component, but thats about it.
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 think that's all they ever did, across all our packages. "Usage" might be the wrong word, but showing the the import path is helpful.
Summary
Add WorkspaceLayout and SkipTos to local ApplicationNavigation reference..
Closes #232
Closes #224
Deployment Link
https://terra-applic-.herokuapp.com/
Testing
Added jest and wdio test, updated existing application navigation tests.
Thank you for contributing to Terra.
@cerner/terra