Skip to content

Latest commit

 

History

History
168 lines (113 loc) · 7.1 KB

CHANGELOG.md

File metadata and controls

168 lines (113 loc) · 7.1 KB

Changelog

v0.2.5

Bug fixes

  • e885288 Change test id name for delivery fee.

v0.2.4

Bug fixes

  • 78d5489 Change logic to exclude 7 pm as the rush hour

v0.2.3

Bug fixes

  • d874377 Clear redux when cancel button is clicked

v0.2.2

Bug fixes

  • 6830932 Use dayjs in unit tests to mitigate time zone problem and change ContentContainer style

v0.2.1

Features

  • 11d588c Add unit tests and personal reflection

v0.2.0

Features

  • 92fbd5c Change style and deploy to render

v0.1.8

Features

  • 86a87e8 Add ContentContainer
    • All pages are now included in the container with the same style
    • Unit tests are updated

Bug fixes

v0.1.7

Bug Fixes

  • 91a46a9 Fix multiple bugs
    • Add sleep in development docker to prevent race issues
    • Delete unused html code

v0.1.6

Chores

v0.1.5

Features

  • 2dd7c77 Add docker file for production

v0.1.4

Chores

  • 618f0ab Split calculator page and confirmation page into reusable components
    • Split Calculator into Calculator and Confirmation
    • Use Header and ConfirmItem to display confirmation page
    • Add unit tests for the new pages and components

v0.1.3

Features

  • 77e1590 Change input validation
    • Validation now happens only when the user has finished typing and clicked out of the text box
    • The submit button is disabled until all text boxes receive correct input (positive integer or float number and order time is later than the current time)
    • All unit and integration have been updated
    • e2e tests include edge cases

v0.1.2

Features

Chores

  • bc3349f Add README for local build instructions

v0.1.1

Features

  • 1fc5a23 Add e2e tests.
    • More data-test-ids are added for easier testing
    • Use Cypress to perform e2e tests

Bug fixes

  • f99cd17 Use DesktopDateTimePicker instead of DateTimePicker for CI consistency
  • 1f3d9b9 Fix eslint issue for cypress config file

v0.1.0

Features

  • 0136517 Enable fee calculation.
    • User can confirm input or make further changes after clicking submit button on the front page
    • All the inputs, along with the calculated fee, are displayed on a separate page at /order
    • Unit tests are written to test multiple combinations of input
    • Change font family to Hanken Grotesk, clean up pages and add Wolt logo

Bug fixes

  • eefa91d Change time in unit tests.
    • Initial unit tests can run locally, but fail to run in CI pipeline. Possible reason: different time zone causing the calculation to fail to determine "Friday rush"

v0.0.6

Features

  • a027f20 Add confirmation page and data validation.
    • Submit button is disabled until all fields have been filled
    • An error message warning about empty input is shown if the input box is clicked without typing valid value
    • A summary page is shown when the button is clicked to confirm the input

v0.0.5

Features

  • e203bbf Add Redux for state management.
    • Add calculatorSlice for updating each value when finished typing
    • Add unit tests for redux

v0.0.4

Features

  • ad13e52 Add StyledDateTimePicker component.
    • Refactor code structure according to Redux recommendation (feature folder). The project is now structured according to feature. Each feature contains multiple components that are used exclusively by the feature.
    • StyledDateTimePicker enables inputting date and time by either directly typing into the box or selecting from a date and time selector.
    • Unit test is written for the new component.
    • Improve accessibility by adding visual labels and matching them with aria labels.

v0.0.3

Features

  • 596f8e2 Improve accessibility and CI.
    • Add <fieldset /> for better form logic
    • Add aria-label for text field labeling
    • Enable tests in CI

v0.0.2

Features

  • 639b3ad Add HookedTextField component.
    • Component can accept field name and float/int number
    • Perform validation when value is changed. If input does not comply with the intended type, error message is displayed with the latest change disregarded. E.g. in number 1234. => 1234, in float 1234.+ => 1234.
    • Integration test for HookedTextField and the custom useField hook

v0.0.1

Features

  • 5d232f0 Project initial setup.
    • Coding language: Typescript
    • Front end framework: React
    • UI library: Material UI
    • State management: Redux
    • Testing: Jest, React Testing Library
    • Code formatting: Eslint (with Airbnb standard), Prettier
    • CI: Github Actions