Core contact module roadmap
Background
Now that we have a new release cycle, we have the possibility of new features in minor releases, i.e. although we are in feature freeze for 8.0, that doesn't mean we can't add new features until 9.0. Provided they are backwards-compatible, we can add new features in 8.1 and 8.2.
After recently taking over maintainer-ship of the core contact module, @tim-e and I, in consultation with @andypost and @berdir have formulated a draft roadmap for the features we'd like to see in contact module in the future.
We're publishing it here for wider community-input.
High-level goal
To provide the 80% use-case of webform. i.e. allowing creation and submission of feedback forms from site-users; and providing editing, listing and administration of submitted form values.
Webform contains lots of features, we're only after expanding contact module slightly to add storage and administration and in the process meet the basic use-case of webform in core.
Note that some of these items are features and can be developed in contrib during 8.0 if required with the view to include in point releases eg 8.1, 8.2.
-
Open issues
- Move subject/message fields to use widgets https://www.drupal.org/node/1856562
- Make contact message behave like normal entity https://www.drupal.org/node/2289063
- Rename contact category to form https://www.drupal.org/node/2285083
- Provide redirect option https://www.drupal.org/node/306662
-
Key features/issues on roadmap
- Add (pluggable) storage of messages https://www.drupal.org/node/1856560 - we already have a test implementation of this (in a test module) in core, so it is already technically possible.
- Add views integration https://www.drupal.org/node/1856560
- Add admin listing of submissions w/ bulk actions to delete https://www.drupal.org/node/1856560
- Add ability to edit submissions
- Support for file-fields attached to emails - requires formatter for file-field.
- Ability to edit format of messages bodies including tokens
- Move email logic out of form submit handler to allow submission of messages via REST api that also send email
- Move email logic into own service and add events for other modules to interact
- Make email sending optional at category (form) level
- Path integration to allow simple alias management of contact categories
- Per contact-category permissions to allow granular access
- Provide a menu-link per category in a custom menu - auto builds menu of contact category links leveraging the menu link API to solve the category selector regression.
- Provide a configurable and themable block of selected contact forms. Probably needs views to query contact categories. https://www.drupal.org/node/1997692 and https://www.drupal.org/node/599770
Approach
- Move https://www.drupal.org/node/1856560 to a meta and add sub-issues for 2.1, 2.2 and 2.3
- Create issues for 2.4 through 2.11