Commit Graph

31 Commits

Author SHA1 Message Date
Nathan Schneider c571bf1c01 Add landing screen as the app's entry point
Introduce a simple, show-don't-tell entry screen that lowers the "what
counts as a protocol" barrier and frames the activity as a short journey:

- Lead line "Examine the protocols around you" over a rotating, cross-fading
  list of deliberately diverse examples (traffic, code, kitchens, ritual,
  governance, play)
- Prominent "Begin" CTA above a three-step path: Describe / Understand / Share
- "About the Bicorder" link opens the existing help modal

Shown on first arrival; returning users with a reading in progress skip
straight to the diagnostic (computed synchronously, no flash). Remove the
now-redundant inline description from the focused flow.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-30 17:37:42 -06:00
Nathan Schneider fd556d967f Fix inverted sign in formal/informal LDA analysis gradient
The model (analysis/bicorder_model.json) maps a positive LDA score to
cluster 2 = Institutional/Bureaucratic = "formal", but ldaScoreToScale
added the score (5 + score*4/3), sending formal/institutional protocols
toward 9 (informal) and vice versa. bicorder.json defines this gradient
as 1 = formal, 9 = informal, so the score must be subtracted.

- Flip the sign: value = 5 - (ldaScore * 4/3); correct the doc comment to
  state the model's actual sign convention
- Rename calculateBureaucratic -> calculateFormalInformal and update the
  stale analysisOrder comment, matching bicorder.json's formal/informal terms

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-30 16:36:01 -06:00
Nathan Schneider f07708f296 Redesign gradient control as ASCII diverging-fill scale
Replace the click-anywhere ASCII bar (whose hit-mapping was offset from
the displayed marker, so taps registered the wrong value) with a track of
nine discrete, exact tap targets that fill from the center outward to the
selection: [----==#--]. Direction and distance from center read at a glance.

- Exact per-position selection on touch and desktop; no more position math
- Keyboard support (arrows/Home/End), scoped so it doesn't trigger
  the app-level screen navigation
- Center the bar and slim mobile padding so the full track fits narrow
  viewports
- Apply the same control to the manual analysis gradient; render the
  automated ones as a matching read-only, dimmed display
- Add a subtle gray "Value: #" indicator below the buttons on the
  diagnostic gradients, matching the analysis screens
- Move the "auto-calculated" note under the ANALYSIS header instead of
  after the value

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-30 16:02:16 -06:00
Nathan Schneider 12ac4eb943 Improve metadata prompts; fix upload error + remove debug log
- Replace bracketed metadata placeholders with prompting questions
- Fix upload error message (response.statusContents -> statusText)
- Remove stray debug console.log on reactive screen updates
- Document the upload token's security model in the app README

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-30 15:09:09 -06:00
Nathan Schneider 0c794dddae Improve layout responsiveness on narrow windows
Prevent horizontal overflow with overflow-x: hidden on body. Make the
gradient bar fill its container in focused mode (width: 100%;
min-width: 0) rather than holding a fixed minimum width.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-20 15:56:58 -06:00
Nathan Schneider 721b588a2b Fix layout cutoff on narrow desktop windows
Raise responsive layout breakpoints from 768px to 900px across all
components. This ensures narrow desktop browser windows (769–900px)
get the stacked, single-column layout rather than the three-column
grid that was too wide for those widths. The 768px breakpoint in
app.css is kept as-is since it only adjusts font sizes for iOS.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-20 15:27:59 -06:00
Nathan Schneider 5232e760be Update help/about text
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-20 15:12:19 -06:00
Nathan Schneider 50b7821596 Allow text selection in the interface
Remove user-select: none from body, keeping it only on interactive
elements (buttons, sliders, tooltips) where it prevents accidental
selection during interaction.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-20 14:31:43 -06:00
Nathan Schneider 4589fba64e Fix upload dialog visibility and mobile overflow
Move the upload confirmation dialog above the action buttons so it's
immediately visible, and add overflow-safe CSS to prevent text from
spilling outside the dialog box on mobile.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-20 13:59:19 -06:00
Nathan Schneider 62a6b0ba2c analysis updates 2026-02-21 17:13:15 -07:00
Nathan Schneider b004e9fb19 Analysis changes 2026-01-25 22:55:30 -07:00
Nathan Schneider 57b780fe95 Additional analysis in app and tweaked json descriptions 2026-01-25 22:48:54 -07:00
Nathan Schneider f53ada8196 User experience improvements to the focused mode 2026-01-18 16:59:56 -07:00
Nathan Schneider 56d1f7e11e Improved analysis screen on focused mode. 2026-01-17 22:58:24 -07:00
Nathan Schneider d1f288cda8 Adjusted the classifier to reduce false flags 2026-01-14 22:44:32 -07:00
Nathan Schneider 6230e6da7b Added arrows to focused view for clarity 2026-01-14 22:35:27 -07:00
Nathan Schneider 7829141756 Analysis updates and json tweaks 2026-01-14 21:42:23 -07:00
Nathan Schneider 1b508b911f Added classifer analysis to bicorder ascii and web app 2025-12-21 21:38:39 -07:00
Nathan Schneider d62d9205ac Updated logo/icon 2025-12-18 13:38:44 -07:00
Nathan Schneider 2827c9c7f4 Removed unnecessary Value field on web app 2025-12-18 11:03:47 -07:00
Nathan Schneider 7a57c29202 Updated ASCII slider interface 2025-12-18 10:44:15 -07:00
Nathan Schneider 72d3c513b1 Added description field 2025-12-18 10:30:13 -07:00
Nathan Schneider ad4b2a0a7c Removed redundant Share button 2025-12-18 10:24:27 -07:00
Nathan Schneider 912e209b80 Added contextual content to the web app, some aesthetic improvements 2025-12-02 22:28:15 -07:00
Nathan Schneider 0e437d2b88 Added Focused mode as default. Also finally adding the icons correctly. 2025-11-29 20:19:08 -05:00
Nathan Schneider bcc6727917 Better fix on mobile tooltips 2025-11-29 17:10:02 -05:00
Nathan Schneider af52f32330 Created icon for PWA and web 2025-11-29 17:05:15 -05:00
Nathan Schneider d278e8998a Fixed mobile tooltip positioning on mobile 2025-11-29 16:57:07 -05:00
Nathan Schneider 240401b9cb Fixed commit date issue on JSON upload 2025-11-25 13:38:38 -05:00
Nathan Schneider aac6334380 Fixed JSON version issue in commit message 2025-11-25 13:30:11 -05:00
Nathan Schneider b541f6049e First commit for bicorder-app 2025-11-25 13:20:21 -05:00