Code Monkey home page Code Monkey logo

manu's Introduction

Pokai MANU - (Birdfinding for Kids app)

This repo is based of the boilerplate react webpack available on horeoka_19 so specific instructions regarding the server etc can be found there

manu's People

Contributors

adam-cowie avatar peter-robinson-96 avatar jillglass avatar 12oman avatar richchurcher avatar don-smith avatar bryceknz avatar tony-luisi avatar emilyparkes avatar

Watchers

James Cloos avatar

manu's Issues

Enter bird image links/info in to seed data

Get images for all 10 birds.

Images need to be GREAT images.

We may need to chat as a team about size (needs to fit the mobile view) and brightness etc.

Link needs to seeded

Configure client side routing

React router dom package in App.jsx
Create routes for each component containing a view:

  • Perch (the list of birds)
  • bird profile
  • bird info
  • Instructions

Create an Found button

Create a found button that can be reused throughout app.

Check docs for how this button should look - colour, font and size.

Use framework buttons - details to come

Create Large Bird Image for Profile Page

Get the same bird image used for profile and create a specific sized image that will render on the profile page.

Measurements to come.

Birds should have the same look and feel between photographs.

This component will state the size and where to render.

Create Instructions Component

Create a component that will show the instructions.

This will need to have a 'back' button component at the bottom of it - see docs for button info.

Copy (can be changed if need be by group decision). See how it looks in the slack image.

"Pokai-Manu is a treasure-hunt game for birds in New Zealand. We aim to help younger Kiwi’s learn more about our bird life in an exciting way, while getting them outside and in to nature.

To play, get outside and get bird spotting! Each time you spot a bird that is listed, go into the bird profile and push ‘FOUND’. Your found bird will then be added to your Inventory of birds.

How many can you find?"

Create Bird Info Component

The Birds name and info, pulled from the database, header and back button will go within this component

This links with #17

Add logic for changed found birds from greyed out to normal

Add logic to the landing page (perching) component.

This logic will shade the birds that the player has found.

You should still be able to see the bird and push the bird to go through to bird details, but the shading needs to be enough to show that they have been found. Maybe not shading? Maybe a tick next half over it?

This may need to be created as a new component that renders on top of bird - if you are going to do a tick and not shading.

Profile Insert

initially a footer insert, this component will display.
display's:

  1. the Bird name
  2. a FOUND button
  3. a Back button

Instructions Button Component

An instructions icon will need to be shown on the main page within the footer. See mockup in slack for look and feel. We will need to stick with what Grommet gives us regarding button.

Create DB Functions

Create the Database Functions to read the bird data from the bird database and to change the boolean value of found from false to true.

Create Database Functions

Look at docs for info. Birds/Id/Name/Found

  • Create database function to read the bird data in order to display it.

  • Create database function to toggle the value of Found from false to true

  • Write appropriate tests to ensure that the database functions are working correctly

Currently waiting for database changes to be finished in order to test these functions correctly and update them.

Fix Footer and styling for the instructions button

It is currently centered BUT it needs to be a flexwrap. We need it to wrap while centered so that when viewed on mobile the text will wrap over two lines.

The Instructions button will also need to be adjusted to account for the change in styling so that t looks correct

There are also 2 slight lines either side of the copy (borders??) that need to be removed.

Needs to be in the correct font too - hoping we can cascade this down but not sure.

Create Back button

Create a back button to be reused within the application.

Use CSS framework buttons using the specifications in the design (details to come).

Most likely mostly copy from the #12

Routing (server side)

Create a get route to get the information from the database, and a post route to toggle whether the bird has been found or not.

  • create the get route to get information from the database about all the birds for the perching page

  • Create the get route to get the detailed information for a single bird for the detail page

  • create the post route to toggle the boolean value of each bird from true to false

  • write appropriate tests (use jest to mock db functions and supertest to mock calls to server)

Create a Bird Grid

Create a Bird Grid with circular React elements which displays a given bird pic in a circle..

Bird Info Button

Bird Info button to render on Bird Profile Image page - this will link through to Bird Profile Details page.

Fix Birdheader styling

The header is in a flex box due to semantic UI, which is pushing it to the left. We need to get it centered and in the right font.

Tally Insert

Initially a footer insert on the Tally component this component will display a total of the found birds from the state

Tally Insert for Footer

Create Tally Insert for Inventory Component. "You have found X birds!"

X will render the state, which will hold the amount of birds that have been found.

Use font size and font family from docs.

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.