We should change the tempstore to save changes on a per-block level so that users can undo changes made to different blocks individually. Consider the following use case: user changes the settings for block 1, block 2 and block 3, then realizes that they need to undo the changes made to block 2. The only way to do that currently is to undo all changes, and then have the user recreate the changes for block 1 and block 3. Really bad UX and it gets even worse as the number of changed blocks increases.
How about we have per-block tempstores instead of a single one for the entire form? That would allow us to place "Discard changes" links individually on each changed block in addition to the global "Cancel" button that we have for the entire form.
Recent comments
In page.tpl.php you can get the current path and add it to the class array $classes[] = 'path-' . str_replace('/', '', $_SERVER['REQUEST_URI']); You will get an original class for each page....
Insert custom class into body tag
https://www.drupal.org/project/views/issues/1266388 shows that this is an architectural issue, and requires another 2 hooks being adjusted. It would be really nice to add comments/notes to...
node access
Hmmm, from D7 ancient tomes: from https://drupal.stackexchange.com/questions/7056/limit-which-roles-can-view-a-node-basing-on-its-content-type yet https://docs.backdropcms.org/api/...
node access