Skip to content

Redesign the home page as the File view (#2027) - #3822

Merged
bherbruck merged 5 commits into
tangency-labs:mainfrom
Nathan-Dane:codex/file-view-2027
Oct 22, 2026
Merged

bherbruck merged 5 commits into
tangency-labs:mainfrom
Nathan-Dane:codex/file-view-2027

Conversation

@Nathan-Dane

@Nathan-Dane Nathan-Dane commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Change

Closes #2027. The house button and design-tab + open the redesigned File view with a navigation rail, New/Open/Import tiles, Recent rows, sample cards, inline recovery and Export formats. Existing file commands, picker cancellation, browser restoration and protection of unsaved work remain in use. New tiles select millimetres or inches without changing the default preference.

Shared FileView components define the rail, navigation, typography, responsive grids, action tiles, Recent rows, equal-height sample cards and recovery banner. Recovery uses shared buttons with centered labels and a new original multitone clock/rewind icon in the warning palette. Both New tiles retain the document icon. The Start subtitle reads “Create a design, open a recent file, or explore a sample.” All 38 new messages are translated across all 24 catalogs. Recovery reports the actual recoverable count, filename and autosave age.

Net production Rust line change: +919, excluding test-only source and gallery modules.

Review screenshots

These are the supplied screenshots of the rebuilt native app, using the public Sample Plate fixture. They show the restored subtitle, document icons, compact recovery actions and updated recovery artwork. Original resolution and window margins are preserved; no screenshots are committed to the feature branch.

Light

Updated File view in light mode

Dark

Updated File view in dark mode

Previous home view and additional workflow evidence

Previous home view in light mode

Narrow File view

Recovery review

Export formats

These supporting captures predate the final subtitle and recovery-icon adjustment.

Reproduce: launch with Sample Plate and open the house button or design-tab +. Review New, then Export. To show recovery, use a public autosave in an isolated recovery folder. Recovery opens the design in another tab and retains the original. Escape returns to the design and closes child settings/help windows first.

Validation

  • After rebasing: fmt, asset/icon standards, licences, catalog ordering, layering and workspace Clippy (--all-targets --profile ci -- -D warnings) passed.
  • All 12 WebAssembly crates passed cargo xtask wasm.
  • UI unit suite: 1,716 passed, 1 failed, 5 ignored. dialogs::dense::all_tests::new_cards_settle_before_the_first_click_in_both_layouts reported a moving Revolve footer in docked layout; the exact test passed in isolation (0.41 s). This run is reported as failing, not green.
  • Runtime icon audit: 4 passed. The new recovery glyph is discovered without a placeholder.
  • The final subtitle/icon iteration also passed all 21 SVG-rendering tests and actual-UI captures in light/dark at desktop and narrow widths. The native app was rebuilt and launched for the supplied screenshots.
  • A fresh cargo xtask ci passed its quick gates and workspace Clippy; its workspace-test rebuild was stopped to honor the handoff’s one-full-suite-run limit. The UI suite and wasm check above then ran on the integrated code.

Earlier full cargo xtask ci ran 76 test binaries in 23.4 minutes and was not green: engine counterbored-hole ring-cut volume, robustness seeds 36/71 and a clearance timing limit failed. The clearance test passed isolated in 3.99 s. No geometry goldens or tolerances were changed. The full workspace suite was not repeated after the final UI adjustments; checks after integration are listed above.

Integration

Rebased onto main 6c60f1a9 on 22 October 2026 and resolved conflicts in the roadmap, attribution, document tabs, Home, shared UI kit and documentation. Retained upstream tab context menus, asynchronous recent-file checks and sample pictures, Assistant/history gallery entries, and the public shared button API. File view and its recent-file context menu now use the universal container API.

Validation of this rebased update:

  • Formatting, assets, icon standards, licences, catalog ordering, layers and the UI container audit passed.
  • Workspace Clippy (--all-targets --profile ci -- -D warnings) passed.
  • All 12 WebAssembly crates passed.
  • Direct UI unit suite: 1,843 passed, 0 failed, 5 ignored.
  • Direct runtime icon audit: 4 passed.
  • UI scenarios: 121 passed, 0 failed, 1 ignored; window-width, layout and popup integration tests also passed.
  • Full cargo xtask ci was not green: geometry tests::a_long_helical_tangent_chain_is_found_quickly exceeded its timing limit (320.8 ms), and IO threemf::tests::parts_share_the_placement_budget exceeded its timing limit (31.87 s). Neither implementation is changed by this PR. The process then ended with SIGTERM (exit 143) before all remaining test binaries reported, so the full suite is incomplete. The direct UI and icon runs above completed afterward.

This PR remains a draft awaiting review and maintainer approval for GitHub CI. No merge is requested by this update.

Generated with Codex.

@Nathan-Dane
Nathan-Dane force-pushed the codex/file-view-2027 branch 2 times, most recently from 305d13b to 02344b8 Compare October 21, 2026 01:14
@bherbruck bherbruck added ready to merge reviewed, every ask addressed; merge once CI is green approved-for-ci Reviewed: run the full PR CI (build, tests, goldens, Clippy) labels Oct 21, 2026
@Nathan-Dane
Nathan-Dane marked this pull request as ready for review October 22, 2026 03:05
@bherbruck bherbruck added approved-for-ci Reviewed: run the full PR CI (build, tests, goldens, Clippy) and removed approved-for-ci Reviewed: run the full PR CI (build, tests, goldens, Clippy) labels Oct 22, 2026
@bherbruck
bherbruck enabled auto-merge October 22, 2026 12:11
@bherbruck
bherbruck added this pull request to the merge queue Oct 22, 2026
Merged via the queue into tangency-labs:main with commit f79cbc2 Oct 22, 2026
51 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved-for-ci Reviewed: run the full PR CI (build, tests, goldens, Clippy) ready to merge reviewed, every ask addressed; merge once CI is green

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ribbon redesign: Start page becomes the File view

2 participants