Giter Club home page Giter Club logo

kindlenoteviewer's People

Contributors

dorinr avatar

Stargazers

 avatar

Watchers

 avatar

kindlenoteviewer's Issues

Add book

As a user, I want to be able to import all my notes from a book.

Frontend portion

  • add new page where user can upload highlights.html
  • uploaded html is parsed and JSON object for that book is built and sent to backend

Backend portion

  • built object is saved to the DB

Clean up navigation bar

Main Areas:

  • Better home logo
  • Maybe move the navigation buttons somewhere so that its clear they are distinct from the home button
  • Fix that glitch where it doesn't update the UI when you logout #14

Complete my books page

As a user I want to be able to see a list of books that I've added. Then I should be able to view all my highlights from one of those books. (by clicking on it)

Tasks:

  • Do the styling with mock books
  • Add actual fetching from backend to replace mock books

Add caching

The typical user flow is:

  1. Click a book
  2. Exit and click on another book
  3. Maybe come back to the first book (at this point, we would like it to be cached, so that we don't have to fetch the data from Postgres. We can get it much faster from RAM (Redis))

Probably remove sweetalert because it is sometimes causing issues

Maybe JS collisions or something??
Screen Shot 2020-11-17 at 4 23 00 PM
The above happens once in a while ONLY after hot reloading the nextJS server. If I restart nextJS server it works properly.
Maybe test this in PROD to see if it still fails. (maybe it won't because there isn't any hot reloading in PROD i don't think)

Clean up the single book view

Main tasks:

  • add global styles for certain components that is dark-mode compatible #27
  • sexier UI for each highlight #23
  • sexier UI for each section #24
  • sexier UI for the title and author card at the top #22
  • navigation button (like the back arrow on iOS) next to author card that can let user go back to "my books" page #26

Redesign:

  • Clicking on book should show a list of sections (should have some back button to go back to all books)
  • Clicking on a section should show highlights for given section (should have some back button to go back to all sections)

Books/[id].tsx page

As a user I want to view all highlights of a given book, organized under the sections headings.

  • Settle a design for the UI. Should there be some accordion thing for each section to show/hide the highlights of that section?
  • Implement DB fetching (but use a book with few highlights for testing at the beginning)
  • Build out UI using the fetched data.

File upload error scenarios

File upload should display an error to the user under these conditions:

  1. If upload size is too large
  2. If file uploaded is not .html
  3. Any other errors that came with the file uploading library I used.

Deploy properly

Main issues:

  • There was an issue with the DB before, need to get that working
  • Just make sure everything is working the same as it is locally

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.