Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
When #2703637: Move non-dashboard functionality from crm_core_ui module lands will crm_core_ui include only dashboard functionality. Dashboards can easily be handled by Views, Panels, Page manager, ...
Proposed resolution
Kill crm_core_ui.
Comment | File | Size | Author |
---|---|---|---|
#8 | 2703639-8.patch | 17.43 KB | sanja_m |
Comments
Comment #2
sanja_m CreditAttribution: sanja_m at MD Systems GmbH commentedAssigning to me.
Comment #3
BerdirI would recommend that you wait with this.
Based on some discussions that I had with janez, it's possible that the remaining code will just go away.
Comment #4
sanja_m CreditAttribution: sanja_m at MD Systems GmbH commentedOk, postponed until #2703637: Move non-dashboard functionality from crm_core_ui module and will check with Janez after that if there's a need to do cleanups here.
Comment #5
slashrsm CreditAttribution: slashrsm at MD Systems GmbH commentedI discussed this with @Berdir and @miro_dietiker. The only functionality that remains in crm_core_ui at this point is dashboard and it's configuration. D7 approach looks a bit strange in D8 world as we used to work with paths which are not really first class citizens any more. It would make much more sense to use routes instead, which would then likely cause a lot of UX problems.
I checked how AbleOrganizer implements it's dashboard and found out it is using panels. That further proves our thought that we could simply remove crm_core_ui entirely and rely on other modules (Views, Page manager, ...) to take over /crm-core route and implement the dashboard there.
Current approach seems strange anyway as we end up with exactly the same content being displayed on two unrelated routes (/crm-core and /crm-core/ableorganizer_dashboard in case of AbleOrganizer).
I propose that we keep simple list of links that we currently have on /crm-core, kill crm_core_ui and let other modules take responsibility of that route to build more powerful dashboards on it.
Comment #6
slashrsm CreditAttribution: slashrsm at MD Systems GmbH commentedComment #7
slashrsm CreditAttribution: slashrsm at MD Systems GmbH commentedComment #8
sanja_m CreditAttribution: sanja_m at MD Systems GmbH commentedAdded patch.
Comment #9
CTaPByK CreditAttribution: CTaPByK at MD Systems GmbH commentedLooks ok.
Comment #11
slashrsm CreditAttribution: slashrsm at MD Systems GmbH commentedCommitted.