It seems the collapsed-state is stored in the underlying documents since some time back. Related to this feature-request: Save the collapse state of a block - Feature Requests - Logseq
I’d like to argue that this metadata shouldn’t be a part of the documents and rather only be a part of the runtime or edn cache.
The reason for this is that I’m often collapsing and expanding notes when reading. And this is not important enough to add versions to change history in GIT or sync.
At least make storing collapsed-state in the documents an option. Please