khwang0 / 2018F-COMP3111

19 stars 13 forks source link

[basic 6][advance 2] menu behaviour #25

Open Wongky opened 5 years ago

Wongky commented 5 years ago

I am not sure the keyword of last search and save when mix up with other action. The table show the order, action, corresponding keyword search in GO, the corresponding change of last search keyword, the corresponding result that will be saved.

No action Go keyword last search keyword Save result
0 N/A N/A disable for no search disable for no search
1 GO "apple" "apple" disable for first search "apple"
2 GO "banana" "banana" "apple" "banana"
3 Last Search "apple" N/A disable after pressed disable for no search
4 GO "cat" "cat" "banana" "cat"
5 Last Search "banana" N/A disable after pressed disable for no search
6 GO "dog" "dog" "cat" "dog"
7 Save "dog" N/A "cat" "dog"
8 Close N/A "cat" disable for no search
9 Open "zero" N/A "cat" disable for no search
10 Last Search "cat" N/A disable after pressed disable for no search
11 Go "element" "element" "dog" "element"

(1) Is this above flow correct?


(2) In our implementation, searching and other action can be performed at the same time. Can we disable the action "Open", "Close", "Save", "Go", "Last Search" while the current search is performing, but enable "About Team", "Quit"?

Thank you for your attention.

comp3111ta commented 5 years ago

1) We don't have test case for students and it seems acceptable. It is possible to have little variation on certain cells. We will accept minor deviation from the above.

2) It is up to you.

Wongky commented 5 years ago

@comp3111ta "seems acceptable" is vague.

Is the following:

  1. "Save" is enable only when "Go" is the latest action.
  2. "Last search" keyword saves the second latest "GO" keyword

acceptable?