\chapter{User Stories}\ChapterLabel{UserStories} \index{user story}\index{acceptance criterion} These user stories were drafted with Vincent for Demo 1 review. They are not interview findings or a fully approved backlog. The transaction/history behavior and two plugin capabilities were subsequently agreed with Vincent on October 22, 2026; implementation remains pending. Professor Muresan originated the graphical TikZ editor idea and recommended Qt. The specific editing behavior below reflects Vincent's recollection of the intended workflow; it is not presented as a quotation or confirmed instruction from the professor. The remaining details are design proposals to validate with him and, if available, TikZ users. \section{User Story Register} The following \glspl{acceptancecriterion} are examples for review. \footnotesize \begin{tabularx}{\linewidth}{@{}L{1.5cm}Y L{1.7cm}L{3.0cm}@{}} \caption{Provisional User Stories\label{Table:UserStories}}\\ \toprule \textbf{ID} & \textbf{Goal and reviewable acceptance example} & \textbf{Priority} & \textbf{Requirements / validation}\\ \midrule\endfirsthead \toprule\textbf{ID} & \textbf{Goal and reviewable acceptance example} & \textbf{Priority} & \textbf{Requirements / validation}\\\midrule\endhead \bottomrule\endfoot \UserStoryID{US-001} & As a TikZ author, I want to open a local document and see its compiled diagram, so I can identify what to refine. I need the preview to represent the source I selected while leaving that input file unchanged. Example: a supported sample opens and displays its current rendered result. & \gls{must} & \RequirementRef{REQ-A-001}, \RequirementRef{REQ-A-002}, \RequirementRef{REQ-A-003}, \RequirementRef{REQ-A-004}, \RequirementRef{REQ-F-001}, \RequirementRef{REQ-F-002}, \RequirementRef{REQ-F-008}, \RequirementRef{REQ-I-017}, \RequirementRef{REQ-I-018}, \RequirementRef{REQ-I-019}, \RequirementRef{REQ-I-020}\newline\ValidationRef{VAL-001}\\ \UserStoryID{US-002} & As a TikZ author, I want to move supported lines, arrows, and boxes visually, adjust a line or arrow endpoint, and resize a supported box, so I can refine their layout without manually finding coordinates. I want a clearly bounded, fitted canvas with clean drag feedback, shapes that stay clear when I zoom, and compiled output that matches the edit. Examples: dragging a segment body moves both endpoints, dragging one handle changes only its endpoint, dragging a box body preserves its size, and a resize handle changes its dimensions. These gestures reflect Vincent's account of the professor discussion and remain provisional. & \gls{must} & \RequirementRef{REQ-A-001}, \RequirementRef{REQ-A-004}, \RequirementRef{REQ-A-006}, \RequirementRef{REQ-A-007}, \RequirementRef{REQ-A-023}, \RequirementRef{REQ-B-001}, \RequirementRef{REQ-D-013}, \RequirementRef{REQ-D-014}, \RequirementRef{REQ-D-015}, \RequirementRef{REQ-F-003}, \RequirementRef{REQ-F-004}, \RequirementRef{REQ-F-009}, \RequirementRef{REQ-F-010}, \RequirementRef{REQ-F-011}, \RequirementRef{REQ-F-025}, \RequirementRef{REQ-I-001}, \RequirementRef{REQ-I-011}, \RequirementRef{REQ-I-012}, \RequirementRef{REQ-I-013}, \RequirementRef{REQ-I-014}, \RequirementRef{REQ-P-001}\newline\ValidationRef{VAL-002}\\ \UserStoryID{US-003} & As a TikZ author, I want edits to preserve source outside the supported object, so I can continue editing my document normally. A diagram may contain nearby commands the graphical editor does not understand, and I do not want those commands rewritten silently. Example: a source diff shows only the intended coordinate edits when a segment or box moves. & \gls{must} & \RequirementRef{REQ-A-006}, \RequirementRef{REQ-A-007}, \RequirementRef{REQ-D-001}, \RequirementRef{REQ-D-010}, \RequirementRef{REQ-D-017}, \RequirementRef{REQ-F-004}, \RequirementRef{REQ-F-024}, \RequirementRef{REQ-F-034}\newline\ValidationRef{VAL-003}\\ \UserStoryID{US-004} & As a TikZ author, I want clear feedback when a document fails to compile or contains unsupported syntax, so I can recover without losing my work. I need to know whether the preview failed or an edit was blocked while keeping the opened source available. Example: the document stays available and a diagnostic identifies the problem. & \gls{should} & \RequirementRef{REQ-D-015}, \RequirementRef{REQ-F-005}, \RequirementRef{REQ-F-007}, \RequirementRef{REQ-F-031}, \RequirementRef{REQ-F-032}, \RequirementRef{REQ-I-006}, \RequirementRef{REQ-I-007}, \RequirementRef{REQ-I-016}, \RequirementRef{REQ-I-017}, \RequirementRef{REQ-S-001}\newline\ValidationRef{VAL-004}\\ \UserStoryID{US-005} & As a TikZ author, I want to save the revised source locally, so I can compile or edit it again with standard LaTeX tools. The saved file should remain usable outside TikZRefinery rather than depend on an internal-only format. Example: reopening and compiling the saved file outside TikZRefinery retains the approved edit. & \gls{must} & \RequirementRef{REQ-A-014}, \RequirementRef{REQ-B-002}, \RequirementRef{REQ-D-001}, \RequirementRef{REQ-F-006}\newline\ValidationRef{VAL-005}\\ \UserStoryID{US-006} & As a TikZ author working with private or offline documents, I want the core editing workflow to work without a network service, so I can refine local diagrams wherever the local LaTeX toolchain is available. Example: I can open, preview, move a supported object, and save while disconnected. This is a proposal derived from the local-desktop project direction, not a stakeholder interview finding. & \gls{must} & \RequirementRef{REQ-C-001}, \RequirementRef{REQ-F-028}\newline\ValidationRef{VAL-006}\\ \UserStoryID{US-007} & As a TikZ author, I want to undo and redo completed edits while retaining exact source and clear saved/unsaved state, so I can explore layouts and recover earlier results. A completed drag is one step; cancellation creates none. The save/open history rules were agreed with Vincent on October 22. & \gls{must} & \RequirementRef{REQ-A-008}, \RequirementRef{REQ-A-010}, \RequirementRef{REQ-A-011}, \RequirementRef{REQ-A-012}, \RequirementRef{REQ-A-013}, \RequirementRef{REQ-A-014}, \RequirementRef{REQ-D-002}, \RequirementRef{REQ-D-003}, \RequirementRef{REQ-D-004}, \RequirementRef{REQ-D-005}, \RequirementRef{REQ-D-006}, \RequirementRef{REQ-D-007}, \RequirementRef{REQ-D-008}, \RequirementRef{REQ-D-011}, \RequirementRef{REQ-F-012}, \RequirementRef{REQ-F-013}, \RequirementRef{REQ-F-014}, \RequirementRef{REQ-F-015}, \RequirementRef{REQ-F-016}, \RequirementRef{REQ-F-017}, \RequirementRef{REQ-F-018}, \RequirementRef{REQ-F-019}, \RequirementRef{REQ-F-020}, \RequirementRef{REQ-I-002}, \RequirementRef{REQ-I-003}, \RequirementRef{REQ-I-004}, \RequirementRef{REQ-I-005}, \RequirementRef{REQ-I-006}\newline\ValidationRef{VAL-007}\\ \UserStoryID{US-008} & As a TikZ author, I want compatible shape and syntax providers with distinguishable capabilities, explicit provider choices and non-disruptive updates, so extension support grows without losing source or changing an active element's provider unexpectedly. Vincent reviewed registration, operation and lifecycle policy in November; the bounded rectangle extraction is implemented; wider mechanisms and user validation remain pending. The planned palette and canvas share host catalogue/provider access with explicit ownership. & \gls{must} & \RequirementRef{REQ-A-008}, \RequirementRef{REQ-A-009}, \RequirementRef{REQ-A-015}, \RequirementRef{REQ-A-016}, \RequirementRef{REQ-A-017}, \RequirementRef{REQ-A-018}, \RequirementRef{REQ-A-019}, \RequirementRef{REQ-A-020}, \RequirementRef{REQ-A-021}, \RequirementRef{REQ-A-022}, \RequirementRef{REQ-A-023}, \RequirementRef{REQ-A-024}, \RequirementRef{REQ-D-009}, \RequirementRef{REQ-D-010}, \RequirementRef{REQ-D-012}, \RequirementRef{REQ-D-013}, \RequirementRef{REQ-D-014}, \RequirementRef{REQ-D-015}, \RequirementRef{REQ-D-016}, \RequirementRef{REQ-D-017}, \RequirementRef{REQ-D-018}, \RequirementRef{REQ-F-026}, \RequirementRef{REQ-F-027}, \RequirementRef{REQ-F-028}, \RequirementRef{REQ-F-029}, \RequirementRef{REQ-F-030}, \RequirementRef{REQ-F-031}, \RequirementRef{REQ-F-032}, \RequirementRef{REQ-F-033}, \RequirementRef{REQ-I-015}, \RequirementRef{REQ-I-016}, \RequirementRef{REQ-I-017}\newline\ValidationRef{VAL-008}\\ \UserStoryID{US-009} & As a TikZ author, I want to reposition a supported attached label along and away from its host without moving the host or losing attachment, so I can improve readability while preserving the diagram relationships. Example: move a label in both axes, retain its unrequested appearance, and undo the action exactly. Vincent reviewed this behavior in October; stakeholder validation remains planned. & \gls{must} & \RequirementRef{REQ-A-012}, \RequirementRef{REQ-A-013}, \RequirementRef{REQ-A-015}, \RequirementRef{REQ-A-016}, \RequirementRef{REQ-A-017}, \RequirementRef{REQ-D-009}, \RequirementRef{REQ-D-010}, \RequirementRef{REQ-D-012}, \RequirementRef{REQ-F-021}, \RequirementRef{REQ-F-022}, \RequirementRef{REQ-F-023}, \RequirementRef{REQ-F-024}, \RequirementRef{REQ-I-006}, \RequirementRef{REQ-I-007}\newline\ValidationRef{VAL-009}\\ \UserStoryID{US-010} & As a TikZ author working with overlapping objects, I want to identify and select an obscured element without moving other objects first, so I can refine crowded diagrams. Example: choose a hidden host from a highlighted point/area candidate menu. Vincent reviewed the interaction; broader user validation remains planned. & \gls{must} & \RequirementRef{REQ-A-015}, \RequirementRef{REQ-D-009}, \RequirementRef{REQ-D-012}, \RequirementRef{REQ-I-008}, \RequirementRef{REQ-I-009}, \RequirementRef{REQ-I-010}\newline\ValidationRef{VAL-010}\\ \UserStoryID{US-011} & As a TikZ author, I want to browse distinguishable shapes in a collapsible sidebar, click or drag to place a supported element, preview it and recover from cancellation or rejection, so I can create diagrams while retaining editable source. Accepted creation selects the element and returns to selection. Vincent reports Professor Darian requested creation; New/Save As and insertion contexts remain open, and this is not an interview finding. & \gls{must} & \RequirementRef{REQ-A-024}, \RequirementRef{REQ-D-018}, \RequirementRef{REQ-F-033}, \RequirementRef{REQ-F-034}, \RequirementRef{REQ-F-035}, \RequirementRef{REQ-I-006}, \RequirementRef{REQ-I-007}, \RequirementRef{REQ-I-013}, \RequirementRef{REQ-I-015}, \RequirementRef{REQ-I-018}, \RequirementRef{REQ-I-019}, \RequirementRef{REQ-I-020}, \RequirementRef{REQ-I-021}\newline\ValidationRef{VAL-011}\\ \end{tabularx} \normalsize \section{Validation Links} The initial \hyperref[Persona:PERS-001]{PERS-001 profile} and \hyperref[Table:PersonaInterfaceMapping]{current interface mapping} connect the editing, source and saving stories to a proposed author context. The persona remains a hypothesis; it adds no participant evidence or accepted backlog item. Each story row links to its planned validation scenario. The validation register states the realistic task, acceptance criterion, method and expected evidence separately from requirement verification. Owner design agreement does not establish that a user has completed the scenario successfully. \clearpage \section{Questions for Stakeholder Review} The Demo 1 discussion can supply the stakeholder detail missing from these drafts. In particular, ask Professor Muresan to confirm these points: \begin{enumerate}[leftmargin=*] \item Which visual edits and source-level feedback must the first prototype support? \item Which TikZ constructs should be in the initial editable subset? \item Is offline operation a required constraint? \item What would demonstrate that source preservation and saving are acceptable to a TikZ author? \end{enumerate} Record his answers as stakeholder evidence before treating the affected stories or requirements as approved.