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

Entry type selector is not visible when quick editing an entry. #4102

Closed
monachilada opened this issue Apr 5, 2019 · 4 comments
Closed

Entry type selector is not visible when quick editing an entry. #4102

monachilada opened this issue Apr 5, 2019 · 4 comments
Labels
content modeling 📓 features related to content modeling enhancement improvements to existing features

Comments

@monachilada
Copy link
Contributor

Description

When quick editing (triggered by double click) an entry from an entry field or from the Entries page, the dropdown to select entry type is absent. Creating a new entry in an entry field context provides the option as expected.

Steps to reproduce

  1. Double click an entry from an Entry page or from an entry field that has multiple entry types available to choose from
  2. Observe that the expected entry type dropdown is absent

Additional info

  • Craft version: 3.1.21.1
@brandonkelly brandonkelly added content modeling 📓 features related to content modeling enhancement improvements to existing features labels Apr 5, 2019
@brandonkelly
Copy link
Member

That’s expected behavior, so I’m marking this as an enhancement.

@monachilada
Copy link
Contributor Author

Ok, that's interesting. Could you elaborate on why it is designed to work that way?

My use case is that I have an entries field within a matrix block, and my section has a four entry types that provide slight variations on content — a title and some descriptive text accompanied by either a pull quote, image or video, or nothing at all.

Sometimes I might start typing in the description for a vanilla entry only to realise I need to add an image. I can then select from the dropdown my alternate entry type and my descriptive text is still there, only now I'm offered my additional field for adding the image asset.

But situations might also occur where one of these entries has already been defined, but its variant needs to be switched to one of the other types. I would like to have the same convenience to be able to make this switch from within the quick edit in my entries field rather than having to go back out to my Entries, finding the right entry without the help of the convenience of the context of my related related "parent" element and make the switch from the full entry edit page.

To me it seems inconsistent to offer the option when creating the new entry with quick edit, but not when editing an existing one, when there appears to be no technical reason not to — this can after all be done from the full edit page with no adverse effects.

Would you be open to a PR for the enhancement?

@brandonkelly
Copy link
Member

Could you elaborate on why it is designed to work that way?

Because it’s not something people tend to change once they’ve created an entry, and we don’t want to add extra fields to the quick edit HUD that we know most people won’t touch. (This is the first time anyone has asked about it, for example.)

Would you be open to a PR for the enhancement?

Not really, see above. I think we’d want to give the editor HUD a multi-tab UI where extra details like the entry type could be accessed from a separate tab, out of normal view. Something to consider in Craft 4 where we will be making a lot of other field layout enhancements.

@brandonkelly brandonkelly added this to the 4.0 milestone Apr 10, 2019
@brandonkelly brandonkelly modified the milestones: 5.0, 3.7 Jun 5, 2021
@brandonkelly brandonkelly mentioned this issue Jun 5, 2021
@brandonkelly
Copy link
Member

This has been resolved for 3.7. The new entry editor slideouts include an Entry Type field in the sidebar, regardless of whether it’s a new or existing entry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content modeling 📓 features related to content modeling enhancement improvements to existing features
Projects
None yet
Development

No branches or pull requests

2 participants