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

Removes empty parent association sections from associations drawer #2741

Merged
merged 1 commit into from
Aug 30, 2017
Merged

Removes empty parent association sections from associations drawer #2741

merged 1 commit into from
Aug 30, 2017

Conversation

jensscherbl
Copy link
Member

I find the empty parent association sections in the redesigned associations drawer quite noisy since the 2.7.0-release (see screenshots). As far as I can tell, they also provide no real value, so I propose to remove them entirely. Not sure if this is something that should be changed in a patch release or better be cherry-picked for the 3.0.x-branch, but I’m working with the 2.7.0-code at the moment, therefore submitting this to the 2.7.x-branch.

screen shot 2017-08-21 at 19 36 08

screen shot 2017-08-21 at 19 36 48

screen shot 2017-08-21 at 19 38 08

screen shot 2017-08-21 at 19 37 57

@twiro
Copy link
Contributor

twiro commented Aug 22, 2017

Looks like sections without actual associations weren't listed in the "linked to"-part of the association drawer before 2.7.0 and I guess this change more or less "happened" while refactoring the drawer and wasn't really introduced by purpose.

So I'm all for Jens' proposal and remove these links in the next patch-release again.

@jensscherbl
Copy link
Member Author

@twiro Thanks for the detailed feedback, much appreciated.

@nitriques
Copy link
Member

nitriques commented Aug 25, 2017

The goal was to add information about the possible links. Without it, you loose information about all the possible associations. It is also weird to have empty sections in one way, but not the other way around.

I do not know if that fact comes from our data modelling. But I sure do know that Symphony should not care about one's data modelling, so I am tempted to add "Yet Another Configuration Setting"TM.

I'll think about it, but with 4 votes against 1 right now, you guys might expect me to merge it in the next few days ;)

@jensscherbl
Copy link
Member Author

It is also weird to have empty sections in one way, but not the other way around.

The difference is that having it for the other direction offers additional functionality because of the “new” button.

@nitriques
Copy link
Member

The difference is that having it for the other direction offers additional functionality because of the “new” button.

Yeah I understand that ;) Still feels weird to me!

@nitriques
Copy link
Member

Well, even @alexnantel88 is for it, so I guess democracy wins. This time ;)

@nitriques nitriques merged commit f93ea3b into symphonycms:2.7.x Aug 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants