Add commands to manage tags via OCC#26600
Conversation
1b8c894 to
260cd19
Compare
lib/public/SystemTag/ISystemTag.php
Outdated
| * | ||
| * @since 22.0.0 | ||
| */ | ||
| public function getHumanReadableAccess(): string; |
There was a problem hiding this comment.
I'm not 100% sure if we'd want this in the public API. As then it can never be translated.
Also maybe a constant is better than just a string? @ChristophWurst
There was a problem hiding this comment.
I just wanted to avoid code reuse in the commands. Not sure what would be a better solution? The result of this function could still be used as translation keywords. I wouldn't mind using a constant, but then I'd have to reuse more code
There was a problem hiding this comment.
I've decided to go ahead and implement a constant-based solution, which feels much cleaner. Please check it out and tell me what you think
nickvergessen
left a comment
There was a problem hiding this comment.
Couple of minor comments
kesselb
left a comment
There was a problem hiding this comment.
LGTM 👍
My other comments are only suggestions. Not required to get it in.
|
list, add, delete, edit Signed-off-by: Johannes Leuker <j.leuker@hosting.de>
|
I've rebased the branch on master: #27101 |
I'm adding
tag:list,tag:add,tag:delete, andtag:editcommands to OCC