Skip to content

[ Feature ] - display parent note structure in note header #256

Open
@TatianaFomina

Description

@TatianaFomina

This issue is related to the api issue
make sure, that api part is done

Problem

image
In disingn system we have note parents structure on note page

Cases

Structure Presentation
RootParent > Actual note RootParent > Actual note
RootParent > IntermediateNote > ActualNote RootParent > IntermediateNote > ActualNote
RootParent > IntermediateNote1 > IntermediateNote2 > ActualNote RootParent > ... > Actual note

Solution

  • Make method in useNote service that would format data got from api into presentation format
  • Update NoteDTO entity for it to contain new object with note parents info ( optional get rid of parentNote )
NoteParents : 
[
  {
    noteId: Note['id'],
    content: Note['content']
  }
]
  • Update Note page ( usage of NoteHeader component here ) as in disingn system
    note that note names should be clickable

Metadata

Metadata

Labels

good first issuethis issue is good for beginners

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions