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

Feat (NoteService): Implement getNoteTitle() method #280

Open
e11sy opened this issue Oct 30, 2024 · 0 comments
Open

Feat (NoteService): Implement getNoteTitle() method #280

e11sy opened this issue Oct 30, 2024 · 0 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@e11sy
Copy link
Contributor

e11sy commented Oct 30, 2024

Story

In some cases frontend part needs just note title to display iniformation about note
e. g. in home page we can see only noteTitles of the each note, for that case we do not need to pass whole noteContent as we do, we could just pass noteTitles

You can check reference of the method in notes.web repo

Problem

In some cases we do not need whole note content, but we need note title which can be formed only in web part

Steps

  • Add getNoteTitle() method for NoteService
  • Add NoteTitle and (NotePreview or NoteMeta) entities
    NoteTitle is string
    NoteMeta is actual note, with NoteTitle instead of content
  • Check, where we use getNoteTitle() method on the WEB part
@e11sy e11sy added the good first issue Good for newcomers label Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants