Skip to content

Create 'notes' #26

@MBJean

Description

@MBJean

Overview

What does the client want

Screen Shot 2020-03-21 at 3 01 39 PM

Complete this portion of the application.

A user can type into a textbox and hit a save button and have entered text save to their account.

Proposal: anticipate the idea that we want to key these notes to vocabulary entries and/or Latin texts by providing some additional mechanism for a user to save a record of an association. So that's something like, add a title box?

So, we have:

  • input field for title
  • textbox

What will it take to do this

  • update the database to accept notes Create notes migrations #31
    • create new migration with notes table and title:text, body:text
    • merge the migration into production
    • run migrate:up
  • create some persistence layer to interact with database
    • create notes.js in persistence
    • create methods create, delete, find, update
  • create some graphql layer to expose the above to the world
    • create mutations, queries, etc. for GraphQL to expose persistence layer
  • create the UI and JS for interacting with the graphql layer
    • two text input fields (one <input>, one <textarea>) for accepting user input
    • style up the above
    • compose the JS that will call GraphQL queries and mutations to pass user input down to GraphQL layer

Stretch goal

  • have the textbox automatically save the entered text at intervals

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions