S

Knowledge Pack Files

SideButton Marketing Website Knowledge Pack Files

Browse the source files that power the SideButton Marketing Website MCP server knowledge pack.

Available free v1.0.3 Browser
$ sidebutton install sidebutton.com
Download ZIP
13.5 KB

Prerequisites

  • Authenticated session
  • At least one online agent
  • Cookie consent dismissed

Phase 1: Page Load & Structure

#TestMethodPass Criteria
1.1Queue page loadsnavigate to /portal/queueH1 "Dispatch Queue" visible
1.2Item count formatsnapshot"N items" text below heading (simple count, no breakdown)
1.3Add Item buttonsnapshotbutton "+ Add Item" in top-right, blue outlined
1.4Cancel All button (with items)snapshot (when items exist)button "Cancel All" in red text, next to Add Item. NOT rendered when queue is empty
1.5Filter tabssnapshotAll 6 tabs: All, Waiting, Queued (N), Dispatched, Failed, Cancelled
1.6All tab activesnapshot"All" tab has green pill background (bg-emerald-500/20) by default
1.7Queued tab countsnapshot"Queued" tab shows count in parentheses when items exist, e.g. "Queued (4)". Shows plain "Queued" with no count when 0
1.8Search boxsnapshottextbox "Search tickets…" visible below filter tabs
1.9Workflow filtersnapshotcombobox labeled "Workflow" with "All workflows" default
1.10No Agent filter in list headersnapshotAgent filter dropdown is NOT present in list header (only Workflow filter)
1.11Column headerssnapshotThree columns: "Item", "Agent", "Status"
1.12Sidebar activesnapshot"Queue" link active in sidebar navigation

Phase 2: Queue Item Row Structure

#TestMethodPass Criteria
2.1Item IDsnapshotQueue ID visible as "#N" (e.g., "#1242")
2.2Role badgesnapshotUppercase role badge (QA/SE/SD/PM/OPS) with correct color
2.3Role badge colorsscreenshotQA=purple, SE=blue, SD/PM/OPS=slate
2.4Workflow namesnapshotWorkflow display name (e.g., "QA-Regression", "SE Work")
2.5Effort badgesnapshotUppercase effort badge (HIGH/MAX/MEDIUM)
2.6Effort badge colorsscreenshotMAX=red, HIGH=orange, MEDIUM=slate
2.7Job linksnapshot"Job #N" link on dispatched/completed items, links to /portal/jobs/{id}
2.8Agent avatar + namesnapshotAgent avatar image + name link (links to /portal/agents)
2.9Auto-picked prefixsnapshotAuto-assigned agents show "Auto-picked: {agent-name}"
2.10Status badgesnapshotColored status pill (Completed/Queued/Dispatched/Failed/Cancelled)
2.11Relative timestampsnapshotTime ago text (e.g., "22m ago", "1h ago", "2d ago")
2.12Ticket URL linksnapshotTicket reference shown as clickable link (Jira key or full URL)
2.13Pulsing dotscreenshotQueued/dispatched items show pulsing dot indicator on left

Phase 3: Empty State

#TestMethodPass Criteria
3.1Empty queue iconsnapshot (when empty)Queue icon centered in content area
3.2Empty queue text (All tab)snapshot on All tab"Queue is empty" heading
3.3Empty queue hintsnapshot'Click "+ Add Item" or paste batch Jira tickets in Chat'
3.4Empty state (Dispatched tab)navigate ?status=dispatched → snapshot"No dispatched items" text
3.5Empty state (Failed tab)navigate ?status=failed → snapshot"No failed items" text
3.6Empty state (Cancelled tab)navigate ?status=cancelled → snapshot"No cancelled items" text
3.7Empty state (Waiting tab)navigate ?status=waiting → snapshot"No waiting items" text
3.8Empty state (Queued tab)navigate ?status=queued → snapshot"No queued items" text
3.9Cancel All hidden when emptysnapshot (empty queue)button "Cancel All" is NOT present in DOM

Phase 4: Add Item Form

#TestMethodPass Criteria
4.1Open formclick "+ Add Item" → snapshot"Add to Queue" heading visible, form panel above filter tabs
4.2Close form (X)click X button → snapshotForm panel hidden
4.3Toggle formclick "+ Add Item" twice → snapshotForm opens then closes
4.4Ticket URL fieldsnapshottextbox with placeholder "SCRUM-42 or https://...atlassian.net/browse/SCRUM-42"
4.5Hint fieldsnapshotOptional textbox labeled "Hint (optional)", placeholder "Extra instructions for the agent, e.g. focus on login module, skip tests..."
4.6Workflow dropdown defaultsnapshot comboboxDefault "— Select Workflow —" (no pre-selection)
4.7Workflow options listevaluate JS to list options12 workflows + placeholder: pm-drive, pm-sprint, pull-repos, qa-followup, qa-new-ticket, qa-regression, qa-validate, sd-coverage, se-followup, se-rca, se-rca-fix, se-work
4.8All workflow types presentevaluate JSPM, OPS, QA, SD, SE workflows all available in dropdown (not limited to SE/QA)
4.8bWorkflow display textsnapshot combobox optionsOptions show full description text (e.g. "Read ticket, understand context, implement fix, create PR, report back") not short names
4.9Agent dropdown defaultsnapshot combobox"Auto-assign" default
4.10Agent options listevaluate JSLists all agents with status and roles, e.g. "venmate-agent-1 (online — se, qa, sd, pm)"
4.11Effort dropdown defaultsnapshot comboboxDefault follows account's Default Effort Level from Settings > General (currently "Medium (Sonnet)" — NOT hardcoded to "High (Opus)")
4.12Effort optionsevaluate JS3 options: Medium (Sonnet), High (Opus), Max (Opus)
4.1310s delay notesnapshot"Item will wait 10s before entering the dispatch queue" text visible
4.14Add to Queue buttonsnapshotCyan button "Add to Queue"
4.15Form field orderscreenshotTop-to-bottom: Ticket URL → Hint → Workflow → Agent + Effort (side by side) → delay note + submit
4.16Entry Path hidden by defaultevaluate JSselect with name "form-entry-path" exists but parent is display: none with 0 options

Phase 5: Add Item & State Transitions

#TestMethodPass Criteria
5.1Submit with ticketselect workflow + fill Ticket URL + click "Add to Queue" → snapshotItem appears in list with "Waiting" status
5.2Waiting → Queuedwait 10s → snapshotItem transitions from "Waiting" to "Queued"
5.3Queued → Dispatchedwait for agent pickup → snapshotItem transitions to "Dispatched", linked to job
5.4Item count updatessnapshot heading areaItem count increases after adding
5.5Change workflowselect different workflow → snapshotDropdown updates to new selection
5.6Change effortselect "Max (Opus)" → snapshotEffort dropdown shows new selection
5.7Select specific agentselect agent from dropdown → snapshotAgent dropdown shows agent name with status
5.8Add with hintfill Hint field + submit → snapshotItem queued with hint

Phase 6: Filter Tabs

#TestMethodPass Criteria
6.1Filter: Waitingclick "Waiting" → snapshotOnly waiting items shown, URL has ?status=waiting
6.2Filter: Queuedclick "Queued" → snapshotOnly queued items shown, tab has green pill
6.3Filter: Dispatchedclick "Dispatched" → snapshotOnly dispatched items shown
6.4Filter: Failedclick "Failed" → snapshotOnly failed items shown
6.5Filter: Cancelledclick "Cancelled" → snapshotOnly cancelled items shown
6.6Filter: Allclick "All" → snapshotAll items shown, URL is /portal/queue
6.7Filter with no matchesfilter to status with 0 items → snapshotContext-sensitive empty text: "No {status} items" (e.g. "No dispatched items")
6.8Active tab stylingscreenshot after clicking tabActive tab has green pill (bg-emerald-500/20), others are slate text

Phase 7: Search & Workflow Filter

#TestMethodPass Criteria
7.1Search by ticket keytype "SCRUM-" in search box → snapshotList filters to items with matching ticket references
7.2Search clearclear search box → snapshotFull list restored
7.3Workflow filterselect a workflow from Workflow dropdown → snapshotList shows only items with that workflow
7.4Workflow filter shows descriptionssnapshot Workflow filter optionsOptions display full workflow descriptions (same as form dropdown)
7.5Combined filtersset status tab + workflow filter → snapshotBoth filters applied simultaneously
7.6Reset Workflow filterselect "All workflows" → snapshotFilter removed, all workflows shown

Phase 8: Item Actions

#TestMethodPass Criteria
8.1Cancel queued itemon Queued item, click "Cancel" → snapshotItem moves to "Cancelled" status
8.2Dispatch Nowon Queued item, click "Dispatch Now" → snapshotItem dispatches immediately (skips waiting)
8.3Resend cancelled itemon Cancelled item, click "Resend" → snapshotNew queue item created
8.4Resend dispatched itemon Dispatched item, click "Resend" → snapshotNew queue item created
8.5Retry failed itemon Failed item, click "Retry" → snapshotSame dispatch retried
8.6Resend failed itemon Failed item, click "Resend" → snapshotNew queue item created
8.7No actions on completedsnapshot completed itemNo Cancel/Resend/Retry buttons visible
8.8Cancel Allclick "Cancel All" (when items exist) → snapshotAll queued/waiting items cancelled. Button disappears after all items cancelled
8.9Failed error messagesnapshot failed itemInline error text visible (e.g., "FOREIGN KEY constraint failed")

Phase 9: Item Links & Navigation

#TestMethodPass Criteria
9.1Job link navigationclick "Job #N" link → verify URLNavigates to /portal/jobs/{id}
9.2Agent link navigationclick agent name link → verify URLNavigates to /portal/agents
9.3Ticket URL linkclick ticket link (e.g., "SCRUM-229") → verifyOpens Jira URL in browser
9.4Sidebar Queue linksnapshot sidebarQueue link active with highlight background

Phase 10: Infinite Scroll & Pagination

#TestMethodPass Criteria
10.1Initial load countevaluate JS to count items~40 items loaded initially
10.2Loading more textscroll to bottom → snapshot"Loading more..." text appears
10.3More items loadedwait after scroll → snapshotAdditional items appended to list
10.4Item ordersnapshotItems sorted by newest first (highest ID at top)

Phase 11: Edge Cases

#TestMethodPass Criteria
11.1Submit without workflowleave Workflow as "— Select Workflow —", click "Add to Queue"Form validation prevents submission or shows error
11.2Submit without ticketleave Ticket URL empty, click "Add to Queue"Verify behavior (may accept empty)
11.3Invalid ticket formatenter "not-a-ticket" → submitVerify behavior (may accept any string)
11.4Add multiple itemsadd 3 items rapidly → snapshotAll 3 appear in list, correct order
11.5Long hint textenter very long hint → submit → snapshotHint accepted, item queued
11.6Cancel All not rendered when emptywhen queue is empty, snapshotbutton "Cancel All" is NOT in DOM (not just disabled — absent)

Automation Tips

  • All dropdowns (form: Workflow, Agent, Effort; list: Workflow filter) are native <select> elements — use select_option tool, not click
  • Two Workflow dropdowns exist: form dropdown for adding items vs list header dropdown for filtering — both show description text and same workflow options
  • Workflow dropdown values are short slugs (e.g. se-work, qa-validate, pm-drive), display text is the full workflow description
  • Agent dropdown value is a numeric ID (e.g. "6864"), not the agent name. Agent filter is NOT present in list header
  • The form panel toggles open/close — click "+ Add Item" again to close if already open, or use the X button
  • State transitions (Waiting → Queued → Dispatched) happen server-side with delays — poll with snapshots
  • The 10s waiting period is real — items don't immediately become "Queued"
  • All workflow types (SE, QA, PM, SD, OPS) are now available in the queue Add Item form — no longer restricted to SE/QA only
  • Failed items have BOTH "Retry" and "Resend" — test both paths
  • Error messages on failed items appear as inline text (span element) within the item row
  • "Cancel All" is destructive with no confirmation — use with caution in testing
  • Infinite scroll loads more items on scroll — use scroll tool to trigger
  • "Auto-picked:" prefix on agent names indicates the system chose the agent (auto-assign)
  • Effort default follows account setting (currently "Medium (Sonnet)") — do NOT assume any hardcoded default
  • Cancel All button is conditionally rendered — only visible when queue has items, hidden on empty queue
  • Entry Path dropdown is hidden by default — only becomes visible when selected workflow defines entry paths
  • Empty state text is context-sensitive — "Queue is empty" on All tab, "No {status} items" on filtered tabs