Problem/Motivation
Currently in DSFR profile there is almost nothing.
Need to configure:
- Block content types
- Text + media #3450549: Component: text + media
- others like in Bootstrap profile and depending on the DSFR design system (partially done)
- Paragraph types (mainly for those block content types) (partially done)
- Content types
- Media types
- Taxonomy vocabularies
- Views
- Layout Builder Browser (partially done)
- User roles and permissions
- Transversal configuration: Pathauto, Simple sitemap, etc.
Create default content.
Add Field Tools.
| Comment | File | Size | Author |
|---|---|---|---|
| #42 | Taille form.png | 31.24 KB | laetitia_al |
| #42 | bloc important titre.png | 17.72 KB | laetitia_al |
| #42 | accordeon form long.png | 36.92 KB | laetitia_al |
| #42 | Texte désordre langue et titre.png | 11.71 KB | laetitia_al |
| #34 | enregistrement page article.png | 47.6 KB | laetitia_al |
Issue fork sobki_profile_dsfr-3483124
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3483124-config-default-content-types
changes, plain diff MR !32 /
changes, plain diff MR !22 /
changes, plain diff MR !26 /
changes, plain diff MR !27 /
changes, plain diff MR !28 /
changes, plain diff MR !29 /
changes, plain diff MR !30
- 3483124-configure-default-structure
changes, plain diff MR !14
- 11.0.x
compare
- 10.1.x
compare
Comments
Comment #2
grimreaperComment #3
grimreaperComment #4
maboy commentedComment #5
grimreaperComment #6
grimreaperComment #7
maboy commentedConfigured Block types :
Comment #9
maboy commentedComment #10
grimreaperComment #11
grimreaperComment #13
grimreaperComment #14
grimreaperComment #16
maboy commentedComment #17
grimreaperTo rebase + 2 remaining review points.
Comment #34
laetitia_al commentedHere is an update on the progress of the DSFR profile configuration. A significant amount of work has been done to enrich and stabilize the profile.
✨ New Features & Additions
- Block Previews: Images have been added to showcase the "Text", "Text + CTA", and "Form" blocks, providing a better preview in the back-office.
- DSFR Icons: The DSFR icon library has been integrated, with the ability to add them directly to the "Tile" component.
- Default Content: Content for a homepage and news articles has been created to provide a more comprehensive starting point.
✔️ Fixes & Improvements
- Responsive Preview: The responsive preview has been improved. Although the menu still requires some adjustments, the current state is functional for testing.
- Button Hover: The hover effect on buttons has been corrected for better consistency.
- Back-office Icons: The "add/remove" section icons in the back-office have been fixed and integrated.
- "News" Content Type:
-- A background has been added for the introduction and the image.
-- The "Body" field label at the top of the page has been removed.
-- Block alignment has been corrected.
- News Listing Page: The view is now configured to display 6 news items per page, in 3 columns.
- Basic Page: The page title is now correctly hidden by default. - Dashboard: The offset of the "+" icon on the dashboard has been fixed.
- Media Previews: A fix has been applied for media previews.
- Component Switching: A fix has been made to the component switching functionality (to be verified across all components).
- Component Body: A line break has been added to the "Body" field of components for better readability.
📝 Points to Review
- Responsive Menu: The mobile menu still needs further improvement.
- "News" Page:
-- The validation message upon saving overlaps with the introduction's background.
-- The pagination is too close to the content blocks.<
- Form: There might be a bug in the form's layout configuration that needs to be checked.
- Article preview : When viewing a preview of an article, the text 'return to content editing' is not clearly visible.
Comment #35
grimreaperComment #42
laetitia_al commentedText block to be enlarged in the block settings on basic pages
Block:
Callout :
-Title (required) – 1 line
-Title (optional) – 1 line
Quote :
-Title (required) – 1 line
-Author – 1 line
-Source – 1 line
Skiplinks :
- Title (required) – 1 line
-Link text – 1 line
Important :
-Title (required) – 1 line
-Title (optional) – 1 line
- Description – Multiple lines
Accordion :
- Title (required) – 1 line
Alert :
- Title (required) – 1 line
- Title (optional) – 1 line
- Description – Multiple lines
Card :
- Title (required) – 1 line
- Title card – 1 line
- Link text – 1 line
Tile :
- Title (required) – 1 line
- Description – Multiple lines
Text :
- Title (required) – 1 line
Text + CTA :
- Title (required) – 1 line
Media :
- Title (required) – 1 line
Other remarks:
All blocks: Title required, text placement.
Text placement with language option: Callout, Quote, Skiplinks, Accordion, Text, Text + CTA, Media.
No language option: Important, Alert, Card, Tile, Form.
Check block title Important.
Accordion block: bug with form size.
Improvement: use French for all components and also for the content (“actualités” instead of “news”).
Comment #45
grimreaper