Skip to content
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

Allow inclusion of custom templates in the Details Admin UI #204

Closed
JedWatson opened this issue Feb 27, 2014 · 7 comments
Closed

Allow inclusion of custom templates in the Details Admin UI #204

JedWatson opened this issue Feb 27, 2014 · 7 comments
Assignees

Comments

@JedWatson
Copy link
Member

Would be rendered with the context of the item to allow display of virtual properties, etc.

For bonus points, would be great to be able to add custom buttons to call methods specified on the item (e.g. on a User model, calling a sendForgottenPassword() method)

@rtgibbons
Copy link

I hate +1's, but I was looking to add both of these to the admin UI. Has there been any work on this?

@JedWatson
Copy link
Member Author

Lots, actually! I'd be +1'ing this like mad, if I were anyone else. I really want it.

The biggest holdup is the looming task to rebuild the Admin UI as a client-side app (initially discussed in #387)

I've now looked into both component(1) and polymer and they're both not the right fit for various reasons, in particular I'd really love to go with polymer but it's just too alpha - there are serious issues around styling components as well as breaking issues in major browsers (including the latest safari).

After a lot more research we're probably going with either React or Vue.js. I've got prototypes in development with both, and it hopefully won't take much longer to pick a direction and get it underway.

Until then I've been holding off on adding this because it would be a major breaking change to switch from server-side to client-side rendering once people have started creating admin customisations (or, for that matter, custom field types which are another huge priority).

If the general consensus is to add a simple, server-side capability for this now and then anyone who implements it is happy to live with the changes coming, I'm open to that... let me know what you think.

@rtgibbons
Copy link

I see where you are going. Moving this client side will be awesome and allow for a lot of customization.

For me the biggest want is the ability to include virtual in the list / detail view. And then define defaultStaticActions and defaultMethodActions, which would put buttons on the list / detail view respectively.

@JedWatson
Copy link
Member Author

The move to client side has begun: #503

Will revisit this once that's complete.

@arthurtalkgoal
Copy link
Contributor

Hi,

Can we add custom button to keystone admin UI now?

I really want to add a button to trigger related function of the current object.

Thanks,

@VinayaSathyanarayana
Copy link

What is the current status of this?

@creynders
Copy link
Contributor

We're closing all feature requests to keep the issue tracker unpolluted. From now on submit feature requests on productpains.com!

https://productpains.com/post/keystonejs/allow-inclusion-of-custom-templates-in-the-details-admin-ui

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants