These are the plans for the short-term development of this module.

This mostly concerns the refactor and improvements for a 2.x branch, without backwards compatibility with the 1.x branch.
Once this is done, the 1.x branch will be marked as unsupported, and all new development will happen in 2.x.

Must-haves before tagging 2.0-alpha1:

# Feature / Task Issue(s) Branch
1 Track also the name of the field used to create relationships #2949951: Add field name information to schema 2.x
2 Standardize terminology source/destination #2951584: Change terminology for module 2.x
3 Revisions refactoring #2949853: Support revisions / moderation workflows 2.x
4 Translations refactoring #2922418: Refactor multilingual tracking 2.x
5 Support config entities / content entities with non-numeric IDs #2951093: Support alphanumeric entity IDs and config entities 2.x
6 Increase configuration options #2950686: Allow more flexibility to enable or disable usage tracking for specific sources/destinations/fields/processors 2.x
7 Delete usage only per-plugin #2950743: Missing method parameter in delete method 2.x
8 Plugin for other embedding solutions #2950107: Add plugin for tracking non-LinkIt links in WYSIWYG fields 2.x
9 Other interface improvements #2951720: Remove method column from usage tab
#2951723: Expose batch update form in UI
#2951894: Remove checkboxes from the bulk update page
2.x
10 Add new hook to allow modules to deny tracking of an entity #2951696: Add new hook to allow modules to deny tracking of an entity 2.x
11 Trigger a batch update after database is recreated with new schema #2951829: Trigger batch update after changing DB schema in 2.x 2.x
12 Refactor / Improve tests #2952008: Automated tests: Refactor existing and add missing coverage 2.x
13 Known bugs: #2952007: Usage is not erased when field storage is deleted
#2952187: Entity usage for revisions not correctly removed (2.x)
2.x
14 Improve module documentation #2956501: Update module documentation for 2.x and release 2.0-alpha1 2.x

Could haves:

# Feature / Task Issue(s) Branch
1 Refactor plugins architecture to make plugins lighter #2950246: Make tracking plugins lighter 2.x
2 Make it easier to get relationship chain #2949952: Make it easier to retrieve full relationship chain 2.x
3 Add tracking information to status report #2871390: Create a message in status page reporting the number of relationships tracked 2.x
4 Refactor tests 2.x
5 Unify ::add() and ::delete() API methods #2951751: Simplify API methods and create new helpers 2.x
6 Improve list usage page:
- Add new info (revision, language, fields, etc)
- Make it more user-friendly (use labels instead of machine names, link to correct languages, etc)
#2952210: Improve list usage page 2.x

Done:

# Feature / Task Issue(s) Branch
Refactor embed plugin to use base class #2927857: Support for the Linkit module 1.x / 2.x
Plugin for LinkIt #2927857: Support for the Linkit module 1.x / 2.x
Add "Usage" tab (local task) on all tracked entities #2932559: Make it easier to access entity usage list of an entity 1.x / 2.x
Plugin for Link fields #2949950: Add plugin for tracking trhough Link fields 1.x / 2.x

Comments

marcoscano created an issue. See original summary.

marcoscano’s picture

Issue summary: View changes
marcoscano’s picture

Issue summary: View changes
marcoscano’s picture

Issue summary: View changes
marcoscano’s picture

Issue summary: View changes
marcoscano’s picture

Issue summary: View changes
bryandenijs’s picture

Issue summary: View changes
marcoscano’s picture

Issue summary: View changes
marcoscano’s picture

Title: [META] Development roadmap » [META] 2.x Development roadmap
Issue summary: View changes
marcoscano’s picture

Issue summary: View changes
marcoscano’s picture

Issue summary: View changes
miro_dietiker’s picture

Yeah sounds like a plan.

To reduce pain, i thought we should put bulk regeneration to the roadmap to cycle through all source data (entities?) and extract the usage references after the usage data/schema changes. Then we could simply delete our plugin data and don‘t need to care about stale records or data updates.

marcoscano’s picture

@miro_dietiker thanks for the feedback!

Yes, I definitely think we should regenerate all the records after changing the schema. Actually the easiest way to do it IMHO is: 1) drop the table, 2) re-create the table with the new schema, 3) trigger the batch for bulk updating all statistics.

The only drawback I can see by doing this, is that by the time this code is released, we will probably have included new plugins at the same time of this upgrade, so maybe after running the DB update people will have way more statistics than they had before (once we plan to enable all tracking methods by default). But again, once our data can always be re-calculated, if people are not happy with all the new data, they can always disable some plugins, then navigate to the bulk-generate page again and trigger it manually.

seanb’s picture

Issue summary: View changes
marcoscano’s picture

Issue summary: View changes

Adding some follow-ups to the IS.

marcoscano’s picture

Issue summary: View changes

Updated IS with the hook issue done and other UI improvement on the batch update form.

marcoscano’s picture

Issue summary: View changes

Implemented the triggering of bulk update inside the update hook.

seanb’s picture

Issue summary: View changes

Committed #2922418: Refactor multilingual tracking to 2.x unstable. Still needs tests, but so do a lot of other new features. We might want to make a new issue to refactor the tests architecture to make it easier to test all the different cases and plugins?

marcoscano’s picture

Issue summary: View changes

Yep, I've created #2952008: Automated tests: Refactor existing and add missing coverage do specifically deal with the tests (existing and missing).
Thanks!

I've also opened #2952007: Usage is not erased when field storage is deleted and added it to the must-haves, once it's a pretty important bug.

seanb’s picture

seanb’s picture

Issue summary: View changes
marcoscano’s picture

Version: 8.x-1.x-dev » 8.x-2.x-dev
marcoscano’s picture

Issue summary: View changes
marcoscano’s picture

marcoscano’s picture

Status: Active » Fixed

2.x-1.0-alpha1 is out. Thanks everyone who contributed!

Status: Fixed » Closed (fixed)

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