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

Add Item on top feature #25

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

abdullah951
Copy link

@abdullah951 abdullah951 commented Oct 15, 2021

I have added the feature to add the new items to the top of list. Please have a look and share your thoughts. Here's the link for issue federicoiosue/Omni-Notes#816.
Here are some screenshots:

WhatsApp Image 2021-10-16 at 1 18 35 AM

WhatsApp Image 2021-10-16 at 1 18 36 AM

Copy link
Owner

@federicoiosue federicoiosue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's really great, you also followed the coding habits!

A couple of thing should be addressed before merging:

  • Add some tests to check the desired behavior of the new feature
  • Manage a little misbehavior: when adding a new item on top the order should be reversed by keeping the "cursor" sill on top and letting the last added item move on the second row, as shown in the screenshot

Android_Emulator_-_Android_Emulator_5554

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants