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

Quick entry creation in relation fields #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

edvincandon
Copy link

@edvincandon edvincandon commented May 8, 2020

This RFCS adresses strapi/strapi#4948 in a slightly different way.
I came across the same limitation on a strapi project recently and I tackled it myself..

If this feature ever lands in your backlog, I would gladly help :)

Thank you for reading

Preview Link: here

@edvincandon edvincandon changed the title Add RFCS : for quick entry creation in relation fields Add RFCS : quick entry creation in relation fields May 8, 2020
@alexandrebodin
Copy link
Member

Adding link to the preview in the description :)

@derrickmehaffy
Copy link
Member

This looks great, it would be a huge help for stuff like tag management similar to other CMSes.

👍

@Aurelsicoko
Copy link
Member

It looks really great, how do you deal with required fields? It seems to only work for Collection Types without any required and relational fields. Could you confirm this?

Great job, thank you very much 👏

@edvincandon
Copy link
Author

edvincandon commented May 30, 2020

It seems to only work for Collection Types without any required and relational fields. Could you confirm this?

Hey @Aurelsicoko - Yes exactly, in my use-case I didn't have to handle such Collection Types.

I figure this could be handled by scanning the target Collection Type and making sure :

If the feature was activated by default (without the user ticking an option in the settings), maybe this could be the condition to allow it ?

@derrickmehaffy
Copy link
Member

It seems to only work for Collection Types without any required and relational fields. Could you confirm this?

Hey @Aurelsicoko - Yes exactly, in my use-case I didn't have to handle such Collection Types.

I figure this could be handled by scanning the target Collection Type and making sure :

If the feature was activated by default (without the user ticking an option in the settings), maybe this could be the condition to allow it ?

I could see this being a common usecase with a manyWay relation type, but yeah the required fields would be a problem. Maybe we could have some kind of slider or popout/up window if there is more than one field (think how Ghost works? )

@alexandrebodin alexandrebodin changed the title Add RFCS : quick entry creation in relation fields Quick entry creation in relation fields Sep 15, 2020
@strapi-cla
Copy link

strapi-cla commented Jan 21, 2021

CLA assistant check
All committers have signed the CLA.

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

Successfully merging this pull request may close these issues.

5 participants