many changes related to #1192:

- use CSS contain wherever possible to reduce subtrees of forced reflows
- reduced dependency between note and note_contents updates which will reduce number of updates to components
- optimization of "many rows" querying
This commit is contained in:
zadam
2020-08-16 22:57:48 +02:00
parent c20577909c
commit 53b39e2e82
39 changed files with 169 additions and 58 deletions

View File

@@ -64,8 +64,8 @@ export default class NoteInfoWidget extends CollapsibleWidget {
.attr("title", noteComplement.dateCreated);
this.$dateModified
.text(noteComplement.dateModified.substr(0, 16))
.attr("title", noteComplement.dateCreated);
.text(noteComplement.combinedDateModified.substr(0, 16))
.attr("title", noteComplement.combinedDateModified);
this.$type.text(note.type);
@@ -78,7 +78,7 @@ export default class NoteInfoWidget extends CollapsibleWidget {
}
entitiesReloadedEvent({loadResults}) {
if (loadResults.isNoteReloaded(this.noteId)) {
if (loadResults.isNoteReloaded(this.noteId) || loadResults.isNoteContentReloaded(this.noteId)) {
this.refresh();
}
}