Repository navigation
Tag system - #135
Tag system#135
Conversation
|
Seems like I forgot to add javadoc, will add it now |
Tais993
left a comment
There was a problem hiding this comment.
Well done.
While I would strongly prefer it if you made usage of sub-commands instead.
Makes it easier for the user and will allow a ton more commands.
This in total is 8 commands while it could be 1.
I first thought about that as well, but it would be kinda confusing for new users to do |
Do like the idea of a separate tagmanage command, even better than one for all |
Yea, I'll implement it! |
Tais993
left a comment
There was a problem hiding this comment.
I approve it.
Still I'll mention that it's maybe nice to replace some of the code in the switch with methods?
Just a suggestion, the code is good. 👍
a7c8615 to
b1f75eb
Compare
|
Rebase on |
|
NotNull found out that the |
All changes have been implemented.
b1f75eb to
6f85237
Compare
It was indeed a problem. I pushed code to fix it now. |
Spotless after rebase
* markdown escaper doesnt escape backslash \ correctly. * introduced own escaper layer to correct it * covered by unit tests Spotless after comment
1fb7b82 to
4156833
Compare
|
Kudos, SonarCloud Quality Gate passed! |









This PR adds a tag system & commands to use it. Closes #61.
Implemented commands are:
/tag <id>to view a tag/tagsto view all tagsand management commands
/tag-manage raw <id>to view the raw contents of a tag/tag-manage create <id> <content>to create a tag with given content/tag-manage create-with-message <id> <message-id>to create a tag based on the content of an existing message/tag-manage edit <id> <content>to edit a tag with given content/tag-manage edit-with-message <id> <message-id>to edit a tag based on the content of an existing message/tag-manage delete <id>to delete an existing tagThe
with-messageoverloads forcreateandeditare necessary and super useful when having more complex content with code formatting and similar, since slash commands do not support newlines.