zoyasiddiqui / NoteNinja

A note-taking app with python code snippets and AI helpers.
MIT License
3 stars 1 forks source link

Search Notes use case #34

Open zoyasiddiqui opened 11 months ago

zoyasiddiqui commented 11 months ago

Search Notes Use Case

As with most note taking apps, some method that can be used to search the notes would be very useful. In our case, we initially planned (time permitting) to have each note have tags, and to permit users to search by tag. We planned to include a search bar on the opening page of our application where users could search by title, ID, or any tag they chose. This would also have allowed us to make an unlimited number of notes. This is a very useful feature to implement, and would make this application far more feasibly scalable.

Rough Outline for Implementation

Here is a rough outline for how we had planned to implement this use case, time permitting

  1. Include a search bar on the homepage with a text field users can type in
  2. Include a "Search" button, which, when clicked, would take the input from the text field and compare it to all note titles, IDs, and tags. This can be done in the DAO.
  3. Include an additional attribute in the note entity: a list of tags.
  4. Include an additional entity: Tag.
zoyasiddiqui commented 11 months ago

I implemented this partially, so that if a user were to type in the exact name of the note they wanted to open, we take them directly to that note. Ideally they could type in a keyword and all of the notes would then display.