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

Update CommandBar UI, ResultDisplay UI & default window size #124

Merged

Conversation

itsme-zeix
Copy link

@itsme-zeix itsme-zeix commented Oct 23, 2024

Command bar selected (Default):
image

Command bar unselected:
image

Command Error:
image

Do you guys think I should remove the prompt text `Enter command here...' when the command bar is selected? Currently the behaviour only changes the icon and prompt text to be lighter.

Closes #101.

@itsme-zeix itsme-zeix added this to the v1.4 milestone Oct 23, 2024
@itsme-zeix itsme-zeix self-assigned this Oct 23, 2024
Copy link

@FionaQY FionaQY left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Great job on the UI and the neat code.

Copy link

@colinhia colinhia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall LGTM! Thanks for all the hardwork in restructuring the CSS files and the UI Changes!

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the hardwork in extracting out the files for easier maintainability!

if (commandTextArea.getStyleClass().contains(ERROR_STYLE_CLASS)) {
return;
}
commandTextArea.setStyle("-fx-text-fill: grey;");
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good use of abstraction and alignment to the pre-existing setStyleToDefault method!

@itsme-zeix itsme-zeix merged commit 6f823cd into AY2425S1-CS2103T-T14-4:master Oct 23, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refine UI for command bar
3 participants