Files
vpn-dns-gateway/demo/tikzrefinery/documents/latex/tkrUserInterfaceDesign.tex
vsun1 27b82c169e
vpn-dns-gateway/pipeline/head This commit looks good
vpn-dns-gateway/pipeline/pr-main This commit looks good
Add frozen TikZRefinery demo baseline and build pipeline
2026-11-25 22:46:33 -05:00

103 lines
6.2 KiB
TeX

\clearpage
\section{Initial Persona and Interface Design}\label{Section:UserInterfaceDesign}
\index{user interface}\index{persona}
PERS-001 is a draft role-based persona based on Vincent's project motivation
and \UserStoryRef{US-001}--\UserStoryRef{US-006}. It is a hypothesis for user
review, not an interview finding. The course's persona/task/wireframe pattern
is adapted as linked architecture views and an actual application screenshot.
\subsection{PERS-001: TikZ-Literate Report Author}\label{Persona:PERS-001}
\begin{tabularx}{\linewidth}{@{}L{3.0cm}Y@{}}
\caption{Initial Persona Hypothesis\label{Table:InitialPersona}}\\
\toprule\textbf{Aspect} & \textbf{Working assumption to review}\\\midrule
Role and context & A technical-report author uses existing or AI-generated
TikZ diagrams, a local desktop and an external LaTeX toolchain.\\
Knowledge & Recognizes basic TikZ and Open/Save; prefers visual edits to
repeated coordinate searches.\\
Goal & Move/resize a supported shape, inspect and save its source, then
compile in standard LaTeX tools.\\
Frustrations & Coordinate guessing, unexpected source changes, unclear
editing bounds and unsupported syntax.\\
Priority needs & Legible fitted canvas, selection/resize feedback,
side-by-side source inspection and guarded saving.\\
Evidence status & Draft hypothesis; priorities and usability require user
review. No participant results are claimed.\\\bottomrule
\end{tabularx}
\subsection{Needs Mapped to the Current Interface}
\small
\begin{tabularx}{\linewidth}{@{}L{3.2cm}Y L{3.1cm}@{}}
\caption{Persona-to-Interface Mapping\label{Table:PersonaInterfaceMapping}}\\
\toprule\textbf{Persona need} & \textbf{Current interface response} & \textbf{Existing trace}\\\midrule
Understand available drawing space & Labelled Canvas pane; contrasting paper,
fixed bounds and automatic fit. & \UserStoryRef{US-002}; \RequirementRef{REQ-I-011}--\RequirementRef{REQ-I-013}\\
Refine a supported layout & Select/drag a body or rectangle corner; constrained
preview and Escape/focus-loss cancellation. & \UseCaseRef{UC-002}; \RequirementRef{REQ-F-025}\\
Inspect and retain editable source & Read-only TikZ source pane beside the
canvas; changes appear after accepted graphical edits. & \UserStoryRef{US-003}; \RequirementRef{REQ-D-001}\\
Return to the LaTeX workflow & Open/Save controls, saved/unsaved identity and
Save/Discard/Cancel guard; compilation remains external. & \UserStoryRef{US-005}; \UseCaseRef{UC-003}\\\bottomrule
\end{tabularx}
\normalsize
\clearpage
\subsection{Current Application Screenshot}\label{Section:CurrentUIWireframe}
Figure~\ref{Figure:CurrentUIWireframe} maps \hyperref[Persona:PERS-001]{PERS-001}
to the actual 0.1.4-alpha Windows package with the sidebar shell and Edit menu. The native
capture shows the Shapes page, unavailable creation, provider-backed geometry and
the read-only source pane. The version in the normal title matches the package;
About contains Git and provider details. The earlier wireframe remains editable
source but is no longer used as the current UI figure.
\begin{figure}[ht]
\centering
\includegraphics[width=\linewidth,height=9.0cm,keepaspectratio]{../assets/undo-redo-2026-11-24/application-history.png}
\caption[Actual 0.1.4-alpha interface]{Actual 0.1.4-alpha packaged interface matched to the initial persona.
Source inspection is read-only; external compilation remains separate.
\label{Figure:CurrentUIWireframe}}
\end{figure}
The author opens a supported fixture, selects and moves/resizes a rectangle,
inspects accepted source changes, then saves and reopens it. The split view
supports visual and source inspection together. Save is disabled until a
committed edit exists; preview leaves source unchanged. Open/Save shortcuts
and labelled panes exist; complete keyboard-only and assistive-technology
support remain unverified.
Unsupported source retains its bytes with a diagnostic. Proposed rejection
feedback follows \RequirementRef{REQ-I-006} and \RequirementRef{REQ-I-007}.
The Shapes/Files shell is implemented, but catalogue and creation in
\UseCaseRef{UC-009}, overlap selection and in-app PDF viewing remain
planned. Edit-menu Undo/Redo now supplies bounded session restoration with
standard shortcuts. Earlier sidebar screenshots remain retained as dated evidence.
Sidebar browsing does not alter source. Files Open reuses the existing
guard; no folder tree, catalogue enumeration or creation is implied.
\subsection{Persona Needs Mapped to Planned Creation}
The existing persona remains a hypothesis. Planned creation/sidebar responses
are separate from the current interface table and screenshot.
\small
\begin{tabularx}{\linewidth}{@{}L{3.2cm}YL{3.0cm}@{}}
\caption{Persona-to-Planned-Interface Mapping\label{Table:PlannedPersonaMapping}}\\
\toprule\textbf{Need to review} & \textbf{Planned response} & \textbf{Trace}\\\midrule
Find available shapes & Provider-distinguishable catalogue previews/names;
explicit creation availability. & \RequirementRef{REQ-F-033}; \RequirementRef{REQ-D-018}\\
Keep canvas space usable & Sidebar shell now supplies persistent Shapes/Files
tabs and session width; user validation of the interaction remains planned. & \RequirementRef{REQ-I-018}--\RequirementRef{REQ-I-020}\\
Create a layout visually & Click provider defaults or drag rectangle corners;
preview constraints, cancel/retry and select accepted creation. & \UseCaseRef{UC-009}; \RequirementRef{REQ-F-035}; \RequirementRef{REQ-I-021}\\
Continue file work & Files requests reuse the existing unsaved-work guard;
folder-selection/opening details remain unresolved. & \UseCaseRef{UC-001}\\\bottomrule
\end{tabularx}
\normalsize
Editable planned views appear in Figure~\ref{Figure:SidebarWireframes}; their
icons are illustrative. Default Qt styling is retained; external styling and
icon-library adoption are deferred. \ValidationRef{VAL-011} remains Planned.
\subsection{Persona and Interface Review Still Required}
Use \ValidationRef{VAL-002}, \ValidationRef{VAL-003} and
\ValidationRef{VAL-005} to observe moving/resizing, unrelated-source checks
and saving for external compilation. Ask whether bounds, selection, source
updates and saved state are clear; record confusion and recovery before
revising/rechecking the interface. Persona-specific usability and acceptance
remain unexecuted; this persona review adds no new product obligations.