GithubHelp home page GithubHelp logo

oslo-kokeboka's People

Contributors

glvno avatar wpreble1 avatar

Watchers

 avatar

oslo-kokeboka's Issues

Add Image input to recipe form

Should enforce cropping to desired aspect ratio
Should down res to appropriate resolution or impose a max resolution.

Build Your Recipe form

Use Formik for the form library

Create several reusable form components:

  • Single Line Text Input
  • Multi line text input (textarea?)
  • Select dropdown
  • Checkbox
  • Plus icon for adding ingredient steps

See email thread for details of fields.

Save form input data to local storage

Form data should save to local storage upon any input

This should persist on refresh, browser close, etc.

On Submit should clear local storage

There should be a cancel button for resetting all fields

Build recipe review process on /admin Page

We should query the db for all recipes that haven't been reviewed.

Recipes should be displayed in cards.

Each recipe card should have a Deny, Edit, and Approve button attached to it.

Deny => flip reviewed: true, and blocked: true
Edit => Should convert the recipe card into a form input similar to the user facing one. On submission of edits, update reviewed: true.
Approve => flip reviewed: true

Approval or denial should remove the card from view.

Abstract Typography styling to a css file

  • We should only define our typographies once. I noticed you had applied a font-weight style about 14 different times in the last PR.
  • Let's get the designers to keep a library of the typographies which will make our lives easier.

in the Typography.css file

button { 
   // ...typography styles associated with button
}

p {
   // ...typography styles associated with p
}

Language support for admin

We should translate all recipes from the database into english on the /admin route so the admin team can review them.

add react router, stub main pages

/ (base route)

  • Your Recipe page (see figma)

/about

  • About page (see figma)

/recipes
-Oslo Recipes page (see figma)

/admin

  • Admin Page

Language support for users

See react-i18next

We should be able to switch the language of the website via a select dropdown for any language that we have translations for.

We should be able to intake form data in the language that website is currently in.

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.