https://community.openproject.org/wp/72671
The default custom field section was created with an empty
`display_representation` (`{}`), causing project attributes to not appear
on the project overview page even when enabled by users.
New sections correctly receive the default overview visibility area
(`"sidebar"`), but the default section was not initialized with it.
Add a migration to backfill existing default sections that have an
empty `display_representation` with the default value
`{ overview: "sidebar" }`.
* Show project attributes as sections in project overview
* Introduce a column "shown_in" for CustomFieldSection which defines whether the section shall be shown in the sidebar or the main section of the project overview
* Show only those attributes in main section that are configured to be shown there. Same for the sidebar.
* Update project attribute sections after editing them
* Write a test for the new positioning behavior of project attribute sections
* Rename "shown_in" with "display_representation" and make it a hash
* Provide proper default when creating a new section
* Enforce project attribute widgets to be in a new line and wrap properly
* Hide logic for moivng sections to the main area behind the feature flag
* Rename "main section" to "main area"
* Extract custom margins into normal sass
* Rename "side-panel" to "side panel"
* Update test to changed wording
Additionally moving the custom_fields relation from the CustomFieldSection
to the ProjectCustomFieldSection. This is required, because we have to specify the
custom_fields relation to include ProjectCustomField objects only.
Otherwise the nested include query in the ProjectCustomFieldsController does not work.