Tinker
Resources
Agent logs
Agent memories
Agent sessions
Agent terminal logs
Agents
Comments
Epics
Projects
Proposals
Tickets
Avo user
Resources
Agent logs
Agent memories
Agent sessions
Agent terminal logs
Agents
Comments
Epics
Projects
Proposals
Tickets
Avo user
Home
Epics
Fix syntax error in tickets show view and add feature spec
Edit
Fix syntax error in tickets show view and add feature spec
Cancel
Save
Title
*
Project
*
Choose an option
alpha
tinker
Create new project
Description
## Problem The tickets show view (`app/views/tickets/show.html.haml`) has a syntax error on line 326 in the `activity_icon_svg` helper method: ```haml create: '<svg ... d: "M12 6v6m0 0v6m0-6h6m-6 0H6" /></svg>', ``` The `d:` attribute has an extra colon which is invalid HAML/SVG syntax. It should be `d="M12..."` not `d: "M12..."`. ## Scope of Work 1. **Fix the syntax error** on line 326: - Change `d: "M12 6v6m0 0v6m0-6h6m-6 0H6"` - To `d="M12 6v6m0 0v6m0-6h6m-6 0H6"` (remove the colon) 2. **Add a feature spec** for `tickets#show`: - Test that the page renders without errors - Test that ticket details are displayed correctly - Test that the activity timeline renders - Test that comments section appears - Test that subtasks tab shows when subtasks exist ## Deliverables - Fixed syntax error in `app/views/tickets/show.html.haml` - New feature spec: `spec/features/tickets_show_spec.rb` ## Implementation Notes - The file uses inline HAML helper methods at the bottom (`status_text_class`, `activity_icon_bg`, `activity_icon_svg`) - Consider moving these to a proper helper module or presenter for better testability - Feature spec should create a ticket with factory_bot and visit the page
Avo
· © 2026 AvoHQ ·
v3.27.0
Close modal
Are you sure?
Yes, I'm sure
No, cancel