Follow-up to #2805097: Should the YAML form module change its name?
Problem/Motivation
The YAML Form namespace is potentially confusing. Clients and site builders don't need to under YAML to builder forms. The Drupal development community is familiar with YAML and are able to edit forms as YAML.
Proposed resolution
Keep the module's project title as "YAML Form" but within Drupal's UI refer to forms as forms (not YAML Forms).
Notes
- Wordpress has the same issue with GravityForms and NinjaForms which both module install using the 'Forms' project title but each add-on has a dedicated namespaces.
- The YAML Form project's routes will have to remain as 'yamlform'.
- This is reasonable because most Drupal sites will only use one form builder.
Development Notes
- Branch Name: 2808675-rename-project-title
- Commit message: Issue #2808675: Rename "YAML Form" to "Forms" within Drupal's UI.
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | rename_yaml_form_to-2808675-10.patch | 467.5 KB | jrockowitz |
| #8 | rename_yaml_form_to-2808675-8.patch | 461.22 KB | jrockowitz |
| #5 | Screen Shot 2016-09-29 at 2.27.07 PM.png | 183.54 KB | jrockowitz |
Comments
Comment #2
jrockowitz commentedComment #3
jrockowitz commentedChanging Priority to Major since this needs to be done ASAP.
Comment #5
jrockowitz commentedPlease checkout the '2808675-rename-project-title' branch to review this issue.
I think this is a major shift from the common practice that a module's title and namespace are the same. This change would benefit site builders while adding a little more confusion to developers.
If Drupal core does decide to use the 'Forms' namespace using the name 'Forms' within this module's menu links and page titles could cause some problems.
Comment #6
jrockowitz commentedOne immediate issue is that all tokens would have to remain as [yamlform] and [yamlform-submission]
Comment #8
jrockowitz commentedComment #10
jrockowitz commentedComment #11
jrockowitz commentedComment #13
jrockowitz commentedThis change has actually improved my personal user experience, while navigating around my own module. So I going to commit to this change and we can gradually fix any minor editorial issues as they come up.
My gut says that Drupal core won't occupy the 'Forms' namespace until Drupal 9.x which won't be for a few years. When and if there is a naming conflict with the 'Forms' namespace, the YAML Form module's menu links and breadcrumbs will need to be changed to back "YAML Forms". Within the module it will still be okay to refer to forms as 'Forms' and submissions as 'Submissions'.
Comment #14
jrockowitz commented