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
Adds possibility to define a goal description #10057
Conversation
@tsteur In the old PR I had changed the goal page to show the description as kind of subheadline under the goal title or as tooltip. See: Is there any simple possibility to do that with the new container/widget framework? |
bf7500c
to
bd13f3b
Compare
Not super easily unless it was a feature of the HtmlTable or EvolutionGraph visualization but I presume it should appear with any visualization? If it should work with any visualization there are multiple ways to solve it. We could eg enrich
Maybe there would be a better name than |
Thx for the explanation. Need to have a closer look at that tomorrow. |
I would recommend to not work on this for now. Looks like we will move the rendering of the headline back into the widget etc. Will keep you updated. |
The headline for reports and everything is now rendered in |
bd13f3b
to
d286375
Compare
I've rebased the branch and updated the new angular javascript. Will have a look at the rendering of the description the next days... |
7f3a57f
to
47349b0
Compare
LGTM. Minor feedback:
|
47349b0
to
ba30190
Compare
ba30190
to
4d5e443
Compare
I've updated the code, so the description will now be shown in the reports. failing tests should also be fixed |
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.
The text is displayed in Black below the Goal name, whereas it was in grey in your original screenshot. was it intentional to show it in black?
@@ -219,6 +225,11 @@ private function checkName($name) | |||
return urldecode($name); | |||
} | |||
|
|||
private function checkDescription($description) | |||
{ | |||
return urldecode($description); |
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.
as the description field is VARCHAR 255 maybe we should check here that the description is maximum 255 chars?
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.
name is varchar 50 and not checked re length as well. Shall we add such checks?
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 point. It's not needed then!
Cheers @sgiehl - I'm merging already but feel free to make minor changes post-merge if needed |
replaces #9469
fixes #7346