Skip to content

chore: matching creation flow to node flow#1

Merged
jjroelofs merged 7 commits into1.xfrom
jur/1.x/matching-creation-flow-to-node-flow
Aug 16, 2025
Merged

chore: matching creation flow to node flow#1
jjroelofs merged 7 commits into1.xfrom
jur/1.x/matching-creation-flow-to-node-flow

Conversation

@jjroelofs
Copy link
Copy Markdown
Contributor

Linked issues

  • (Fix) #PUT_ISSUE_NUMBER_HERE

Checklist

Jurriaan Roelofs and others added 7 commits August 15, 2025 11:17
…ion pattern

- Remove intermediate Add AI Social Post menu level for cleaner navigation
- Update menu links to show post types directly under main collection
- Simplify add page template to match node/add UI with panel and gin-layer-wrapper classes
- Remove unnecessary description fields from template for cleaner interface
- Add dedicated permission for administering AI Social Post types
- Streamline 2-level menu structure matching core Drupal patterns
- Fix coding standards violations in module install files

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
- Replace custom ai_social_post_add_list theme with standard entity_add_list
- Remove hardcoded Gin theme classes (panel, gin-layer-wrapper, etc.)
- Delete custom template file templates/ai-social-post-add-list.html.twig
- Update controller to use proper bundle structure for entity_add_list theme
- Module now respects active admin theme styling (Gin, Claro, Seven, etc.)

This change ensures the module works properly with any admin theme rather than
being tied to specific Gin theme classes and structure.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
- Change 'AI Social Post' to 'Social Post' throughout UI text
- Update menu titles, route titles, and controller messages
- Fix all line length warnings in controller and install files
- Maintain consistency with Drupal node creation pattern

This aligns the UI text with core Drupal conventions while fixing
all linting issues.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
- Add hook_help() implementation with detailed module documentation
- Provide context-specific help for main help page
- Add inline help for Social Posts collection page
- Add inline help for Add Social Post page
- Add inline help for Social Post Types page
- Import required RouteMatchInterface and Url classes
- Remove duplicate @file declaration

The help text explains what the module does, how to create posts,
manage post types, and integrate with existing content.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
- Remove duplicate help text from collection page (/admin/content/ai-social-posts)
- Move detailed help text to add page (/admin/content/ai-social-posts/add)
- Add concise help for post types page directing to submodules
- Fix menu and task link titles from 'Add Social Post' to 'Social Posts'
- Remove hardcoded description from AiSocialPostListBuilder

This eliminates duplicate help text while maintaining useful guidance
and proper navigation consistency.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
@jjroelofs jjroelofs changed the title Jur/1.x/matching creation flow to node flow ui: matching creation flow to node flow Aug 16, 2025
@jjroelofs jjroelofs changed the title ui: matching creation flow to node flow chore: matching creation flow to node flow Aug 16, 2025
@jjroelofs jjroelofs merged commit 084c8ed into 1.x Aug 16, 2025
7 of 9 checks passed
@jjroelofs jjroelofs deleted the jur/1.x/matching-creation-flow-to-node-flow branch August 16, 2025 09:25
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.

1 participant