Giter VIP home page Giter VIP logo

hdbuy's Introduction

HdBuy

A way to easily find and bookmark resale flats of your liking.

Search for your preferred flats

  • Search for resale flats matching your preferred location, type and lease remaining.

Bookmark your favorite resale flat

  • Shortlist resale flats for future references so you will not forget them.

Useful links

Releases

hdbuy's People

Contributors

jadenwjh avatar gorbodoh avatar angelhfy avatar j-lum avatar damithc avatar heyjinwei avatar okkhoy avatar jiachen247 avatar

Watchers

James Cloos avatar  avatar  avatar  avatar

hdbuy's Issues

[PE-D] Formatting bug in UG

The instructions for transferring data in the UG uses single quotations, rather than backticks to denote a file. Writing the filename as shortlist.txt may be clearer for the users.

format_ug2.PNG

This also occurs in other sections of the UG, for example, in the Quick Start section. Surrounding the command in backticks would make it clearer as a command to be run in the terminal.

filename_ug.PNG


Labels: severity.Low type.DocumentationBug
original: brandonfoong/ped#3

[PE-D] Illegal Characters not checked

Perhaps it would be better to set restrictions on the type of input each filter takes in? Maybe could check for illegal characters?
p2_featureFlaw_illegalCharacters.png

especially since you state what are valid inputs for the "type" field below:
p2_featureFlaw_illegalCharacters_UG_proof.png


Labels: severity.Low type.FeatureFlaw
original: nivikcivik/ped#5

[PE-D] Bounds checking not performed in the filter command

In the UG, it is stated that if lease_remaining is the parameter to filter by, then the maximum value will be 99.

ug_parsing.PNG

However, on testing, it seems like bounds checking is not performed, and it accepts values more than 99, negative values, and even strings.

filter_lease_wrong.PNG


Labels: severity.Medium type.FunctionalityBug
original: brandonfoong/ped#7

Refactor TextUi

Split methods into smaller classes.

Clean up duplicate methods / methods serving same function.

[PE-D] Wrong executable name in UG

In the UG, the command to run the executable file is given as java -jar hdbuy.java, as shown below. However, the filename of the executable is hdbuy.jar.

filename_ug.PNG


Labels: severity.Low type.DocumentationBug
original: brandonfoong/ped#5

[PE-D] Input should be trimmed

This may not be ideal for fast typers:
I input 2 spaces before 2 and it didnt read my input.
Perhaps you could trim the input before reading it?
trim input.png


Labels: severity.Medium type.FeatureFlaw
original: nivikcivik/ped#10

Fetch units by location

As a user, I want to search resale flats by location.

User input:
location [location]

Output:
list of units in that location sorted by price, from lowest to highest

[PE-D] Case sensitivity

This could be an issue for fast-typers. Maybe you could consider making your program take in inputs that are not case sensitive?
p2_functionality bug_ErrorMismatch.png


Labels: severity.Medium type.FeatureFlaw
original: nivikcivik/ped#8

[PE-D] Formatting errors in UG

In the UG, :bulb: is used instead of the corresponding emoji, as shown below:

format_ug.PNG

This also occurs in the instructions of the remove command.


Labels: severity.Low type.DocumentationBug
original: brandonfoong/ped#2

[PE-D] filter feature exceptions

If the filter feature is only able to take in certain values for filter type (eg 1-5 room) in certain format, the right error message should be prompt to the user instead of just take in the value user typed and return no result. I key in filter type 4room and no result came out for the find. Maybe can try to use .contain() to slove this problem.
Screenshot (20).png


Labels: severity.High type.FeatureFlaw
original: e00426142/ped#5

Receive commands from user via Parser package

User will enter queries. Once all queries are keyed in, he can then search for flats.

Commands:

location [location] -- String location

type [type] -- 1 room, 2 room, 3 room, 4 room, 5 room, executive, multi generation

lease_remaining[years] -- String years

search --submits all queries and retrieves flats

close --closes the app

Task:
Make use of QueryKey class and form a HashMap.
map.put(QueryKey.LOCATION, "Bedok");
map.put(QueryKey.TYPE, "3 room");
map.put(QueryKey.LEASE_REMAINING, "95");
return map

HelpCommand

input: help
output: all available commands and how to use

Fetch units by remaining lease

As a user, I want to search for units by remaining lease.

User input:
lease [years_left]

Output:
list of units with lease provided

Filter by price range

Filter flats from search results by price

Logic: Run other filters first, and fetch results. From results, filter by price.

Input:
budget 1000000

Fetch units within price range

As a user, I want to search for units within a price range.

User input:
price [minprice maxprice]
price [price]

Output:
list of units within price range

[PE-D] Filter lease_remaining accepts all values

The user guide writes that the maximum lease is 99, but the user is able to input negative values or values more than 99. Although 'find' returns no flats, it may be more intuitive to the user to warn them which values are invalid.


Labels: severity.Low type.FeatureFlaw
original: brynagoh/ped#2

Fetch units by flat type

As a user, I want to search for units matching a flat type.

User input:
type [type] -- 1 room, 2 room, 3 room, 4 room, 5 room, executive, multi generation

Output:
list of units with the type

[PE-D] Not sure when filters reset

'sort asc' and 'sort desc' will have outputs, but 'find' will say that there are no parameters currently. Currently, it is rather confusing to identify when the filters are reset.


Labels: severity.Medium type.FunctionalityBug
original: brynagoh/ped#5

[PE-D] UG content

UG is lack of details and still have many grammatical error.
Can improve on Introduction of the app by giving more details. This sentence should be "HdBuy allows you to find and bookmark available resale flats that matches your preferences easily."
Can add more quick search links.
Screenshot (21).png


Labels: severity.Medium type.DocumentationBug
original: e00426142/ped#6

Sort units by price

Input:
sort high
sort low

Output:
The list of flats sorted by respective order

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.