From 8f5f3eb847f52c8d2d5f8ba30af03f718303c4ea Mon Sep 17 00:00:00 2001 From: jdmedlock Date: Sun, 3 Mar 2019 15:51:14 -0600 Subject: [PATCH 1/2] Feature: Add Windchill application specification Add Windchill application specification Resolves: N/a See also: N/a --- Projects/Windchill-App.md | 29 +++++++++++++++++++++++++++++ README.md | 1 + 2 files changed, 30 insertions(+) create mode 100644 Projects/Windchill-App.md diff --git a/Projects/Windchill-App.md b/Projects/Windchill-App.md new file mode 100644 index 00000000..f53d7b19 --- /dev/null +++ b/Projects/Windchill-App.md @@ -0,0 +1,29 @@ +# Windchill + +Windchill combines the actual temperature with the wind speed to calculate +the windchill factor, or what the perceived temperature is versus the actual +temperature. + +## User Stories + +- [ ] User can enter the actual temperature (Celcius) and the wind speed +(kilometers per hour) +- [ ] User can press the `Calculate` button to display the wind chill +- [ ] User will receive and error message if data values are not entered +or if the resulting wind chill factor is greater than or equal to the +actual temperature. +- [ ] User will be prompted to enter new data values if `Calculate` is +pressed without first changing at least one of the input fields. + +## Bonus features + +- [ ] User can select the measurement system calculations will be performed +in - metric or English. + +## Useful links and resources + +[Wikipedia Wind Chill](https://en.wikipedia.org/wiki/Wind_chill) + +## Example projects + +[Wind Chill Calculator](http://www.jsmadeeasy.com/javascripts/Calculators/Wind%20Chill%20Calculator/index.htm) diff --git a/README.md b/README.md index 8273ac48..34ec129b 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,7 @@ Each project has the following **features**: | [Pomodoro Clock](./Projects/Pomodoro-Clock.md) | | [Slack Archiver](./Projects/Slack-Archiver.md) | | [String Art](./Projects/String-Art.md) | +| [Windchill](./Projects/Windchill-App.md) | ## Contribution From 4eca2152363babd48acdc27c36df057e7a994afc Mon Sep 17 00:00:00 2001 From: jdmedlock Date: Mon, 4 Mar 2019 09:59:02 -0600 Subject: [PATCH 2/2] Refactor: Implement suggestions from PR review Implement suggestions from PR review - See [PR comments](https://github.com/florinpop17/app-ideas/pull/5) for details Resolves: N/a See also: N/a --- Projects/Windchill-App.md | 26 ++++++++++++++++---------- README.md | 3 --- 2 files changed, 16 insertions(+), 13 deletions(-) diff --git a/Projects/Windchill-App.md b/Projects/Windchill-App.md index f53d7b19..ce0284a4 100644 --- a/Projects/Windchill-App.md +++ b/Projects/Windchill-App.md @@ -6,23 +6,29 @@ temperature. ## User Stories -- [ ] User can enter the actual temperature (Celcius) and the wind speed -(kilometers per hour) +- [ ] User can select the measurement system calculations will be performed +in - Metric or English. +- [ ] User can enter the actual temperature and the wind speed - [ ] User can press the `Calculate` button to display the wind chill -- [ ] User will receive and error message if data values are not entered -or if the resulting wind chill factor is greater than or equal to the -actual temperature. -- [ ] User will be prompted to enter new data values if `Calculate` is -pressed without first changing at least one of the input fields. +- [ ] User will receive an error message when `Calculate` is clicked if data +values are not entered. ## Bonus features -- [ ] User can select the measurement system calculations will be performed -in - metric or English. +- [ ] User will receive an error message when `Calculate` is clicked if the +resulting wind chill factor is greater than or equal to the actual temperature. +Since this signifies an internal error in the calculation you may also +satisfy this requirement using an assertion. +- [ ] User will be prompted to enter new data values if `Calculate` is +pressed without first changing at least one of the input fields. +- [ ] User will see an updated wind chill factor whenever new actual +temperature or wind speed values are entered, without being required to +click the `Calculate` button. ## Useful links and resources -[Wikipedia Wind Chill](https://en.wikipedia.org/wiki/Wind_chill) +- [Wikipedia Wind Chill](https://en.wikipedia.org/wiki/Wind_chill) +- [Javascript Assert](https://developer.mozilla.org/en-US/docs/Web/API/console/assert) ## Example projects diff --git a/README.md b/README.md index fb428c2f..65e7a23d 100644 --- a/README.md +++ b/README.md @@ -33,11 +33,8 @@ Each project has the following **features**: | [Pomodoro Clock](./Projects/Pomodoro-Clock.md) | | [Slack Archiver](./Projects/Slack-Archiver.md) | | [String Art](./Projects/String-Art.md) | -<<<<<<< HEAD | [Timezone Slackbot](./Projects/Timezone-Slackbot.md) | -======= | [Windchill](./Projects/Windchill-App.md) | ->>>>>>> 8f5f3eb847f52c8d2d5f8ba30af03f718303c4ea ## Contribution