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

Cattag displaying bug #253

Conversation

blackpanther9229
Copy link

No description provided.

When we cattag 2 tags, it reponses "Category of tag [[tag1], [tag2]] ..."
Instead, we just want "Category of tag [tag1], [tag2]..."
@blackpanther9229 blackpanther9229 added priority.Medium Nice to have alpha-bug Used for Alpha Test labels Nov 7, 2024
@blackpanther9229 blackpanther9229 added this to the v1.5 milestone Nov 7, 2024
@blackpanther9229 blackpanther9229 self-assigned this Nov 7, 2024
@blackpanther9229 blackpanther9229 linked an issue Nov 7, 2024 that may be closed by this pull request
Copy link

codecov bot commented Nov 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Files with missing lines Coverage Δ Complexity Δ
...u/address/logic/commands/CategorizeTagCommand.java 46.66% <ø> (ø) 7.00 <0.00> (ø)

@blackpanther9229
Copy link
Author

The displaying error is fixed by #249, so all I do is add details to the UG

@@ -21,7 +21,7 @@ public class CategorizeTagCommand extends Command {

public static final String MESSAGE_USAGE = COMMAND_WORD
+ ": Categorizes a tag. Changes all occurrences of the specified tag to the desired category.\n"
+ "Parameters: " + PREFIX_TAG + "TAG (existing tag label) CATEGORY\n"
+ "Parameters: " + PREFIX_TAG + "TAG (at least one existing tag label) CATEGORY\n"
Copy link

Choose a reason for hiding this comment

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

I think this would imply “t/tag1 tag2 tag3…” when in reality the correct format is “t/tag1 t/tag2 ….”

Copy link
Author

Choose a reason for hiding this comment

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

I think this would imply “t/tag1 tag2 tag3…” when in reality the correct format is “t/tag1 t/tag2 ….”

That make sense

* `cattag t/floorball t/mahjong activity` categorizes both tags `floorball` and `mahjong` under `Activities`
* `cattag t/CS2100 acads` categorizes the tag `CS2100` under `Academics` and color of `t/CS2100` become `Gold`.
* `cattag t/floorball t/mahjong activity` categorizes both tags `floorball` and `mahjong` under `Activities` with color `Blue`.
* Not-yet categorized tags have color `Grey` by default.
Copy link

Choose a reason for hiding this comment

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

good addition of details

@yooplo yooplo self-requested a review November 7, 2024 02:17
Copy link

@yooplo yooplo left a comment

Choose a reason for hiding this comment

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

LGTM

@blackpanther9229 blackpanther9229 merged commit 0fd80f7 into AY2425S1-CS2103T-F14a-4:master Nov 7, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
alpha-bug Used for Alpha Test priority.Medium Nice to have
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cattag response bug
2 participants