Git Product home page Git Product logo

udacicards's People

Watchers

 avatar

udacicards's Issues

Deck List View

  • The primary view, seen when the app loads, is a list of created decks which includes the name of each deck and the number of cards.
  • Pressing on a deck in the list should generate an animation, and the app should route to an individual deck view.
    deck list

Exp build is blocked caused by a build in progress.

D:\limin\UdaciCards>exp build:android
[exp] Making sure project is set up correctly...
/[exp] Warning: Not using the Expo fork of react-native. See https://docs.expo.i
o/.
[exp] Your project looks good!
[exp] Checking if current build exists...

[exp] ============
[exp] Build Status
[exp] ============

[exp] Android: Build in progress...
[exp] Cannot start new build, as there is a build in progress.

Individual Deck view

  • The deck title
  • Number of cards in the deck
  • Option to start a quiz for that deck
  • Option to add a new question to the deck
  • Pressing the 'Start a Quiz' or 'Create New Question' button properly routes to the correct views for those activities.

Address code review from udacity instructor

https://review.udacity.com/#!/reviews/865440

  1. Create a separate file for the store, store/index.js
    Have a look at this blog I wrote: https://www.codementor.io/kiok46/redux-store-actions-reducers-and-logger-get-started-b35h1pvpc

  2. Add document to API.js.
    follow these guidelines for documentation http://udacity.github.io/frontend-nanodegree-styleguide/javascript.html#comments

  3. Writing some tests is always a good practice. Here are two type of testing methods really efficient.
    Detox: https://github.com/wix/detox
    Jest: https://github.com/facebook/jest

  4. Refactor your action.type constants into a different file, which you can then import into your actions as well as reducers. Move them to actions/types.js.

New Question view

  • The New Question view includes a form with fields for a question and answer, and a submit button.
  • Submitting the form correctly adds the question to the deck.

Push notification

  • Logic for push notification has been implemented.
  • Push notifications are generated at a specific time if the user hasn't completed at least one quiz for that day.

New Deck view

  • The view includes a form for creating a new deck - which should just be an input for the title and a 'Create Deck' button.

  • Pressing the button correctly creates the deck and routes the user to the Individual Deck view for the new deck.

Quiz View

  • The Quiz view starts with a question from the selected deck.
  • The question is display, along with a button to show the answer.
  • Pressing the 'Show Answer' button displays the answer.
  • Buttons are included to allow the student to mark their guess as 'Correct' or 'Incorrect'
  • The view displays the number of questions remaining.
  • When the last question is answered, a score is displayed. This can be displayed as a percentage of correct answers or just the number of questions answered correctly.
  • When the score is displayed, buttons are displayed to either start the quiz over or go back to the Individual Deck view.
  • Both the 'Restart Quiz' and 'Back to Deck' buttons route correctly to their respective views.

Works in either device or emulator

  • The app works correctly in either Android OR iOS devices (or emulator).
  • Project README identifies which platform(s) have been tested.

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.