Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AY1920S1-CS2113T-F09-3] Eggventory #40

Open
wants to merge 503 commits into
base: master
Choose a base branch
from

Conversation

cyanoei
Copy link

@cyanoei cyanoei commented Sep 12, 2019

Raghav-B and others added 30 commits October 3, 2019 19:06
… subsequent words based on that command.

Modified add function to accept multi-word description.
Find command now only searches description instead of the entire print string.
* 'master' of https://github.com/AY1920S1-CS2113T-F09-3/main:
  Edit formatting in readme.md (#141)
  Update README.md with prettiness (#139)
thank you raghav
thanks raghav
…#142)

* Modified parser to handle the first command word only, and only split subsequent words based on that command.
Modified add function to accept multi-word description.

* Improved parser's javadoc comments

* Updated javadoc comments for several classes
Find command now only searches description instead of the entire print string.

* deleted wrong images

* added back photos with the right names

* is more descriptive

* Updated name of Ui file

thank you raghav

* Updated photo names

thanks raghav
* 'master' of https://github.com/AY1920S1-CS2113T-F09-3/main:
  Minor improvements to features + documentation + changing image names (#142)
* commit '09b40143d3d8155606f0d29f616daa3a4dde1cf1':
  Added Developer Guide Word (#144)
* Modified parser to handle the first command word only, and only split subsequent words based on that command.
Modified add function to accept multi-word description.

* Improved parser's javadoc comments

* Updated javadoc comments for several classes
Find command now only searches description instead of the entire print string.

* deleted wrong images

* added back photos with the right names

* is more descriptive

* Updated name of Ui file

thank you raghav

* Updated photo names

thanks raghav

* Save at every add/delete
THANKS RAGHAV AHH
* Modified parser to handle the first command word only, and only split subsequent words based on that command.
Modified add function to accept multi-word description.

* Improved parser's javadoc comments

* Updated javadoc comments for several classes
Find command now only searches description instead of the entire print string.

* deleted wrong images

* added back photos with the right names

* is more descriptive

* Updated name of Ui file

thank you raghav

* Updated photo names

thanks raghav

* Save at every add/delete

* item -> stock and some other small edits

* draft submissions of ug/dg

* updated UG/DG links

THANKS RAGHAV AHH
* Add support for Gradle workflow

* Add sample checkstyle configuration

Add toolVersion block in to Gradle code sample to prevent errors.

* Change file mode on `gradle` to be executable

* Add configuration for console applications

Gradle defaults to an empty stdin which results in runtime exceptions
when attempting to read from `System.in`. Let's add some sensible
defaults for students who may still need to work with the standard
input stream.

* - Added Gradle support
- Changed filePath of persistent storage to be variable based on individual system

* - Added ChecStyle, Shadow and JUnit support to build.gradle
- Set up JUnit testing

* - Recur command added

* -Removed listIndex

* -Fixed CheckStyle errors

* -Removed test class

* -Changed intro text from Duke to EggVentory

* -Fixed checkstyle

* -Added JUNIT test for AddCommand

* -Event toString() yet to be fixed

* - Fixed CheckStyle error where EscapeLiteral was used

* - Fixed CheckStyle conflicts again

* - Temporarily disabled test for addDeadline as Travis wont let it pass

* -Finally conflict resolved

* -Updated JUnit test for AddCommand

* - Trying to get tests to pass

* -Replaced Date with Calendar\n-Changed toString() formatting to be more readable

* -Added JUnit test for FindCommand

* - Added RecurCommandTest
- Fixed bug with RecurCommand whereby the date was not updated

* - Added Test for NumCommand
- Added Test for Command

* - Fixed all CheckStyle errors

* Added UI Mockup to Readme

* Update README.md

Updated Readme Introduction, added in a draft Value Proposition

* Added StockTypeTest

* Added stockType test

* Added JUnit tests for methods of StockType
* 'master' of https://github.com/AY1920S1-CS2113T-F09-3/main:
  JUnit test for Morphed Classes (#146)
  Developer guide draft for submission (#145)
  Save at add and delete (#143)
Deculsion and others added 27 commits November 10, 2019 20:45
* Added skeleton classes for Parse

* Added toString() and modified some javadocs for it.

* docs/User Guide.md created from https://stackedit.io/

* Add UG markdown

* delete test code

* oops

* more testings

* more testings

* Travis appeasement
* Add simple help test command

* Help command throws exception when command is invalid e.g. help you

* Fixed checkstyle

* Add positive test for help bye

* Small fix on checkstyle
* Refactored test folder

* Removed old test code

* Stores CSV files instead of txt

* Updated Storage.java imports

* Fixed assertions in stocktest.java

* updated persistent storage file names

* - Changed persistent storage save from .txt to .csv
- Updated error in CommandDictionary.java whereby predictive search for edit stock was displaying incorrectly
- Updated parseedit to convert user inputs to lowercase, such that typing a mixutre of upper and lower case will not fail
- Added Test Code for EditStockCommandTest
- Created UiStub

* - Fixed bug whereby stocktypes was not loaded upon rerun of app
- Fixed bug whereby Uncategorised was being duplicated upon each rerun of app.

fixes: #218

* Fixed checkstyle errors

* Fixed reposense tagging

* Fixed checkstyle

* Updated .gitignore to exclude our persistent storage files

* Refactored Edit command to adhere to SLAP

* - Added new DuplicateEntryException which extends from BadInputException
- Added test code for EditStockTypeCommand

* - Added test for ParseAdd

* - Added tests for ParseEdit

* Added markdown UG

* docs/CS2113T-F09-3-Eggventory-UG.md updated from https://stackedit.io/

* docs/CS2113T-F09-3-Eggventory-UG.md updated from https://stackedit.io/

* docs/CS2113T-F09-3-Eggventory-UG.md updated from https://stackedit.io/

* docs/CS2113T-F09-3-Eggventory-UG.md updated from https://stackedit.io/

* docs/CS2113T-F09-3-Eggventory-UG.md updated from https://stackedit.io/

* docs/CS2113T-F09-3-Eggventory-UG.md updated from https://stackedit.io/

* docs/CS2113T-F09-3-Eggventory-UG.md updated from https://stackedit.io/

* CS2113T-F09-3-Eggventory-UG.md created from https://stackedit.io/

* docs/CS2113T-F09-3-Eggventory-UG.md updated from https://stackedit.io/

* CS2113T-F09-3-Eggventory-UG.md updated from https://stackedit.io/

* docs/CS2113T-F09-3-Eggventory-UG.md updated from https://stackedit.io/

* CS2113T-F09-3-Eggventory-UG.md updated from https://stackedit.io/

* docs/CS2113T-F09-3-Eggventory-UG.md created from https://stackedit.io/

* docs/CS2113T-F09-3-Eggventory-UG.md updated from https://stackedit.io/

* Update CS2113T-F09-3-Eggventory-UG.md

* Deleted obsolete file

* Removed redundent file

* updated .gitignore to ignore .csv

* Fixed error whereby if a stocktype had not stock, the storage folder would have an empty line which prevented loading of the stocks

* Added method for isStockType empty and fixed checkstype errors

* Added attributions for yanbo

* Added EchoCommand

* Fixed merge conflict

* Save loanlist works

* save person list works. Note, currently, if a person is not in personlist but in loanlist file, it will not display the person

* Added storage stubs

* Implemented save load template list

* removed echo command

* updated .gitignore

* Delete Template and Person Implemented

* Fixed checkstyle errors

* Fixed add loan <MatricNo> <TemplateName>

* Added UndoRedo, but not working

* Undo works

* Undo Works now, all is well

* Fixed bug for undoredo of stocks with a valid stocktype

* Fixed mergeconflicts and added reposense tags

* Fixed storage line

* Deleted redundant lines in Eggventory

* Removed data files from being tracked

* Ooped as much as I could

* SLAPSLAPSLAP

* SLAPPED my code

* Removed test code which was not actully working
* Fix multiple error messages when deleting stock

* Fix case sensitive matricno issues

All case handling was done in personlist

* Fix text outof bounds vertically

text now goes out of bounds horizontally, at least it looks better now.

* Prevent column reordering

* Add/fix some @@author tags
* Update CommandDIctionary

* Add InputPredictor tests

* Add InputTextBox tests

* Add CommandHistory tests

* Fix test code checkstyle
* Corrected javadoc description

* Corrected Boolean to boolean type

* Slapped and checked for zero quantity stocktype

* use already implmented isstocktype empty function

* add clear list beforeeach findcommand test

* Invalid stocktype throws exception

* Added simple test for liststocktype w symbol error

* Rectified checkstyle

* Simple liststocktypecommand test

* Add further test to liststocktypecommand

* Rectify checkstyle
* Added skeleton classes for Parse

* Added toString() and modified some javadocs for it.

* docs/User Guide.md created from https://stackedit.io/

* Add UG markdown

* ListStock testing

* travis

* travis v2
* Add files via upload

* Delete parser_seq.png

* Bug fix for quantity and parser/loan testing

* More tests

* Travis ah

* Remove some TODOs

* Edit the EditStockCommand to return only the modifiable properties.
* Add files via upload

* Delete parser_seq.png

* Removed unused code

* Remove item

* Remove DateTime and StorageLoadStub

* Revert "Remove DateTime and StorageLoadStub"

This reverts commit 81a234e.
* Added skeleton classes for Parse

* Added toString() and modified some javadocs for it.

* docs/User Guide.md created from https://stackedit.io/

* Add UG markdown

* Add testing for addloanbytemplate
* Refactored test folder

* Removed old test code

* Stores CSV files instead of txt

* Updated Storage.java imports

* Fixed assertions in stocktest.java

* updated persistent storage file names

* - Changed persistent storage save from .txt to .csv
- Updated error in CommandDictionary.java whereby predictive search for edit stock was displaying incorrectly
- Updated parseedit to convert user inputs to lowercase, such that typing a mixutre of upper and lower case will not fail
- Added Test Code for EditStockCommandTest
- Created UiStub

* - Fixed bug whereby stocktypes was not loaded upon rerun of app
- Fixed bug whereby Uncategorised was being duplicated upon each rerun of app.

fixes: #218

* Fixed checkstyle errors

* Fixed reposense tagging

* Fixed checkstyle

* Updated .gitignore to exclude our persistent storage files

* Refactored Edit command to adhere to SLAP

* - Added new DuplicateEntryException which extends from BadInputException
- Added test code for EditStockTypeCommand

* - Added test for ParseAdd

* - Added tests for ParseEdit

* Added markdown UG

* docs/CS2113T-F09-3-Eggventory-UG.md updated from https://stackedit.io/

* docs/CS2113T-F09-3-Eggventory-UG.md updated from https://stackedit.io/

* docs/CS2113T-F09-3-Eggventory-UG.md updated from https://stackedit.io/

* docs/CS2113T-F09-3-Eggventory-UG.md updated from https://stackedit.io/

* docs/CS2113T-F09-3-Eggventory-UG.md updated from https://stackedit.io/

* docs/CS2113T-F09-3-Eggventory-UG.md updated from https://stackedit.io/

* docs/CS2113T-F09-3-Eggventory-UG.md updated from https://stackedit.io/

* CS2113T-F09-3-Eggventory-UG.md created from https://stackedit.io/

* docs/CS2113T-F09-3-Eggventory-UG.md updated from https://stackedit.io/

* CS2113T-F09-3-Eggventory-UG.md updated from https://stackedit.io/

* docs/CS2113T-F09-3-Eggventory-UG.md updated from https://stackedit.io/

* CS2113T-F09-3-Eggventory-UG.md updated from https://stackedit.io/

* docs/CS2113T-F09-3-Eggventory-UG.md created from https://stackedit.io/

* docs/CS2113T-F09-3-Eggventory-UG.md updated from https://stackedit.io/

* Update CS2113T-F09-3-Eggventory-UG.md

* Deleted obsolete file

* Removed redundent file

* updated .gitignore to ignore .csv

* Fixed error whereby if a stocktype had not stock, the storage folder would have an empty line which prevented loading of the stocks

* Added method for isStockType empty and fixed checkstype errors

* Added attributions for yanbo

* Added EchoCommand

* Fixed merge conflict

* Save loanlist works

* save person list works. Note, currently, if a person is not in personlist but in loanlist file, it will not display the person

* Added storage stubs

* Implemented save load template list

* removed echo command

* updated .gitignore

* Delete Template and Person Implemented

* Fixed checkstyle errors

* Fixed add loan <MatricNo> <TemplateName>

* Added UndoRedo, but not working

* Undo works

* Undo Works now, all is well

* Fixed bug for undoredo of stocks with a valid stocktype

* Fixed mergeconflicts and added reposense tags

* Fixed storage line

* Deleted redundant lines in Eggventory

* Removed data files from being tracked

* Ooped as much as I could

* SLAPSLAPSLAP

* SLAPPED my code

* Removed test code which was not actully working

* Added help information for undo and redo

* Added clear GUi method and added add_below_undoredo.png
* Delete DateTime
* Add before each to ListStocktypetest

* Add javadoc for liststocktype command
* Refactored test folder

* Removed old test code

* Stores CSV files instead of txt

* Updated Storage.java imports

* Fixed assertions in stocktest.java

* updated persistent storage file names

* - Changed persistent storage save from .txt to .csv
- Updated error in CommandDictionary.java whereby predictive search for edit stock was displaying incorrectly
- Updated parseedit to convert user inputs to lowercase, such that typing a mixutre of upper and lower case will not fail
- Added Test Code for EditStockCommandTest
- Created UiStub

* - Fixed bug whereby stocktypes was not loaded upon rerun of app
- Fixed bug whereby Uncategorised was being duplicated upon each rerun of app.

fixes: #218

* Fixed checkstyle errors

* Fixed reposense tagging

* Fixed checkstyle

* Updated .gitignore to exclude our persistent storage files

* Refactored Edit command to adhere to SLAP

* - Added new DuplicateEntryException which extends from BadInputException
- Added test code for EditStockTypeCommand

* - Added test for ParseAdd

* - Added tests for ParseEdit

* Added markdown UG

* docs/CS2113T-F09-3-Eggventory-UG.md updated from https://stackedit.io/

* docs/CS2113T-F09-3-Eggventory-UG.md updated from https://stackedit.io/

* docs/CS2113T-F09-3-Eggventory-UG.md updated from https://stackedit.io/

* docs/CS2113T-F09-3-Eggventory-UG.md updated from https://stackedit.io/

* docs/CS2113T-F09-3-Eggventory-UG.md updated from https://stackedit.io/

* docs/CS2113T-F09-3-Eggventory-UG.md updated from https://stackedit.io/

* docs/CS2113T-F09-3-Eggventory-UG.md updated from https://stackedit.io/

* CS2113T-F09-3-Eggventory-UG.md created from https://stackedit.io/

* docs/CS2113T-F09-3-Eggventory-UG.md updated from https://stackedit.io/

* CS2113T-F09-3-Eggventory-UG.md updated from https://stackedit.io/

* docs/CS2113T-F09-3-Eggventory-UG.md updated from https://stackedit.io/

* CS2113T-F09-3-Eggventory-UG.md updated from https://stackedit.io/

* docs/CS2113T-F09-3-Eggventory-UG.md created from https://stackedit.io/

* docs/CS2113T-F09-3-Eggventory-UG.md updated from https://stackedit.io/

* Update CS2113T-F09-3-Eggventory-UG.md

* Deleted obsolete file

* Removed redundent file

* updated .gitignore to ignore .csv

* Fixed error whereby if a stocktype had not stock, the storage folder would have an empty line which prevented loading of the stocks

* Added method for isStockType empty and fixed checkstype errors

* Added attributions for yanbo

* Added EchoCommand

* Fixed merge conflict

* Save loanlist works

* save person list works. Note, currently, if a person is not in personlist but in loanlist file, it will not display the person

* Added storage stubs

* Implemented save load template list

* removed echo command

* updated .gitignore

* Delete Template and Person Implemented

* Fixed checkstyle errors

* Fixed add loan <MatricNo> <TemplateName>

* Added UndoRedo, but not working

* Undo works

* Undo Works now, all is well

* Fixed bug for undoredo of stocks with a valid stocktype

* Fixed mergeconflicts and added reposense tags

* Fixed storage line

* Deleted redundant lines in Eggventory

* Removed data files from being tracked

* Ooped as much as I could

* SLAPSLAPSLAP

* SLAPPED my code

* Removed test code which was not actully working

* Added help information for undo and redo

* Added clear GUi method and added add_below_undoredo.png

* Update md Rishab
* Added skeleton classes for Parse

* Added toString() and modified some javadocs for it.

* docs/User Guide.md created from https://stackedit.io/

* Add UG markdown

* Add testing for getters and setters

* Remove unused constructor overloads.

* Add loan testing

* Removed unused code.
* Added skeleton classes for Parse

* Added toString() and modified some javadocs for it.

* docs/User Guide.md created from https://stackedit.io/

* Add UG markdown
* Added skeleton classes for Parse

* Added toString() and modified some javadocs for it.

* docs/User Guide.md created from https://stackedit.io/

* Add UG markdown

* Person testtt

* Person testtt2
* Added skeleton classes for Parse

* Added toString() and modified some javadocs for it.

* docs/User Guide.md created from https://stackedit.io/

* Add UG markdown

* Fix styling issues

* Add more test coverage
* Add files via upload

* Delete parser_seq.png

* ByeCommand + AddPerson tests

* AddLoanTest passes but the test is weird

* PersonList works now, thanks Dana

* Help Dana tag code

* Add in reset for personList and update PersonListTest code

* Up to here this works
* Fix cross-platform input issues

Hopefully.

* Remove exception type printing

The error message is still there, removed exception type printing because this is user unfriendly.

* Add info on predictive search and command history

* Add more detail for raghav UG sections

* Remove FAQ section
* Fix cross-platform input issues

Hopefully.

* Remove exception type printing

The error message is still there, removed exception type printing because this is user unfriendly.

* Add ability to cycle through predictive search results

Hold shift and the up or down keys to cycle through possibilities.
* Refactored test folder

* Removed old test code

* Stores CSV files instead of txt

* Updated Storage.java imports

* Fixed assertions in stocktest.java

* updated persistent storage file names

* - Changed persistent storage save from .txt to .csv
- Updated error in CommandDictionary.java whereby predictive search for edit stock was displaying incorrectly
- Updated parseedit to convert user inputs to lowercase, such that typing a mixutre of upper and lower case will not fail
- Added Test Code for EditStockCommandTest
- Created UiStub

* - Fixed bug whereby stocktypes was not loaded upon rerun of app
- Fixed bug whereby Uncategorised was being duplicated upon each rerun of app.

fixes: #218

* Fixed checkstyle errors

* Fixed reposense tagging

* Fixed checkstyle

* Updated .gitignore to exclude our persistent storage files

* Refactored Edit command to adhere to SLAP

* - Added new DuplicateEntryException which extends from BadInputException
- Added test code for EditStockTypeCommand

* - Added test for ParseAdd

* - Added tests for ParseEdit

* Added markdown UG

* docs/CS2113T-F09-3-Eggventory-UG.md updated from https://stackedit.io/

* docs/CS2113T-F09-3-Eggventory-UG.md updated from https://stackedit.io/

* docs/CS2113T-F09-3-Eggventory-UG.md updated from https://stackedit.io/

* docs/CS2113T-F09-3-Eggventory-UG.md updated from https://stackedit.io/

* docs/CS2113T-F09-3-Eggventory-UG.md updated from https://stackedit.io/

* docs/CS2113T-F09-3-Eggventory-UG.md updated from https://stackedit.io/

* docs/CS2113T-F09-3-Eggventory-UG.md updated from https://stackedit.io/

* CS2113T-F09-3-Eggventory-UG.md created from https://stackedit.io/

* docs/CS2113T-F09-3-Eggventory-UG.md updated from https://stackedit.io/

* CS2113T-F09-3-Eggventory-UG.md updated from https://stackedit.io/

* docs/CS2113T-F09-3-Eggventory-UG.md updated from https://stackedit.io/

* CS2113T-F09-3-Eggventory-UG.md updated from https://stackedit.io/

* docs/CS2113T-F09-3-Eggventory-UG.md created from https://stackedit.io/

* docs/CS2113T-F09-3-Eggventory-UG.md updated from https://stackedit.io/

* Update CS2113T-F09-3-Eggventory-UG.md

* Deleted obsolete file

* Removed redundent file

* updated .gitignore to ignore .csv

* Fixed error whereby if a stocktype had not stock, the storage folder would have an empty line which prevented loading of the stocks

* Added method for isStockType empty and fixed checkstype errors

* Added attributions for yanbo

* Added EchoCommand

* Fixed merge conflict

* Save loanlist works

* save person list works. Note, currently, if a person is not in personlist but in loanlist file, it will not display the person

* Added storage stubs

* Implemented save load template list

* removed echo command

* updated .gitignore

* Delete Template and Person Implemented

* Fixed checkstyle errors

* Fixed add loan <MatricNo> <TemplateName>

* Added UndoRedo, but not working

* Undo works

* Undo Works now, all is well

* Fixed bug for undoredo of stocks with a valid stocktype

* Fixed mergeconflicts and added reposense tags

* Fixed storage line

* Deleted redundant lines in Eggventory

* Removed data files from being tracked

* Ooped as much as I could

* SLAPSLAPSLAP

* SLAPPED my code

* Removed test code which was not actully working

* Added help information for undo and redo

* Added clear GUi method and added add_below_undoredo.png

* Update md Rishab

* GAVE UP ON MOCKITO

* Deleted StateTest

* Added Updated TestCommands

* Update

* Updated reposense tags
* Added skeleton classes for Parse

* Added toString() and modified some javadocs for it.

* docs/User Guide.md created from https://stackedit.io/

* Add UG markdown

* Fix styling issues

* Add more test coverage

* Fix output of add loan by template
* Fix cross-platform input issues

Hopefully.

* Remove exception type printing

The error message is still there, removed exception type printing because this is user unfriendly.

* Add test data
* at the GitHub

* command-line

* text are mandatory parameters

* after all the mandatory

* Remove useless comma

* Remove more comma

* Allows you to
* Added skeleton classes for Parse

* Added toString() and modified some javadocs for it.

* docs/User Guide.md created from https://stackedit.io/

* Add UG markdown
nishanthelango pushed a commit to nishanthelango/Duchess that referenced this pull request Nov 23, 2021
nishanthelango pushed a commit to nishanthelango/Duchess that referenced this pull request Nov 23, 2021
* test

* test

* test

* test

* test

* test

* test

* image

* image

* image

* image

* update

* update

* update

* update

* update

* update

* refactor Schedule to TimeFrame

* Add implements Comparable<TimeFrame>

* 092919 ui fix (nusCS2113-AY1920S1#2)

* udate

* udate

* refactor Schedule to TimeFrame

* update

* update

* update change in schedule command

* fix merge conflict and bug

* minor code change

* add academic context to date

* modify ViewScheduleCommand to accept date range

* add academic context to date

* update to latest (nusCS2113-AY1920S1#5)

* merge to latest (nusCS2113-AY1920S1#3)

* refactor Schedule to TimeFrame

* Add implements Comparable<TimeFrame>

* 092919 ui fix (nusCS2113-AY1920S1#2)

* udate

* udate

* refactor Schedule to TimeFrame

* Refactor Schedule class to TimeFrame  (nusCS2113-AY1920S1#40)

* Refactor TimeFrame class (nusCS2113-AY1920S1#42)

* Reimplement TimeFrameClass

* Refactor ViewScheduleCommand

* Allow for instantaneous tasks

* Implement printing of schedule

* update

* update

* update change in schedule command

* fix merge conflict and bug

* minor code change

* Add date context (nusCS2113-AY1920S1#4)

* refactor Schedule to TimeFrame

* Add implements Comparable<TimeFrame>

* 092919 ui fix (nusCS2113-AY1920S1#2)

* udate

* udate

* refactor Schedule to TimeFrame

* Refactor Schedule class to TimeFrame  (nusCS2113-AY1920S1#40)

* Refactor TimeFrame class (nusCS2113-AY1920S1#42)

* Reimplement TimeFrameClass

* Refactor ViewScheduleCommand

* Allow for instantaneous tasks

* Implement printing of schedule

* update

* update

* update change in schedule command

* fix merge conflict and bug

* minor code change

* add academic context to date

* modify ViewScheduleCommand to accept date range

* add academic context to date

* add week view

* improve code quality

* refactor Date to LocalDateTime, fix bug causing incorrect date resets

* Add week view

* Update javadoc

* remove time run

* remove time run

* Merge branch 'master' of https://github.com/AY1920S1-CS2113T-T09-2/main into add_weekView

# Conflicts:
#	src/main/java/Duke.java
#	src/main/java/duchess/logic/commands/ViewScheduleCommand.java

* fix checkstyle indentation
nishanthelango pushed a commit to nishanthelango/Duchess that referenced this pull request Nov 23, 2021
* Add schedule command

* Yellow flag handling

* Add ui to show schedule

* Add ViewSchedule command

* Add view schedule message

* Add command allowing user to view time specific tasks

* Change Date states to public

* Change Date states to public

* Add test for ViewScheduleCommand

* Add ViewScheduleCommand

* Change back to private states

* Change back to private states

* Add test for ViewScheduleCommand

* Add overload showSearchResult method

* Add ViewScheduleCommand

* ViewScheduleCommand displays separate events and deadlines for any given time period

* ViewScheduleCommand displays separate events and deadlines for any given time period

* Add getDate methods

* Add getDate methods

* Add ViewScheduleCommand

* Add javadoc

* Add javadoc

* Add javadoc

* Organise imports

* Expand imports for checkstyle :(

* Bug fix

* Add abstract boolean isWithinTimeFrame

* Change schedule ui

* Add abstract method isWithinTimeFrame

* Add abstract method isWithinTimeFrame

* Add abstract method isWithinTimeFrame

* Test ViewScheduleCommand

* Add new abtract method isWithinTimeFrame

* Add new abtract method isWithinTimeFrame

* Add new abtract method isWithinTimeFrame

* Add Schedule for printing time table

* Add ViewScheduleCommand

* Add timetable interface

* Add abstract Schedule method

* Add abstract Schedule method

* Add abstract Schedule method

* Add abstract Schedule method

* Organise imports

* Update with ui image, features and commands

* Update

* Update

* Update

* Update

* Update

* Update

* Update

* Update

* Update

* Update

* Update

* Update

* Add javadoc and format code

* Change nested loop

* Add javadoc

* Organise imports

* Organise imports

* im so technically challenged

* Add test for Schedule

* Add test for Schedule

* Update features and commands

* update link to Ui.png

* test

* test

* test

* test

* test

* test

* test

* test

* image

* image

* image

* image

* update

* update

* update

* update

* update

* update

* refactor Schedule to TimeFrame

* Add implements Comparable<TimeFrame>

* 092919 ui fix (nusCS2113-AY1920S1#2)

* udate

* udate

* refactor Schedule to TimeFrame

* update

* update

* update change in schedule command

* fix merge conflict and bug

* minor code change

* merge to latest (nusCS2113-AY1920S1#3)

* refactor Schedule to TimeFrame

* Add implements Comparable<TimeFrame>

* 092919 ui fix (nusCS2113-AY1920S1#2)

* udate

* udate

* refactor Schedule to TimeFrame

* Refactor Schedule class to TimeFrame  (nusCS2113-AY1920S1#40)

* Refactor TimeFrame class (nusCS2113-AY1920S1#42)

* Reimplement TimeFrameClass

* Refactor ViewScheduleCommand

* Allow for instantaneous tasks

* Implement printing of schedule

* update

* update

* update change in schedule command

* fix merge conflict and bug

* minor code change

* add academic context to date

* modify ViewScheduleCommand to accept date range

* add academic context to date

* Add date context (nusCS2113-AY1920S1#4)

* refactor Schedule to TimeFrame

* Add implements Comparable<TimeFrame>

* 092919 ui fix (nusCS2113-AY1920S1#2)

* udate

* udate

* refactor Schedule to TimeFrame

* Refactor Schedule class to TimeFrame  (nusCS2113-AY1920S1#40)

* Refactor TimeFrame class (nusCS2113-AY1920S1#42)

* Reimplement TimeFrameClass

* Refactor ViewScheduleCommand

* Allow for instantaneous tasks

* Implement printing of schedule

* update

* update

* update change in schedule command

* fix merge conflict and bug

* minor code change

* add academic context to date

* modify ViewScheduleCommand to accept date range

* add academic context to date

* update to latest (nusCS2113-AY1920S1#5)

* merge to latest (nusCS2113-AY1920S1#3)

* refactor Schedule to TimeFrame

* Add implements Comparable<TimeFrame>

* 092919 ui fix (nusCS2113-AY1920S1#2)

* udate

* udate

* refactor Schedule to TimeFrame

* Refactor Schedule class to TimeFrame  (nusCS2113-AY1920S1#40)

* Refactor TimeFrame class (nusCS2113-AY1920S1#42)

* Reimplement TimeFrameClass

* Refactor ViewScheduleCommand

* Allow for instantaneous tasks

* Implement printing of schedule

* update

* update

* update change in schedule command

* fix merge conflict and bug

* minor code change

* Add date context (nusCS2113-AY1920S1#4)

* refactor Schedule to TimeFrame

* Add implements Comparable<TimeFrame>

* 092919 ui fix (nusCS2113-AY1920S1#2)

* udate

* udate

* refactor Schedule to TimeFrame

* Refactor Schedule class to TimeFrame  (nusCS2113-AY1920S1#40)

* Refactor TimeFrame class (nusCS2113-AY1920S1#42)

* Reimplement TimeFrameClass

* Refactor ViewScheduleCommand

* Allow for instantaneous tasks

* Implement printing of schedule

* update

* update

* update change in schedule command

* fix merge conflict and bug

* minor code change

* add academic context to date

* modify ViewScheduleCommand to accept date range

* add academic context to date

* add week view

* update with V2.0 features

* update with V2.0 features

* improve code quality

* refactor Date to LocalDateTime, fix bug causing incorrect date resets

* Add week view

* Update javadoc

* remove time run

* remove time run

* Merge branch 'master' of https://github.com/AY1920S1-CS2113T-T09-2/main into add_weekView

# Conflicts:
#	src/main/java/Duke.java
#	src/main/java/duchess/logic/commands/ViewScheduleCommand.java

* fix checkstyle indentation

* add academic context to date

* update

* update

* update

* update

* update

* update

* update

* update

* add junit tests

* fix checkstyle

* fix checkstyle

* edit according to review

* change according to requested changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants