Problem/Motivation

Synonyms module has a big codebase not so easy to maintain due to "All in one" approach at the beginning of Synonyms module development. The approach is inherited from D5/6 versions and continued in D7 and D8 releases as well.

This issue is in a close relationship with #3189977: Simplify Synonyms configuration which is a must-do before current Synonyms widgets could be moved to submodules.

Synonyms module has a significant performance impact on larger sites and division into submodules would be a nice performance improvement.

Proposed resolution

Divide Synonyms module into smaller submodules which could be installed or left uninstalled according to users needs:

Synonyms (main)
The main part of the module which provides synonyms services for additional widgets/behaviors.

Synonyms Autocomplete
Synonyms friendly autocomplete widget.

Synonyms Select
Synonyms friendly select widget.

Synonyms Search (This sub-module exists already)
Dependent on core Search module.

Synonyms Views Filter
Provides synonyms friendly views exposed filter.
Dependent on core Views module.

Synonyms Views Argument Validator
Provides synonyms friendly views argument validator.
Dependent on core Views module.

Remaining tasks

Create a separate task issue for each divided submodule for easier development and testing.

Comments

devad created an issue. See original summary.

devad’s picture

Issue summary: View changes
devad’s picture

Issue summary: View changes
devad’s picture

Title: Divide Synonyms module into submodules » [Meta] Divide Synonyms module into submodules
devad’s picture

Issue summary: View changes
devad’s picture

Issue summary: View changes
devad’s picture

Issue summary: View changes
devad’s picture

Issue summary: View changes
devad’s picture

Version: 8.x-1.x-dev » 2.0.x-dev
devad’s picture

Issue summary: View changes

Done!

devad’s picture

Issue summary: View changes
Status: Active » Fixed

Done!

Status: Fixed » Closed (fixed)

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

devad’s picture

Issue summary: View changes

Note: The "Synonyms UI" submodule is canceled and merged back to the main "Synonyms" module before v2.0.0 is released... due to the WSOD problem described here:

#3216532: WSOD when config_translation (being) enabled