I am currently refactoring this module for different reasons on https://github.com/derhasi/cleverreach :

  • Make block configuration exportable
  • Use Entity API for common tasks
  • Refactor and simplify some functions (e.g. store groups in cache as they are not really used for anything else)
  • Adding form weight to fields
  • Maybe implementing Double Opt In
  • Maybe implementing archives

Feel free to share your thoughts, comment or review on github or here ;)

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

kasalla’s picture

I'm actually working on this project. I will implement the Double Opt In feature in the next version (in 1-2 days). If you have some features for this module, please create a .patch and i will add them into the next dev version.

derhasi’s picture

That's great. I will do some cleanup tomorrow. As implementing Entity API export lead to a lot of rewriting, a patch would be very big. Currently I did not cut any functionality, so it covers the use cases of 1.x. I'm not sure if you want such a "big" rewrite of your module.

Based on your opinion I would provide a single or multiple patches. The github repo currently only is there for pushing the development somewhere for our composer based workflow and for giving you the opportunity to easily review the changes.

You can see the comparison to the 1.x in https://github.com/derhasi/cleverreach/compare/7.x-2.x. Currently both UIs are still active, but after the cleanup tomorrow the picture should be a little more clearer.

derhasi’s picture

Assigned: Unassigned » derhasi
Status: Active » Needs review
FileSize
65.35 KB

So I did some cleanup and provided an update path for the new Entity API Storage: See the patch attached or the github comparison.

Currently I named the upate hooks for a 7.1 release. If you want to put that in the 7.2 release branch, I'd need to rename those again. The patch does a lot of reworking, but most of it is backwards compatible, except the renaming of the theme function and the form callback.

I would keep on implementing #2135241: Implement double opt-in and #2353425: Custom label for fields/attributes based on this refactoring, as I need that for our project right now. Please let me know if you have any restrictions on that. I'm around in IRC too ;)

derhasi’s picture

FileSize
65.21 KB
2.12 KB

I updated the branch name on github, so the compare view moved to https://github.com/derhasi/cleverreach/compare/2445177-refactoring.

In addition I had to do some minor changes due to newline and a wrong label (see interdiff.txt).

  • derhasi committed cda5d31 on 7.x-1.x
    Issue #2445177 by derhasi: Refactoring & Exportable block configuration
    
derhasi’s picture

Status: Needs review » Fixed

Merged to dev with help of Joel/kasalla.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.