Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: add distraction free post layout #672

Merged
merged 7 commits into from
Dec 23, 2024

Conversation

AkesiSeli
Copy link
Collaborator

Technical details

This PR implements the possibility to change post layout in timelines, choosing between the full theme (default, current as-is) and "distraction free" (where preview and attachments are hidden from the timeline and can only be seen in the detail).

Additional notes

This prepares the ground for future PRs where additional layout options are going to be introduced.

@AkesiSeli AkesiSeli self-assigned this Dec 23, 2024
@AkesiSeli AkesiSeli added the enhancement New feature or request label Dec 23, 2024
@AkesiSeli AkesiSeli linked an issue Dec 23, 2024 that may be closed by this pull request
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Flag Coverage Δ
unittests 57.92% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...n/identity/repository/DefaultSettingsRepository.kt 95.00% <100.00%> (+0.17%) ⬆️

@AkesiSeli AkesiSeli modified the milestone: 0.4.0 Dec 23, 2024
@AkesiSeli AkesiSeli merged commit 0f08dc8 into master Dec 23, 2024
2 checks passed
@AkesiSeli AkesiSeli deleted the feat-distraction-free-post-layout branch December 23, 2024 17:06
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Timeline] Disable preview card and attachments - create post layouts
2 participants