Skip to content
Discussion options

You must be logged in to vote

The feature is still there, but in v0.30 it sits behind a setting that did not exist in v0.24.

What changed

In v0.24 the feed passed compact unconditionally, so collapsing was always on:

https://github.com/usememos/memos/blob/v0.24.4/web/src/pages/Home.tsx#L52

In v0.30 the whole memo body is wrapped in ClampedSection with enabled={Boolean(compact)}:

https://github.com/usememos/memos/blob/v0.30.0/web/src/components/MemoView/components/MemoBody.tsx#L40

and compact is now derived from the view state instead of being hardcoded:

https://github.com/usememos/memos/blob/v0.30.0/web/src/components/PagedMemoList/PagedMemoList.tsx#L144

The default view state is { orderByTimeAsc: false, compactMode: …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@l2389
Comment options

@canakyuz
Comment options

Answer selected by boojack
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants