Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
375 commits
Select commit Hold shift + click to select a range
db5c42d
re-added date variable to searchresultinputdata
andguest Nov 16, 2024
b595f04
Implemented the Unit Conversion Use Case between Farenheit and Celcius.
ctrluserh Nov 17, 2024
73ef620
Merge remote-tracking branch 'origin/main' into harman.saini
andguest Nov 17, 2024
75a460e
put interface adapters about searchResult into a folder
Jackkkerrrr Nov 17, 2024
7721601
Merge pull request #20 from andguest/lilinhao.li
ctrluserh Nov 17, 2024
b66b7a9
Merge remote-tracking branch 'origin/main'
ctrluserh Nov 17, 2024
bb1d863
Updated the metric variable in the Conversion Use Case.
ctrluserh Nov 18, 2024
982ed4f
SearchResultPanelView and SearchResultState implemented
Jackkkerrrr Nov 18, 2024
da6fff2
Merge pull request #23 from andguest/harman.saini
Jackkkerrrr Nov 18, 2024
c5a7812
Merge pull request #24 from andguest/lilinhao.li
ctrluserh Nov 18, 2024
d48b466
Merge branch 'refs/heads/main' into lilinhao.li
Jackkkerrrr Nov 18, 2024
3eb8e1e
Merge branch 'refs/heads/main' into lilinhao.li
Jackkkerrrr Nov 18, 2024
61c7f46
Merge pull request #25 from andguest/sophie.liao
ctrluserh Nov 18, 2024
a4411ff
Adding Use Case compare cities
Sophie359 Nov 18, 2024
7f54926
/
Sophie359 Nov 18, 2024
7a5b02b
/
Sophie359 Nov 18, 2024
4098652
Change to ConverterController
Sophie359 Nov 18, 2024
d349d4f
Merge pull request #26 from andguest/sophie.liao
Jackkkerrrr Nov 18, 2024
76801a0
Merge branch 'refs/heads/main' into lilinhao.li
Jackkkerrrr Nov 18, 2024
0e223b6
Merge branch 'main' into harman.saini
ctrluserh Nov 18, 2024
4bc61c4
renamed a lotta stuff
andguest Nov 18, 2024
5abf8dd
bug fixed
Jackkkerrrr Nov 18, 2024
3b7e60f
Revert "renamed a lotta stuff"
andguest Nov 18, 2024
9f6a8bb
Initial interface adapter for nearby cities use case
andguest Nov 18, 2024
486ae43
Initial interface for nearby cities use case
andguest Nov 18, 2024
2ffaed3
Finished interface + object for cities list, added data file for cities
andguest Nov 18, 2024
5e185fe
Added a base test for the nearby list interactor
andguest Nov 19, 2024
9fd08e0
Controller
annie142857 Nov 20, 2024
d6aeca8
Alert Pop Controller
annie142857 Nov 20, 2024
590ca15
Merge pull request #27 from andguest/Annie
ctrluserh Nov 20, 2024
718e06c
Merge branch 'main' into harman.saini
ctrluserh Nov 21, 2024
6ceab77
Updated SearchResult and AddConvert UseCases.
ctrluserh Nov 21, 2024
72177a0
Merge pull request #28 from andguest/harman.saini
Jackkkerrrr Nov 21, 2024
2874dc7
Merge remote-tracking branch 'origin/main' into ishayu.sharma
andguest Nov 21, 2024
61b7705
Fixed the Discrepencies in the parameters in HistoricalWeatherDataAcc…
ctrluserh Nov 21, 2024
a638861
Forgot one little mistake for saveweather
ctrluserh Nov 21, 2024
2f1ccf7
Ensured CompareCitiesDataAccessInterface abides by WeatherDataAccessO…
ctrluserh Nov 21, 2024
25e880d
Merge branch 'refs/heads/main' into lilinhao.li
Jackkkerrrr Nov 21, 2024
afaf70d
bug fixed for dao and entity
Jackkkerrrr Nov 22, 2024
d86d337
Merge pull request #29 from andguest/harman.saini
Jackkkerrrr Nov 22, 2024
578a4eb
deleted some use cases
annie142857 Nov 22, 2024
eb226bb
Fixed the parameter for ConverterController.execute((Weather) evt.get…
ctrluserh Nov 22, 2024
a763021
Merge pull request #31 from andguest/Annie
Jackkkerrrr Nov 22, 2024
f8ebc3c
Merge branch 'refs/heads/main' into lilinhao.li
Jackkkerrrr Nov 22, 2024
bf152be
Merge pull request #30 from andguest/lilinhao.li
andguest Nov 22, 2024
e65137c
Merge pull request #32 from andguest/harman.saini
Jackkkerrrr Nov 22, 2024
a76c43b
Merge remote-tracking branch 'origin/main' into ishayu.sharma
andguest Nov 22, 2024
dba4d83
implement CompareCitiesInputBoundary
Sophie359 Nov 18, 2024
11c58a4
implement CompareCities Controller and Presenter
Sophie359 Nov 18, 2024
44c8b75
Adding CompareCitiesState and CompareCitiesViewModel
Sophie359 Nov 21, 2024
ba02ff7
A bit refactor (rename to make the file look consist with other classes)
Sophie359 Nov 21, 2024
4eae0cb
Fix method prepareSuccessView, add varable (2 weather objects) into c…
Sophie359 Nov 22, 2024
62f533e
Add new method saveweather and getcitytoweather (this change doesn't …
Sophie359 Nov 23, 2024
4a94e0b
Change method name (new name isCityexist, saveWeatherifor)to make it …
Sophie359 Nov 23, 2024
0369041
update CompareCitiesInteractor
Sophie359 Nov 23, 2024
f306d8a
remove extra space
Sophie359 Nov 23, 2024
10af704
add instant variable cityexist, default to be flase.
Sophie359 Nov 23, 2024
f1863cc
Merge pull request #33 from andguest/sophie.liao
ctrluserh Nov 23, 2024
20893ee
add date input panel and its coresponding action listener. Add new me…
Sophie359 Nov 23, 2024
bf17fd2
construct cityexist. Change MESSAGE to more meaningful string
Sophie359 Nov 23, 2024
c8ba5f8
Add method actionperformed, fix (partually) the converter button.
Sophie359 Nov 23, 2024
310b40c
fix typo
Sophie359 Nov 23, 2024
4dd9ab6
HistoricalSearchedWeatherView implemented
Jackkkerrrr Nov 23, 2024
9ade6e9
Alert Pop Presenter
annie142857 Nov 23, 2024
da09e4c
HistoricalSearchedWeatherView implemented
Jackkkerrrr Nov 23, 2024
4770abc
HistoricalSearchedWeatherView implemented
Jackkkerrrr Nov 23, 2024
a0f20d0
some checkstyle issues
Jackkkerrrr Nov 23, 2024
9123551
Updated comments
andguest Nov 23, 2024
124a720
Moved nearbycitiesaccessobject to data_access folder
andguest Nov 23, 2024
4b09f0b
Merge pull request #34 from andguest/sophie.liao
andguest Nov 23, 2024
2d65d39
Merge pull request #35 from andguest/Annie
andguest Nov 23, 2024
b12db3f
Merge branch 'main' into lilinhao.li
Jackkkerrrr Nov 23, 2024
513386d
Merge branch 'main' into lilinhao.li
Jackkkerrrr Nov 23, 2024
3612364
fixing conflict
Jackkkerrrr Nov 23, 2024
e3992a6
Merge pull request #37 from andguest/ishayu.sharma
Jackkkerrrr Nov 23, 2024
01769b7
Merge branch 'main' into lilinhao.li
Jackkkerrrr Nov 23, 2024
bf182d9
Merge pull request #36 from andguest/lilinhao.li
Jackkkerrrr Nov 23, 2024
d8cc53a
Merge branch 'main' into lilinhao.li
Jackkkerrrr Nov 23, 2024
d4e6a5b
implemented classes for searching weather in the db
Jackkkerrrr Nov 23, 2024
ff68416
searchReturnInteractor, SearchResultInteractor and SearchReturnOutput…
Jackkkerrrr Nov 24, 2024
9799ba6
.
Sophie359 Nov 23, 2024
7da03ba
fixing the propertychange listener.
Sophie359 Nov 23, 2024
0ff68fd
adding property name when calling firepropertychange
Sophie359 Nov 23, 2024
ffcc9fa
add SearchResultPanelView into MainView
Sophie359 Nov 24, 2024
c500e3a
rename the property name
Sophie359 Nov 24, 2024
2ab02bd
change text that repersent the converter
Sophie359 Nov 24, 2024
d8566b7
add compareto panel for comparecities use case
Sophie359 Nov 24, 2024
dd7bf57
Made execute static
ctrluserh Nov 24, 2024
f5313c2
removed assignment of weather description to alertDescription variable
annie142857 Nov 24, 2024
d920132
Completed the ConvertInteractorTest file to ensure 100% code coverage.
ctrluserh Nov 24, 2024
74e632d
Merge remote-tracking branch 'origin/main' into harman.saini
ctrluserh Nov 24, 2024
48dbb3b
Completed the Main Application file. Make Sure to discusss teh DAO.
ctrluserh Nov 24, 2024
af94964
Completed most of the App Builder but the Search Return Case. Please …
ctrluserh Nov 24, 2024
d4142df
added use case to AppBuilder
annie142857 Nov 25, 2024
485dbf9
add CompareCitiesView
Sophie359 Nov 25, 2024
d1727a2
Merge pull request #38 from andguest/harman.saini
andguest Nov 25, 2024
48e502a
Merge branch 'main' into lilinhao.li
Jackkkerrrr Nov 25, 2024
baa79f8
Merge branch 'main' into Annie
ctrluserh Nov 25, 2024
03d540d
Merge pull request #39 from andguest/Annie
ctrluserh Nov 25, 2024
f4c98b4
SearchReturnInteractor
Jackkkerrrr Nov 25, 2024
b35a2ff
Fixed changes in App Builder
ctrluserh Nov 25, 2024
6c63f0a
Changed MapImagePanel to return a JXMapViewer object rather than a JP…
andguest Nov 25, 2024
57fb21e
Merge pull request #40 from andguest/lilinhao.li
ctrluserh Nov 25, 2024
8bf85da
Merge branch 'main' into harman.saini
ctrluserh Nov 25, 2024
62b9a24
Merge pull request #42 from andguest/ishayu.sharma
Jackkkerrrr Nov 25, 2024
999ca35
Merge pull request #41 from andguest/harman.saini
Jackkkerrrr Nov 25, 2024
05df4aa
Merge branch 'main' into sophie.liao
ctrluserh Nov 25, 2024
6e71550
In Weather Class: Previously changed var "description" to var"alertDe…
annie142857 Nov 25, 2024
191a481
Merge remote-tracking branch 'origin/Annie' into Annie
annie142857 Nov 25, 2024
7594258
Merge branch 'main' into Annie
annie142857 Nov 25, 2024
3175a4e
Merge pull request #43 from andguest/sophie.liao
Jackkkerrrr Nov 25, 2024
110a994
Merge pull request #44 from andguest/Annie
Jackkkerrrr Nov 25, 2024
93200b7
refacotr SearchResultInteractor into the folder. Fixed the static met…
Jackkkerrrr Nov 26, 2024
4093b03
Merge pull request #45 from andguest/lilinhao.li
Sophie359 Nov 26, 2024
fd1d896
add SearchResultPanelView into MainView
Sophie359 Nov 24, 2024
c58fc06
add compareto panel for comparecities use case
Sophie359 Nov 24, 2024
318d7d6
Test case
Sophie359 Nov 25, 2024
b5f459f
set controllers
Sophie359 Nov 25, 2024
a31fe60
set default longitude and latitude for map. fix set controller in App…
Sophie359 Nov 25, 2024
bd938a5
fix bug
Sophie359 Nov 25, 2024
6c85f4c
Handle IO exception
Sophie359 Nov 26, 2024
8458aca
FIX isCityExist method in DAO
Sophie359 Nov 26, 2024
a84a433
refactor
Sophie359 Nov 26, 2024
4498613
still need fix (commit because i want to use git pull)
Sophie359 Nov 26, 2024
e00615b
A bunch of bug fixed
Sophie359 Nov 26, 2024
8b42ced
bug fixed- (historicalSearchedWeatherView was not initialized)
Sophie359 Nov 26, 2024
f0a3703
Merge pull request #46 from andguest/sophie.liao
ctrluserh Nov 26, 2024
c37c5be
Fixed Some bugs
ctrluserh Nov 27, 2024
c302713
Merge branch 'main' of https://github.com/andguest/WeatherWizard
ctrluserh Nov 27, 2024
6784e2f
Corrected access to the lat lon variables in the dao and updated the …
ctrluserh Nov 27, 2024
92c3b78
Fixed view issues in appbuilder and main application
ctrluserh Nov 27, 2024
db58532
Set Controllers in AppBuilder and made a constant for ERROR.
ctrluserh Nov 27, 2024
c689ca6
bug fix
Sophie359 Nov 27, 2024
3e98e11
Changed coordinates from float to double
andguest Nov 27, 2024
4dae480
bug fix (looks, description), add sample json file
Sophie359 Nov 27, 2024
0ddea5f
Merge pull request #48 from andguest/harman.saini
Jackkkerrrr Nov 27, 2024
678def4
Merge branch 'main' into sophie.liao
Jackkkerrrr Nov 27, 2024
cdefbe9
Merge pull request #51 from andguest/sophie.liao
Jackkkerrrr Nov 27, 2024
4b78aa7
.
Sophie359 Nov 27, 2024
5e276b9
The correct main
Sophie359 Nov 27, 2024
7f1b18d
add SearchResultPanelView into MainView
Sophie359 Nov 24, 2024
c612bc8
add compareto panel for comparecities use case
Sophie359 Nov 24, 2024
47adfaa
Test case
Sophie359 Nov 25, 2024
9dd1d90
set controllers
Sophie359 Nov 25, 2024
218ed9c
set default longitude and latitude for map. fix set controller in App…
Sophie359 Nov 25, 2024
60a5aee
fix bug
Sophie359 Nov 25, 2024
c46d947
Handle IO exception
Sophie359 Nov 26, 2024
0a7c869
FIX isCityExist method in DAO
Sophie359 Nov 26, 2024
522c891
refactor
Sophie359 Nov 26, 2024
444f2a1
still need fix (commit because i want to use git pull)
Sophie359 Nov 26, 2024
65cab85
A bunch of bug fixed
Sophie359 Nov 26, 2024
0324e6b
bug fixed- (historicalSearchedWeatherView was not initialized)
Sophie359 Nov 26, 2024
bdf60a7
bug fix
Sophie359 Nov 27, 2024
70a3f82
bug fix (looks, description), add sample json file
Sophie359 Nov 27, 2024
04328c9
Fixed Some bugs
ctrluserh Nov 27, 2024
274bd91
Corrected access to the lat lon variables in the dao and updated the …
ctrluserh Nov 27, 2024
06aa560
Fixed view issues in appbuilder and main application
ctrluserh Nov 27, 2024
f6dc82d
Set Controllers in AppBuilder and made a constant for ERROR.
ctrluserh Nov 27, 2024
b8f5afc
Merge pull request #52 from andguest/sophie.liao
andguest Nov 27, 2024
ac4640b
Fixed issue in JFrame build in AppBuilder and the issue with historic…
ctrluserh Nov 28, 2024
f028b7b
Merge pull request #53 from andguest/harman.saini
Sophie359 Nov 28, 2024
daeac9e
Make map larger
Sophie359 Nov 28, 2024
c932c3f
set Size
Sophie359 Nov 28, 2024
f889d36
Merge branch 'main' into lilinhao.li
Jackkkerrrr Nov 28, 2024
4254041
updated the HistoricalWeatherDataAccessObject to avoid overwriting th…
Jackkkerrrr Nov 28, 2024
deb5068
updated the HistoricalWeatherDataAccessObject to avoid overwriting th…
Jackkkerrrr Nov 28, 2024
aaccb98
Merge pull request #54 from andguest/lilinhao.li
Sophie359 Nov 28, 2024
9e86e4a
Added setPosition method to MapImagePanel
andguest Nov 28, 2024
b653cd9
Merge remote-tracking branch 'origin/main' into ishayu.sharma
andguest Nov 28, 2024
e7e0a7a
Added propertychangelistener to mapimagepanel to get map to update po…
andguest Nov 28, 2024
24dc6e0
fixed CompareCitiesView, Now you can compare weather in 2 cities.
Sophie359 Nov 28, 2024
d7408bd
Merge pull request #55 from andguest/ishayu.sharma
Sophie359 Nov 28, 2024
80838f4
FINAL README
ctrluserh Nov 29, 2024
3dd7ac5
debugging the backend
Jackkkerrrr Nov 29, 2024
acd0a04
Created the Accessibility-report.md
ctrluserh Nov 29, 2024
a3b78e9
Merge branch 'refs/heads/main' into lilinhao.li
Jackkkerrrr Nov 29, 2024
c889978
Merge remote-tracking branch 'origin/main' into harman.saini
ctrluserh Nov 29, 2024
5d65729
UnitConvertor button now offically works!!!
ctrluserh Nov 29, 2024
074f629
changed the view
Jackkkerrrr Nov 29, 2024
f116ea4
fixed bugs for searchResult use case
Jackkkerrrr Nov 29, 2024
cf5bdd8
Added NearbyCitiesView
andguest Nov 29, 2024
6e84660
Added instruction textbox to NearbyCitiesView
andguest Nov 29, 2024
af47087
Fixed error where current city was being displayed on nearby cities list
andguest Nov 29, 2024
1ec3265
Merge remote-tracking branch 'origin/main' into ishayu.sharma
andguest Nov 29, 2024
0c211a1
Changed MapPanelView to clear text fields after being used
andguest Nov 29, 2024
8f8b918
Changed initial Toronto coords to match cities_list data file
andguest Nov 29, 2024
0567c9e
Removed unused imports from NearbyCitiesView
andguest Nov 29, 2024
70b35c2
Merge pull request #56 from andguest/harman.saini
andguest Nov 29, 2024
8bc2a4b
Merge branch 'main' into ishayu.sharma
andguest Nov 29, 2024
2951bfa
Converted all city inputs to lowercase
andguest Nov 29, 2024
ab1f664
displaying time at the view and fixing lower case problem
Jackkkerrrr Nov 30, 2024
cd72625
Merge branch 'main' into lilinhao.li
Jackkkerrrr Nov 30, 2024
7d62f20
displaying time at the view and fixing lower case problem
Jackkkerrrr Nov 30, 2024
d544317
displaying time at the view and fixing lower case problem
Jackkkerrrr Nov 30, 2024
7dab7ae
modified fire property change to enable the view to see the differenc…
Jackkkerrrr Nov 30, 2024
8b0fb45
Merge pull request #57 from andguest/lilinhao.li
andguest Nov 30, 2024
94c5b63
Set property change name for nearbyList to fix errors
andguest Nov 30, 2024
4426927
change jlable from 'date' to 'search time'
Jackkkerrrr Nov 30, 2024
9e66218
Merge branch 'main' into ishayu.sharma
andguest Nov 30, 2024
abaaa2a
result interactor test
Jackkkerrrr Nov 30, 2024
9df27b3
Removed historical search viewmodel from weatherpanelview
andguest Nov 30, 2024
e12e939
Minor formatting change
andguest Nov 30, 2024
ba079dd
Merge pull request #58 from andguest/ishayu.sharma
ctrluserh Nov 30, 2024
2f11abd
Fixed floating point errors in Convert unit Use cse
ctrluserh Nov 30, 2024
a987aaa
Updated the format of the panels
ctrluserh Nov 30, 2024
d2ab2b4
Update README.md
ctrluserh Nov 30, 2024
6f7c29d
result interactor test
Jackkkerrrr Dec 1, 2024
9e6346e
result interactor test
Jackkkerrrr Dec 1, 2024
92efdc6
Merge pull request #60 from andguest/ctrluserh-patch-1
Jackkkerrrr Dec 1, 2024
db5fa69
Merge pull request #59 from andguest/harman.saini
Jackkkerrrr Dec 1, 2024
38a37ef
Merge branch 'main' into lilinhao.li
Jackkkerrrr Dec 1, 2024
19ba9ce
set Size
Sophie359 Nov 28, 2024
d94dc49
fixed CompareCitiesView, Now you can compare weather in 2 cities.
Sophie359 Nov 28, 2024
9a44767
make map larger
Sophie359 Nov 28, 2024
81b988f
solve conflict
Sophie359 Nov 28, 2024
c9a67a3
Make map larger
Sophie359 Nov 28, 2024
f728151
set Size
Sophie359 Nov 28, 2024
88e12df
fixed CompareCitiesView, Now you can compare weather in 2 cities.
Sophie359 Nov 28, 2024
b24987f
solve conflict
Sophie359 Dec 1, 2024
5b5f078
solve conflict
Sophie359 Dec 1, 2024
ddaacff
Merge remote-tracking branch 'origin/sophie.liao' into sophie.liao
Sophie359 Dec 1, 2024
17ede76
Merge pull request #62 from andguest/sophie.liao
Jackkkerrrr Dec 1, 2024
c3339df
result interactor test
Jackkkerrrr Dec 1, 2024
20bcbb9
searchReturnInteractorTest
Jackkkerrrr Dec 1, 2024
7115680
Ensure 100% code coverage for SearchResultInteractor and SearchREturn…
Jackkkerrrr Dec 1, 2024
d061a96
deleteNoteInteractorTest
Jackkkerrrr Dec 1, 2024
48b8019
delete NoteInteractorTest
Jackkkerrrr Dec 1, 2024
777fd29
Added units to the UI
andguest Dec 1, 2024
fa6a8f8
Merge pull request #61 from andguest/lilinhao.li
ctrluserh Dec 1, 2024
0553c20
Merge branch 'main' into ishayu.sharma
andguest Dec 1, 2024
2b39f88
Resolved conflict in MapPanelView
andguest Dec 1, 2024
ce186c9
Changed city name in WeatherPanelView to display capitalized
andguest Dec 1, 2024
0466284
Figured it'd be better to capitalize the inputs instead of the output…
andguest Dec 1, 2024
56d91f2
Merge pull request #63 from andguest/ishayu.sharma
Jackkkerrrr Dec 1, 2024
a49e437
Update README.md
ctrluserh Dec 1, 2024
cd5fb5e
Update README.md
ctrluserh Dec 1, 2024
5a3671d
fixing bug for the output of humidity
Jackkkerrrr Dec 1, 2024
3c0f73a
100% coverage in CompareCitiesTest2
Sophie359 Dec 1, 2024
7f9a38b
add units
Jackkkerrrr Dec 1, 2024
5e78064
Merge pull request #67 from andguest/sophie.liao
Jackkkerrrr Dec 1, 2024
4302dbb
Merge pull request #66 from andguest/lilinhao.li
ctrluserh Dec 1, 2024
c8f7eae
Merge pull request #64 from andguest/ctrluserh-patch-2
Jackkkerrrr Dec 1, 2024
3f64328
Added colons to the UI cuz they're neat
andguest Dec 1, 2024
eac265d
fixing bugs of value inconsistency
Jackkkerrrr Dec 1, 2024
cd85fea
fixing checkstyle issues
Jackkkerrrr Dec 1, 2024
7ef95a8
Merge pull request #69 from andguest/lilinhao.li
Jackkkerrrr Dec 1, 2024
638f66e
Merge pull request #68 from andguest/ishayu.sharma
Sophie359 Dec 1, 2024
40bfbf7
Merge pull request #65 from andguest/ctrluserh-patch-3
Sophie359 Dec 1, 2024
e829917
removed redundant saving
Jackkkerrrr Dec 2, 2024
764ba42
searchResultInteractorTest
Jackkkerrrr Dec 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions Accessibility-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Accessibility Report


## Principles of Universal Design
Our project hopes to follow as many principles of Universal design as possible. A comprehensive analysis of each principle is located below.

### Principle 1: Equitable Use
The Software displays a Map of the city chosen and nearby cities to be more accesible to those that prefer images over text.
The UI also has the information in a chart form, with words spaced out to be more accessible to those that have trouble processing large chunks of information.
### Principle 2: Flexibility in Use
The software aims to be as perceptible as possible by allocating a conversion button for those that may not understand metric units.
### Principle 3: Simple and Intuitive Use
The UI is very simple as all the user has to do is type in a city in a search bar or press clearly labelled buttons, this is helpful for those that may not have much experience with our software.
### Principle 4: Perceptible Information
As mentioned before, the information uses varying modes of displaying information. Specifically, it is displayed in a chart on the right and a map is provided on the left for ease of
use.
### Principle 5: Tolerance for Error
Nothing done on the software is permanant as all changes can be reversed. Cities can be retyped if spelt wrong, units can be converted infinitly and all other features change automatically to support the user.
### Principle 6: Low Physical Effort
The concept of physical effort is not much applicible to the software is online. However, the software only requires the user to type in the city name.
All other calculations are done in the backend or done using simple buttons. The use of buttons requires very little effort.
### Principle 7: Size and Space for Approach and Use
This concept is not much applicable to our software design. However, our program is coded in java and can be run on any platform that contains the JVM. This is especially useful for
users with disabilities that require unique hardware. For example, since the code can run on laptops, the user can plug in an accesible keyboard and still use our software.


## The Market
Realistically the most likely demographic for this project is those that are creating vacation plans, i.e travellers. Cultivating a list of cities nearby and using the software to
compare the weather of those cities
may be a feature most relevant to those planning what cities to go to. For example, if you were vacationing in Mykonos and it suddenly started raining before you went to the beach, you
may use the application to find cities around you that may not be raining.
The Weather Alerts feature is another one that may help travel planners plan for the weather as avoidng places with severe weather hazards is preferable.

## Demographic Usage
Since our UI only comes in smoall text on a default white background, the software is less likely to be used by those with visual impairments. Specifacally, people that are far sighted
or those that struggle to concentrate in low contrast settings. A possible feature to add can be the use of another API to read out information and to implement a high contrast
background. Asides from that, our software is easy to use due to the use of buttons and simple instructions and the conversion buttons. Important information such as alerts are clearly
presented in a bold manner and unit conversion is implemented to allow users from all over the world to use our software. I dont see why any other demographics would be less likely to
use this programs less.
91 changes: 65 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,75 @@
# Note Application
# WeatherWizard
Authors and Contributors: Annie B.,Sophie L., Linhao L., Harmanpreet S. and Ishayu S.

This is a minimal example demonstrating usage of the
password-protected user part of the API used in lab 5.
WeatherWizard aims to provide users with a friendly accessible application to access Weather around the World. It can be used to plan trips, figure out historical weather data for projects and more. Many users have to use several tabs to compare weather in different destinations and this application aims to help users plan travel.

You can find more information about the API endpoints in
[the documentation](https://www.postman.com/cloudy-astronaut-813156/csc207-grade-apis-demo/documentation/fg3zkjm/5-password-protected-user).
## Table of Contents
1. [Features of Software](#features-of-software)
2. [API](#api)
3. [Installation](#installation)
- [Common Installation Issues](#common-installation-issues)
4. [Usage Guide](#usage-guide)
5. [License and Copyright Notice](#license-and-copyright-notice)
6. [Contributions](#contributions)
7. [Feedback](#feedback)
8. [Accessibility](#accessibility)
9. [Want to Know More?](#want-to-know-more)

If your team is considering an application for which it would be convenient to
store data in something like a database, you may find that the API calls demonstrated
here will be useful in your project, as this will allow you to store
an arbitrary JSON object associated with a username and password.
## Features of Software.
As mentioned previously the broad overarching sense of purpose lays in the ease in checking weather. The Software provides general information about the weather, humidity, windspeed, Visibility and sky condition. Asides from that, the application has the following features.
* Accessible Map: The Software uses the JXMAP library to display a map that shows the location of the city.
* Unit Conversion: The Software supports both Metric and Imperial Unit Conversion.
* Weather Alerts: The Software displays Emergency Alerts regarding the weather including but not limited to Flooding, Tornado, Snow Storms and etc.
* Nearby Cities: The Software displays a list of cities close to the main destination.
* Comparisons: The Software allows for users to select up to two cities at a time to compare weather.
* Search Historic Weather: The Software allows for the User to search for historic weather.

In this application, a single note has a name (the "username" in terms of the API) and the note
can be read by anyone who knows the name — but only edited by someone who
knows the password for it.
## API.
The OpenWeather 3.0 API is called by city name to recieve weather information regarding temperature, humidity, windspeed & etc.
https://openweathermap.org/api/one-call-3

The JXMAP library is used to produce a map to aid in the accesability of the software.
msteiger/jxmapviewer2: JXMapViewer2

You can see the documentation in the various files for more information.
## Installation.
The steps for Installation are as follows.
1. Download the Java Development Kit (JDK) 17+, Apache Maven 3.8+ and an IDE of your choice (the instructions use Intellij).
2. Clone the repository by Opening IntelliJ and selecting File, then New, then Project from Version Control. Choose Git and in this drop box paste the repository link (press the green code button on Github to copy the repository link). Choose a directory of your choice and click clone.
3. Configure the project by going to File > Project Structure > Project Settings > Project. Here you should see what SDKs are setup. If you do not see the SDKs mentioned in step one, add them.
4. Go to https://openweathermap.org/api/one-call-3 and obtain your own API key and replace with the one provided. Make sure to wait at least 7 hours as the API key activates several hours after creation.

## Testing
### Common Installation Issues
* "Maven dependencies not resolved"
Go to the Maven Tool window and press Reload All Maven Project.
* "Java Version Mismatch"
Go to File > Project Structure > Project and download Java 17.
* "The Map is not Visible"
Ensure that JXMapViewer2 library is downloaded in the pom.xml file, if not add it.

The repo also includes an example of a use case interactor test, as well as
an example of an end-to-end test which automates button clicks and inspects
the contents of the actual views. This is something we discussed in the lectures
about testing in CA but had not provided a code example of before. Note, one
could also inspect the contents of the ViewModel objects instead when testing
CA to make a similar test which would be less dependent on the details of the
specific UI implementation.
## Usage Guide
To use the software, navigate to the MainApplication file in Intellij located under the App folder. ( Src > Main > Java > App > MainApplication) and press the run file button.

## Project Starter Code
## License and Copyright notice.
This project is protected by Canadian copyright law. Under the Copyright Act (RSC 1985, c. C-42), the content of this repository, including but not limited to source code, documentation, and other original works, is automatically protected by copyright as soon as it is created and fixed in a tangible form. All rights to the work are reserved to the original author(s) unless explicitly stated otherwise.

Your team may choose to use this repo as starter code for your project. You could
also use the lab 5 code — or start from an empty repo if your team prefers.
## Contributions
Contributions to this code are welcomed. If you would like to contribute, please ensure that the original authors are properly credited, you are welcome to create a pull request, that will be reviewed by the authors of this work.

If you choose to use one of the repositories we have provided, you can either make
a fork of it or copy the subset of code you want into a completely new repository.
To make a fork on Github, press the fork button located across from the Project Name.

<img width="1029" alt="image" src="https://github.com/user-attachments/assets/8fbb1531-0ba8-4f53-a524-2f6960f47031">


## Feedback
Any and all feedback on this project is much appreciated. To provide your feedback, please visit the following typeform.

[Feedback Form](https://3g4dr8ponwb.typeform.com/to/XWR9pbZm)

If an email is provided, our team will contact you within 24 hours.

## Accessibility
The project aims to be accessible to everyone as much as possible and thus has several features to ensure such. For more information, please check out our accessibility report by navigating to the accessibility-report.md file.

## Want to know more?
If you would like to know more please check out our presentation.
[Link to the Presentation](https://docs.google.com/presentation/d/1UF4Ibt3WqdovrlT1XoJV6r2-A5ybwz8jJzVqMy94D5k/edit?usp=sharing)
23 changes: 23 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,29 @@
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.jxmapviewer</groupId>
<artifactId>jxmapviewer2</artifactId>
<version>2.8</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>5.8.1</version>
<scope>test</scope>
</dependency>


</dependencies>


Expand Down
Loading