-
Notifications
You must be signed in to change notification settings - Fork 0
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
App cuts off descriptions with hyperlinks #24
Comments
🤖 Hi @DM1122! Good to see you again. I hope you're doing well since our last interaction. Thank you for bringing this to our attention. The issue of descriptions being cut off that contain hyperlinks is likely due to the way the text is being handled in the In the code, the $(
go.TextBlock,
{
row: 2,
column: 0,
font: "9pt " + this.font,
stretch: go.GraphObject.Fill,
maxLines: 3,
overflow: go.TextBlock.OverflowEllipsis,
},
new go.Binding("text", "description")
) This means that if the description contains a hyperlink and the hyperlink is long enough to exceed these constraints, it will be cut off and replaced with an ellipsis. To fix this issue, you could consider increasing the The hyperlink text in the Here is the relevant code snippet: $(
go.TextBlock,
{
row: 2,
column: 0,
font: "9pt " + this.font,
stretch: go.GraphObject.Fill,
maxLines: 3,
overflow: go.TextBlock.OverflowEllipsis,
},
new go.Binding("text", "description")
) This code creates a I hope this helps clarify the issue. If you have any further questions, please feel free to ask. Sources |
@dosu-bot the behaviour you're referring to for the org-chart component is expected. The text should be cut after three lines. The issue is that the description field is being cutoff for requirements with URLs embedded in the Inspector component. This is not desired behaviour |
🤖 Thank you for bringing this issue to our attention. The problem you're experiencing with the description field in the Inspector component cutting off requirements with embedded URLs is likely due to the use of the To resolve this issue, I recommend replacing the Here's how you can modify the code: <mat-form-field appearance="outline" floatLabel="always">
<mat-label>Description</mat-label>
<textarea matInput [readonly]="read_only" [value]="description"></textarea>
</mat-form-field> This change should resolve the issue with the description field cutting off requirements with embedded URLs. As for the current implementation of the description field in the Inspector component, it is a string property of the If I hope this helps! If you have any further questions or need additional assistance, please don't hesitate to ask. Sources
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant. If you want to continue the conversation, start your reply with @dosu-bot. |
The app seems to cut descriptions that have hyperlinked embedded. For instance, the FINCH-Spacecraft-AcquisitionTelemetry requirement description reads,
"Capture the telemetry listed in FINCH Acquisition Telemetry during image acquisitions"
But the inspector component displays the description as "Capture the telemetry listed in ". The full description should be present in the inspector. See picture
The text was updated successfully, but these errors were encountered: