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
Add list panels and first UI prototype #66
Add list panels and first UI prototype #66
Conversation
@@ -13,14 +13,14 @@ | |||
SIZE_512GB("512GB"), | |||
SIZE_1024GB("1024GB"); | |||
|
|||
private final String label; | |||
public final String value; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@uberSaiyan as discussed, switched this to value to keep with convention in PhoneCard
@@ -1,4 +1,4 @@ | |||
package seedu.address.ui; | |||
package seedu.address.ui.cards; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved to Package Cards
@@ -0,0 +1,83 @@ | |||
package seedu.address.ui.cards; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above
@@ -0,0 +1,48 @@ | |||
package seedu.address.ui.panels; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
moved to package Panels
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
overall good job
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should change the FXML files for PhoneCard as well
@@ -32,7 +32,7 @@ | |||
@FXML | |||
private Label name; | |||
@FXML | |||
private Label id; | |||
private Label index; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@qiujiaaa as discussed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job
* Panel containing the list of phones. | ||
*/ | ||
public class PhoneListPanel extends UiPart<Region> { | ||
private static final String FXML = "PersonListPanel.fxml"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this supposed to be updated yet?
|
||
/** | ||
* Panel containing the list of persons. | ||
* Panel containing the list of customers. | ||
*/ | ||
public class CustomerListPanel extends UiPart<Region> { | ||
private static final String FXML = "PersonListPanel.fxml"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this supposed to be updated yet?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think mostly good
</HBox> | ||
<FlowPane fx:id="tags" /> | ||
<Label fx:id="contactNumber" styleClass="cell_small_label" text="\$contactNumber" /> | ||
<Label fx:id="email" styleClass="cell_small_label" text="\$email" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think need to update right? haha all the labels
Created PhoneListPanel and PhoneCard
Adjusted UI