Hero OS — UI Component Library & Form Quality #7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hero OS — UI Component Library & Form Quality
Standalone tracker for bringing WASM Dioxus islands to Bootstrap 5.3 visual quality. Covers form controls, component library, demo data, and layout polish.
Related: Issue #5 — Production Readiness Plan (infrastructure, theme sync, contexts, deployment)
This issue: 100% focused on UI quality — what the user sees and interacts with.
Branching Strategy
All work for Issue #7 happens on
development_miktf, branched from latestdevelopment.hero_osisdevelopment_miktfhero_osdevelopment_miktfhero_archipelagosdevelopment_miktfWorkflow
development_miktf— all changes go heredevelopmentintodevelopment_miktfto pick up upstream changes (never rebase, always merge)development_miktfintodevelopmentdevelopment_miktfis always a superset ofdevelopment+ our WIP. One-way sync until ready, then merge back.Deployment
:devherodev.gent02.grid.tf:demoherodemo.gent02.grid.tf:prodRegistry:
forge.ourworld.tf/lhumina_code/hero_zeroVM: TFGrid Node 8, Mycelium
495:72fa:8ec3:9264:ff0f:c0a8:abad:234cDeploy Commands
DevOps Workflow
https://herodev.gent02.grid.tf/hero_os_ui/development_miktfdevelopment_miktfcode:demo— tag image and deploy to herodemohttps://herodemo.gent02.grid.tf/hero_os_ui/Rules
:demobefore human confirms the remote build (step 8 → step 9)development_miktf, merged todevelopmentvia PR after confirmationPhases
Phase 1: Demo Data ✅ DONE
Goal: Every island shows realistic, populated data — no empty/zero states.
Completed work:
hero_osis/data/media/hero_services/docker/entrypoint.shto seed media files per context via WebDAVNot addressed (no OSIS schema): HR, Finance
Phase 1.5: Loading Spinner & Form Centering Fix ✅ DONE
Goal: Fix loading spinner (text was spinning with the circle) and center business forms.
Completed work:
.island-spinnerCSS rule that appliedanimation: spinto the entire container including text. Correct definition uses flex column layout: spinningdiv+ staticspan.margin: 0 autoinline style to all 8 business form files (contacts.rs,companies.rs,contracts.rs,deals.rs,instruments.rs,opportunities.rs,persons.rs,transactions.rs).hero_archipelagos/server/src/styles.css.Commits:
hero_osadb1aef,hero_archipelagos1f9ffeb,hero_osis1ab5ef7Phase 2: Form Controls in CSS ✅ DONE
Goal: Bootstrap 5.3-quality base styles for all HTML form elements in
styles.css.Completed work (commit
bb747e8): Added ~350 lines tostyles.css:input[type="text/email/password/number/url"]— padding, border-radius, border, bg, color, focus ring, transitiontextarea— same as input, min-height, resize verticalselect— same as input + custom chevron SVG backgroundinput[type="checkbox/radio"]— custom styled (accent color, checked state)::placeholder— muted color, opacity 0.6:disabled— opacity 0.5, cursor not-allowed.form-label,.form-helper,.form-error— typography helpersPhase 3: Core Components ✅ DONE
Goal: Add missing components to
hero_archipelagos/core/src/components/.Completed work (commit
29d006d): Added 10 new Dioxus components:Phase 4: Island Form Overhaul ✅ DONE
Goal: Replace raw HTML inputs with core components across all 14 forms.
Completed work (commit
29d006d): Migrated 7 island forms to core components (net -313 lines):productivity/stories/src/views/story_form.rs— TextField, TextareaField, SelectField, FormGroupproductivity/projects/src/views/project_form.rs— sameproductivity/sprints/src/views/milestone_form.rs— samemessaging/src/islands/search_bar.rs— TextFieldcontacts/src/islands/contact_form.rs— FormGroupcalendar/src/islands/event_form.rs— FormGroup + CheckboxFieldproductivity/tasks/src/views/task_form.rs— FormGroupPhase 5: Layout Polish ✅ DONE
Goal: Final visual pass — spacing, alignment, empty states, responsive behavior.
Completed work (commit
bb747e8):.list-rowwith consistent row height, hover states.stat-gridstat cards.table-responsivehorizontal scrollArchitecture Reference
Key Files
hero_os/crates/hero_os_app/src/styles.csshero_os/crates/hero_os_app/src/theme.rshero_archipelagos/core/src/components/mod.rshero_archipelagos/core/src/styles.rshero_osis/data/seed/hero_services/Dockerfile.devColor Tokens
--color-primary#007AFF#007AFF--color-background#212529#f8f9fc--color-surface#2b3035#ffffff--color-text#dee2e6#1a1a2e--color-text-muted#adb5bd#6c757d--color-borderrgba(255,255,255,0.18)rgba(0,0,0,0.12)--color-error#dc3545#dc3545Session Log
development_miktfdevelopment_miktfdevelopment_miktfmargin: 0 auto. Added spinner/centering CSS to server styles.css.development_miktf.form-control,.form-label,.form-helper,.form-error, badge, card, tabs, alert, spinner, toggle-switch, list-row, stat-grid, table-responsive, light-mode overrides. (bb747e8)development_miktf29d006d)mik-tf referenced this issue2026-03-11 02:47:46 +00:00