Code Monkey home page Code Monkey logo

shlokas-core's People

Contributors

akdasa avatar

Stargazers

 avatar  avatar

shlokas-core's Issues

Add `cardsReviewed` to the `StatisticsService`

interface CardsReviewStatistics {
  [date: string /* 2000-01-01 */] : count: number
}

const cardReviewsCount: CardsReviewStatistics = service.cardsReviewed(
  from: Date,
  to: Date = Today
)

Collections of verses

One verse might belong to several collections.

Example of collections:

  1. 10 top popular verses
  2. Essential BG verses
  3. 108 most important verses
  4. Bhakti sastri verses
  5. Bhakti vaibhava verses

Coverage 100%

  • coverage 100%
  • no failing mutational tests
  • mutational tests threshold โ†’ 100%

User removes accidentally added verse from the Inbox deck

Scenario: User removes accidentally added verse from the Inbox deck
  I, as a user, want to remove an accidentally added verse from the Inbox

  Given Empty Inbox deck
  When I add a verse "BG 1.1" to the Inbox deck
  And I revert the last action
  Then Inbox deck contains no cards

Add ability to publish / unpublish verses

Verse should have two options:

  • publish to make it available in the library
  • unpublish to make it unavailable to users in the library

Users should still be able to find unpublished verses if they set a special flag while searching.

User removes previously added verse from the Inbox deck

Scenario: User removes previously added verse from the Inbox deck
  I, as a user, want to remove an accidentally added verse from the Inbox

  Given Empty Inbox deck
  When I add a verse "BG 1.1" to the Inbox deck
  And I revert the last action
  Then Inbox deck contains no cards

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.