Grab-bag of Admin UI Customisation Requests #5309
Replies: 7 comments 2 replies
-
Need info on how to add a custom Page to Admin Screen |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
import { config, createSchema, list } from '@keystone-next/keystone/schema';
import { select } from '@keystone-next/fields';
export default config({
lists: createSchema({
ListName: list({
fields: {
fieldName: select({
dataType: 'enum',
options: (context) => {
/* logic to check current state and decide on valid set of options */
return ([
{ label: '...', value: '...' },
/* ... */
]);
},
defaultValue: '...',
isRequired: true,
isIndexed: true,
isUnique: true,
ui: { displayMode: 'select' },
}),
/* ... */
},
}),
/* ... */
}),
/* ... */
}); @JedWatson - Request you look into this. |
Beta Was this translation helpful? Give feedback.
-
Build time
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Any updates? |
Beta Was this translation helpful? Give feedback.
-
In #4260 @gautamsi shared some requests and use-cases he has for things in the Admin UI, I wanted to start a thread to collect more of them that we can take into account while working on the new Admin UI design and customisation plan.
So if you have requirements like this (or have done / needed things in projects) please thread them here!
(see the linked PR for context on the UI change being discussed)
Some thought on this based on my past experience with UI Hooks
Placement like this will affect number of primary actions which can be placed on Item List page, I can visualize that it will be ugly when we want to add more item there.
if you place this filter and primary action together, Where would you add search.
I do have a customer where I have added 4-5 primary action and some secondary actions (when you select items) to be applied on selected items
I like the idea to add "Save" button on top of Create Item modal, I noticed that we have some view hints in ui config for items, one of the way we can also minimize the number of fields needed for initial create item view, the sequence is also important when rendered.
I also have request from customer to have full page editing like item details page rather than slide out modal. Basically I have request for both the form being either full page or both like create item modal.
it would be helpful if we can preserve the extensibility to customize the form rather than compose ourself. I know the focus is on composability rather than the ui hooks in new interface.
Beta Was this translation helpful? Give feedback.
All reactions