Giter Site home page Giter Site logo

herwaldt-calculator's People

Contributors

herwaldt avatar okeefem2 avatar

Watchers

 avatar  avatar

Forkers

herwaldt

herwaldt-calculator's Issues

User should be able to "Complete" a calculation

Add a button for the user to Complete a calculation. When pressed, this will clear the current operations and result, and store a copy of the operation and result in a list below the calculator. The user should be able to do this as many times as they like, and the UI should handle it gracefully by making the list scrollable when there are too many items in it.

User should be able to edit a calculation

User should be able to click an edit button next to a calculation in the list

  • When clicked, that calculation should be shown as the current calculation, if the user hits done then the edited calculation should update with any changes that were made

Add a calculator UI to the title page

The user should be able to navigate to the title page of the app and see a UI with that gives them the ability to add and subtract numbers.

  • The user should be able to input or select a number (you choose) and indicate the operation they wish to use (addition, subtraction, clear and backspace/delete)
  • The input should ONLY accept valid numbers.
  • If the numbers are selectable, then ensure that a decimal is also selectable
  • The user should be able to see a placeholder equation and result, for now this can just be placeholder text that makes it clear that there are operations occurring, and there is a result of those operations

** Note this issue does not include the implementation of the calculator logic, just a basic UI for it

User should be able to duplicate a calculation

User should be able to click a duplicate button next to a calculation in the list

When clicked, that calculation should be shown as the current calculation, if the user hits done then the calculation should be added to the list, and the original should not change.

Add Circle CI integration

Developers should have a linting CI check on every commit of a PR.

If the linting fails, the PR should not be mergeable.

If the linting succeeds the PR should be mergeable with an approval.

Update UI to show the current operations the user has input

When the user inputs a value and selects an operation (addition/subtraction) the UI should update to show the current history of operations

  • The UI should be able to accept any number of value/operations and should handle showing the user the history in a reasonable way without cluttering the page

User should be able to delete the last operation entered and clear all operations

When the user clicks the backspace/delete button, the latest operation should be removed from the UI

When the user clicks the clear/clear all button all operations should be removed from the UI

If there are no operations to clear, the user should not be able to interact with either of these buttons (they should be disabled)

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.