hadiyarajesh / note-x

Notes and Reminders on steroid
Apache License 2.0
11 stars 10 forks source link

Create note folders screen #18

Open hadiyarajesh opened 2 years ago

hadiyarajesh commented 2 years ago

Is your feature request related to a problem? Please describe. NA

Describe the solution you'd like Create a screen in Jetpack Compose which contains an UI for creating and managing folders that contains notes along with the actions available on note (like removing note from folder, move to other folders etc). Also, (just) navigate to edit note screen when user click on note. Additionally, create required code for viewmodel and repository.

Describe alternatives you've considered NA

Additional context Collaboratively work with team members to resolve the conflicts (if any)

Simba-97 commented 2 years ago

@hadiyarajesh So as per my understanding, there needs to be a page where the notes will be segregated and arranged into folders based on their tags, and topics, On clicking a particular folder -> Say for example design folder, the user will be redirected to the design folder page which would contain the notes which have been tagged with 'design' and on clicking a particular note, the user will be redirected to the edit note screen. Correct me if I'm wrong and let me know if we're on the same page about the flow or please add more details to the flow that you might be thinking of.

hadiyarajesh commented 2 years ago

@Simba-97 The flow you mentioned is corrrect. Only thing that is different is, we're not going to arrange notes in folders by label name. label is something we can use for searching (label don't even exists in db schema in code as of now). Instead, we'll allow users to create a folder by entering name (and optional descritpion) and then user can move note to specified folder.

For the UI part, initially, i thought to use 2 tabs in top, one for all notes and one for folders, but it would take much space and create more noise. so, to avoid that, we can create a icon button at the top which will toggle the all notes vs folders UI.

But i would love to hear everyone's thoughts on this.

Simba-97 commented 2 years ago

@hadiyarajesh I have created the PR i.e https://github.com/NoteXCommunity/note-x/pull/49 Please review the same.

Simba-97 commented 1 year ago

@hadiyarajesh I'm closing out this issue since the PR has been merged. Please open it if you feel like something was remaining.

hadiyarajesh commented 1 year ago

@Simba-97 as we disucssed, we've not even started working on this. The PR got merged only contains static data, not the real code. We need to implement features as well. Let me re-open this issue.