enkelmedia / TheDashboard

Magic dashboard for Umbraco
MIT License
39 stars 42 forks source link

Find a way to visualise changes to lang-variants #52

Closed enkelmedia closed 3 years ago

enkelmedia commented 4 years ago

Today we're filtering all events in the "timeline" to only show the latest change for each node no, so if the editor changes both the English and Swedish we'll only show that there was ONE change to this node and we'll also show the English node name.

This leaves some room for improvements here, maybe to "aggregate" any changes to multiple change versions into one.

Data looks like this

id  userId  NodeId  entityType  Datestamp   logHeader   logComment  parameters
108 -1  1121    Document    2020-10-12 11:36:05.007 PublishVariant  Published languages: English (United States)    English (United States)
107 -1  1121    Document    2020-10-12 11:24:58.807 PublishVariant  Published languages: Swedish, Danish    Swedish, Danish
106 -1  1121    Document    2020-10-12 11:24:45.090 PublishVariant  Published languages: Danish Danish
104 -1  1121    Document    2020-10-12 11:22:22.037 PublishVariant  Published languages: Swedish    Swedish
103 -1  1121    Document    2020-10-12 11:22:10.837 PublishVariant  Published languages: Swedish    Swedish
102 -1  1120    Document    2020-10-12 11:21:58.650 PublishVariant  Published languages: Swedish    Swedish

As we can se the log entries only contains the language name but I guess it would be possible to translate this into a link as well: /umbraco/#/content/content/edit/1121?mculture=en-US

enkelmedia commented 3 years ago

https://github.com/enkelmedia/TheDashboard/discussions/67