Skip to content
This repository has been archived by the owner on Oct 15, 2023. It is now read-only.

Write library/book/book_data.rs #1

Closed
adhadse opened this issue Oct 4, 2022 · 2 comments
Closed

Write library/book/book_data.rs #1

adhadse opened this issue Oct 4, 2022 · 2 comments
Assignees
Labels
dev Initial development issues enhancement New feature or request

Comments

@adhadse
Copy link
Owner

adhadse commented Oct 4, 2022

  • This will store BookxLibraryBookData struct storing:
    • identifier: id of book
    • _type: the type of book
    • storage: path to book
    • cache: cache dir for book
    • cover_path: cover path for book
    • view_set
    • annotations_map: annotations mapping from cfi to color
    • annotations_list: Liststore.
  • Method to implement:
    • load_data(): function to load data about book
    • add_annotation(): add annotations to book
    • remove_annotation(): remove annotations
    • add_bookmark(): add bookmark
    • remove_bookmark(): remove bookmark
    • add_view(): add view to view_set
    • delete_view(): delete view from view_set
    • save_cover(): save cover as png file to cache dir
@adhadse adhadse added enhancement New feature or request dev Initial development issues labels Oct 4, 2022
@adhadse adhadse changed the title Create Library view of Bookx Write library/book/book_data.rs Oct 4, 2022
@adhadse adhadse added this to the Create Library view milestone Oct 4, 2022
@adhadse adhadse self-assigned this Oct 4, 2022
@adhadse adhadse modified the milestone: Create Library view Oct 17, 2022
@adhadse
Copy link
Owner Author

adhadse commented Nov 1, 2022

Updated changes on the library branch. Will be merged after a successful trial.

@adhadse adhadse closed this as completed Nov 1, 2022
@adhadse
Copy link
Owner Author

adhadse commented Nov 1, 2022

Ok, this is going to first and last.
image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dev Initial development issues enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

1 participant