-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add Navigation component to customisable components in adminConfig * add composable navigation components and types to admin-ui/component exports * update to Navigation component * add types for Navigation component * add example for custom-navigation-compoent * add custom route * add example * add guide links * wip nav guide * add minor a11y fixes * update docs and examples * custom admin-ui docs * update yarn.lock * smoke tests for nav example * update test and example * dependency fixes * fix smoke tests * fix failing tests * nope nevermind, not fixed * nav architecture refactor * docs wip * remove d ocs to be added in subsequent PR * type shuffling, so we do not have icky circular type references in @keystone-next/types * changesets * Update .changeset/fluffy-schools-allow.md Co-authored-by: Tim Leslie <[email protected]> * Update .changeset/rare-carrots-deliver.md Co-authored-by: Tim Leslie <[email protected]> * yarn.lock reversion * remove unnecessary comments Co-authored-by: Tim Leslie <[email protected]>
- Loading branch information
1 parent
df419a7
commit 9e2deac
Showing
6 changed files
with
173 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@keystone-next/keystone': minor | ||
--- | ||
|
||
Added the ability to customise the Navigation component in the Admin UI, and provided helper components to do so. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@keystone-next/types': minor | ||
--- | ||
|
||
Add Admin UI specific types AuthenticatedItem, VisibleLists, CreateViewFieldModes and NavigationProps to exports. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,18 @@ | ||
// FIELD VIEW SPECIFIC COMPONENTS | ||
export { CellContainer } from './CellContainer'; | ||
export { CellLink } from './CellLink'; | ||
|
||
export { ErrorBoundary, ErrorContainer } from './Errors'; | ||
|
||
// ADMIN-UI CUSTOM COMPONENTS | ||
export { Logo } from './Logo'; | ||
export { Navigation } from './Navigation'; | ||
export { Navigation, NavigationContainer, NavItem, ListNavItems, ListNavItem } from './Navigation'; | ||
|
||
// co-locating the type with the admin-ui/component for a more a salient mental model. | ||
// importing this type from @keystone-next/keystone/admin-ui/components is probably intuitive for a user | ||
export type { NavigationProps } from '@keystone-next/types'; | ||
|
||
// CUSTOM PAGE BUILDING UTILITIES | ||
export { PageContainer } from './PageContainer'; | ||
export { CreateItemDrawer } from './CreateItemDrawer'; | ||
export { GraphQLErrorNotice } from './GraphQLErrorNotice'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9e2deac
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.
Successfully deployed to the following URLs: