Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

refactor(ui): redesign swipe mark as read for article item #553

Merged
merged 1 commit into from
Jan 22, 2024

Conversation

Ashinch
Copy link
Owner

@Ashinch Ashinch commented Jan 20, 2024

Currently, we don't have the option to mark as unread by swiping left, so SwipeableArticleItem is unnecessary when the article has been read.

(Mainly because I haven't found a way to increase the swipe friction, and the default friction factor makes it easy for users to accidentally trigger it.)

In order to give SwipeableArticleItem the features of Material You, I have redesigned it. The new design may not be very friendly to languages with long characters.

image

@Ashinch Ashinch added the enhancement New feature or request label Jan 20, 2024
@Ashinch Ashinch added this to the 0.9.12 milestone Jan 20, 2024
@JunkFood02
Copy link
Collaborator

Perhaps this issue could provide some information

https://issuetracker.google.com/issues/252334353

@Ashinch
Copy link
Owner Author

Ashinch commented Jan 21, 2024

Perhaps this issue could provide some information

https://issuetracker.google.com/issues/252334353

Yes, the functional style of Compose makes many things private, If want to break it, need to make a copy.

@Ashinch Ashinch merged commit 2361375 into main Jan 22, 2024
2 checks passed
@Ashinch Ashinch deleted the refactor-swipe-item branch January 26, 2024 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants