feat: unify Ticket posts and simplify detail layout
Checkpoint requested before the targets read-tool correction. Includes canonical initial posts, creator/edit metadata, migration and UI work, and removal of delivery diagnostics from Ticket details.\n\nIntegration remains incomplete: the Client post-edit trait implementation and server post routes/dispatch are not yet connected; cargo check currently fails. This commit does not assert validation or delivery completion.
This commit is contained in:
@@ -32,6 +32,72 @@
|
||||
}
|
||||
],
|
||||
"routes": [
|
||||
{
|
||||
"id": "posts",
|
||||
"label": "Discussion with initial post and edited replies",
|
||||
"path": "/w/tickets-posts/tickets/T-900",
|
||||
"goal": "Read and edit any discussion post without changing Ticket metadata",
|
||||
"dataState": "Four realistic posts, distinct authors, original and edited times",
|
||||
"ready": {
|
||||
"kind": "selector",
|
||||
"selector": ".ticket-timeline article:nth-of-type(4)"
|
||||
},
|
||||
"capturePoints": [
|
||||
{
|
||||
"id": "initial",
|
||||
"label": "Thread and metadata",
|
||||
"fullPage": true
|
||||
},
|
||||
{
|
||||
"id": "edit-initial",
|
||||
"label": "Same post editor on initial post",
|
||||
"interaction": [
|
||||
{
|
||||
"action": "click",
|
||||
"selector": ".ticket-timeline article:first-of-type button"
|
||||
}
|
||||
],
|
||||
"fullPage": true
|
||||
},
|
||||
{
|
||||
"id": "later-posts",
|
||||
"label": "Later discussion and edited attribution",
|
||||
"interaction": [
|
||||
{
|
||||
"action": "click",
|
||||
"selector": ".ticket-timeline article:first-of-type button[type=button]"
|
||||
},
|
||||
{
|
||||
"action": "click",
|
||||
"selector": ".ticket-timeline article:last-of-type header strong"
|
||||
}
|
||||
],
|
||||
"fullPage": true
|
||||
},
|
||||
{
|
||||
"id": "composer",
|
||||
"label": "Thread-only comment and close footer",
|
||||
"interaction": [
|
||||
{
|
||||
"action": "click",
|
||||
"selector": ".ticket-thread-composer textarea"
|
||||
}
|
||||
],
|
||||
"fullPage": true
|
||||
},
|
||||
{
|
||||
"id": "metadata",
|
||||
"label": "Title editing separate from post bodies",
|
||||
"interaction": [
|
||||
{
|
||||
"action": "click",
|
||||
"selector": ".ticket-metadata button"
|
||||
}
|
||||
],
|
||||
"fullPage": true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "options",
|
||||
"label": "Return options without conclusion",
|
||||
@@ -54,7 +120,7 @@
|
||||
"interaction": [
|
||||
{
|
||||
"action": "click",
|
||||
"selector": ".ticket-case-card textarea"
|
||||
"selector": ".ticket-thread-composer textarea"
|
||||
}
|
||||
],
|
||||
"fullPage": true
|
||||
@@ -83,7 +149,7 @@
|
||||
"interaction": [
|
||||
{
|
||||
"action": "click",
|
||||
"selector": ".ticket-case-card textarea"
|
||||
"selector": ".ticket-thread-composer textarea"
|
||||
}
|
||||
],
|
||||
"fullPage": true
|
||||
@@ -112,7 +178,7 @@
|
||||
"interaction": [
|
||||
{
|
||||
"action": "click",
|
||||
"selector": ".ticket-case-card textarea"
|
||||
"selector": ".ticket-thread-composer textarea"
|
||||
}
|
||||
],
|
||||
"fullPage": true
|
||||
|
||||
Reference in New Issue
Block a user