codex-team / codex-team/notes.api

Feat (NoteService): Implement getNoteTitle() method

Đang mở
#280 0 bình luận 0 reaction 1 người được giao Được @E-creator513 nhận Xem trên GitHub
good first issue
Ngôn ngữ chính
TypeScript
Star
4
Fork
2
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

## 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](https://github.com/codex-team/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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.