Skip to content

Open-source Android PDF and document toolkit with PDF tools, Office viewing, XLSX editing, scanning, and image editing. Built with Kotlin and Jetpack Compose.

25.9 KB
Raw Blame

Handoff

Read this first after a /clear. The roadmap is PLAN.md.

Where things are

  • Repo: D:\clearPDF_V2, branch codex/release-artefact-alpha1 (releases are cut from main); remote upstream = artcraft-android/pdfcraft-android.

  • Android project: android/; Rust workspace: engine/ (bridge crate engine/mobile, package artefact-mobile, library libartefact.so; engine crates keep their pdfcraft-* package names).

  • Build (phone is arm64): cd android; ./gradlew installDebug -Partefact.abis=arm64-v8a (emulator: x86_64). Debug id com.chethan616.clearpdf.debug. Release: assembleRelease -Partefact.abis=arm64-v8a (signed with the local Play upload key, key.properties).

  • Phone: adb -s 5bdd59db (OnePlus CPH2487, Android 16, 1240×2772 @560dpi). In Git Bash set MSYS_NO_PATHCONV=1 before adb shell …/sdcard…. pm clear is blocked; reset with adb shell "run-as com.chethan616.clearpdf.debug rm -rf shared_prefs files/notes".

  • A sample PDF is on the phone: /sdcard/Download/Quarterly-Report.pdf (MediaStore id 1000144849). Quick Preview test: open Settings, then adb shell am start -a android.intent.action.VIEW -t application/pdf -d content://media/external/file/1000144849 --grant-read-uri-permission -n com.chethan616.clearpdf.debug/com.chethan616.clearpdf.preview.QuickPreviewActivity

  • Judge smoothness on the fast build, never debug: ./gradlew installFast -Partefact.abis=arm64-v8a (same .debug id and data, debug key, R8, not debuggable, Compose's baseline profiles). Then adb shell cmd package compile -f -m speed-profile com.chethan616.clearpdf.debug to compile the profile at once. A debuggable build runs Compose several times slower.

Office documents and pictures (Word, PowerPoint, Excel, LightCraft photos in)

Plan and status: PLAN.md "Office documents". How the Word bridge works:

  • Engine: storytold/wordcraft pinned at 729cd0a (git deps). Two crates vendored with patches (engine/vendor/README.md, section WordCraft): wordcraft-engine (font store behind font-store, which Artefact leaves off: no ureq/rustls/ring; check with cargo tree -p artefact-mobile --target aarch64-linux-android -e normal) and wordcraft-fonts (/system/fonts on Android; its bundled faces include_bytes! from engine/assets/fonts, so Source Sans 3 / Source Serif 4 live there). [patch.crates-io] krilla = craft-libs c5a1cbf (Word's PDF export needs the suite's krilla, and Cargo ignores a dependency's own patches). Upstream draft (not filed, don't file without the owner): docs/upstream/wordcraft-android.md.
  • Bridge: engine/mobile/src/office.rs is the shared part: the OfficeDoc trait (info, render, text layer, links, thumbnail, release_memory), sniff (zip part names / CFB streams / { tf), text_glyph (a glyph box through an Affine), ids from OFFICE_IDS = 2^40. word.rs and slides.rs implement it; MobileSession keeps office: HashMap<u64, Arc<dyn OfficeDoc>>. Slides: deckcraft_pptx::import, deckcraft_render::render_slide (tiles via RenderOpts.offset and size, 2 threads), text from place_slide(..).texts (runs' glyphs + cells chars, through PlacedText.transform), links from place_slide(..).links (URL actions).
  • Excel (sheets.rs): SheetBook (an OfficeDoc whose as_sheets() is Some) opens through gridcraft_engine::io::open_bytes_with_password then Calc::recalc_all; MobileSession.sheets, sheet_axes (points; gridcraft keeps 96-dpi px), sheet_cells (≤ 20 000 cells a window; only cells with text, fill or border), sheet_merges, sheet_find. The app's ui/sheets/SheetViewer.kt draws it (ClearApp's Viewer picks it for doc.isSheets); render_page is only a fill/grid sketch for thumbnails.
  • Photos (photo.rs): PhotoEditor object (not in the session): render(path, settings_json, max_side) decodes once at ≤ 2048 px and re-develops; export_jpeg decodes full size. Settings are LightCraft's DevelopSettings JSON ({"light":{"exposure":1}}, ranges in its controls.rs). App: ui/notes/PhotoEditor.kt, opened by vm.editingPhoto from a note's picture.
  • Selection lens and menu (2026-11-07): SelectionLens in ViewerScreen.kt draws the pages backdrop magnified in a glass capsule (the platform magnifier showed nothing over the backdrop layer); SelectionMenu is a glass popover.
  • Word (engine/mobile/src/word.rs): MobileSession.open(path) sniffs the bytes (word_extension: zip with word/document.xml, ODF text, CFB WordDocument, { tf; an encrypted CFB only when the name says .docx) and opens a WordDocument (wordcraft Session) under an id from WORD_IDS = 2^40. Every per-document call checks self.word(doc) first: document, render_page (whole page or tile via render_region with a translate+scale Affine), links (web/mail runs only), close, documents; comments/widgets/attachments/outline are empty for Word. Text: page_text builds glyph boxes from page_display (Draw::Glyphs, recursing into Figure/Clip; turned/rotated boxes left out) and lays them out with pdfcraft_render::text::layout, so word_at, text_rects, find_in_page, reading_blocks are the PDF code. Headers are drawn undimmed (dim_header: false); proofing is off (session.view.proofing = false: no spelling squiggles in a reader). DocumentInfo.kind tells the app; read_only_reason is set (no editing yet). Errors reuse MobileError (NeedsPassword / WrongPassword for protected .docx).
  • Android: engine/DocumentTypes.kt (PDF/Word/slides types and extensions, title, mimeOf); OpenDocument.isOffice / isSlides; QuickTool.WORD (Read Aloud only) on the bar, empty More tools, More sheet without Edit/Print/comments/signatures/PDF tools; safeName keeps Word extensions (the engine needs .docx for encrypted files); manifest SEND and Quick Preview VIEW filters list the Word types.
  • Tests: cargo test -p artefact-mobile (Word tests write a .docx with wordcraft, open, render, search, select, read aloud, thumbnail). To look at any file's pages on the PC: ARTEFACT_SAMPLE=<path> cargo test -p artefact-mobile --lib render_sample -- --ignored --nocapture writes <path>.<page>.<w>x<h>.rgba (convert with Pillow).
  • Sample on the phone: /sdcard/Download/Artefact-Word-Sample.docx (MediaStore id 1000145153; headings, table, link, header/footer, 2 pages, Cyrillic/Greek/Japanese/Hindi line). Made by a small Python script (zipfile, hand-written OOXML). Quick Preview test: adb shell am start -a android.intent.action.VIEW -t application/vnd.openxmlformats-officedocument.wordprocessingml.document -d content://media/external/file/1000145153 --grant-read-uri-permission -n com.chethan616.clearpdf.debug/com.chethan616.clearpdf.preview.QuickPreviewActivity
  • Size: with WordCraft the arm64 fast APK went from 49 MB to 76 MB (libartefact.so is now 58 MB). Look at what is big (craft-proof's word lists? the .doc/ODT/RTF readers?) before PowerPoint adds its codecs.
  • Build note: the first release build of wordcraft is long (~20 min on this PC); assembleFast compiles the Rust release profile (thin LTO, one codegen unit).

Glass and office changes (2026-11-11)

The parts a later session needs to know:

  • Adaptive luminance (Settings ▸ Liquid glass & motion, off by default; GlassSettings.adaptive). Menus and toasts read their own backdrop (GlassLuminance in ui/glass/AdaptiveGlass.kt: a small second record of the backdrop, read back a few times a second). Every other glass control reads the luminance around itself from the window's one ScreenInkSampler (rememberSurroundLuminance in AdaptiveInk.kt); ClearApp runs that sampler app-wide while the setting is on. In this mode the glass presets' frost, colour, brightness and tint are not applied (GlassStyle.adaptiveBase). Only controls whose ink follows (GlassCircle, GlassPill, glassBar) take the milk/smoke wash; chips, panels, sheets and dialogs keep their wash because their text is in the theme's ink.
  • Menus are all one MenuCard (Overlays.kt); rows take their ink from LocalGlassInk / LocalMenuInk (menuInk() in the viewer). A menu whose anchor is at most 72 dp grows out of that button and lies over it (GlassMotion.grow); a larger anchor unfolds beside it.
  • Glass springs take a 0.0005 rest threshold (GlassMotion): Compose's default 0.01 cut a menu's last swing short. Menus close on GlassMotion.fold, not on the screens' curve.
  • Sheets grid (ui/sheets/SheetViewer.kt): cells are made ready once per block (DrawCell, with its merge and which borders show), text is laid out once at zoom 1 and drawn scaled (SheetTextCache). Gestures read top through rememberUpdatedState: the bars over the grid change height, and a stale value put taps on the wrong cell.
  • .ppt (engine/mobile/src/ppt.rs) reads each slide's drawing (text boxes, pictures) through the persist directory, and falls back to the outline. Only tested on a synthetic file.
  • alpha.8 additions: Two pages (DocLayout.columns, ViewerState.showColumns, View settings); a note as a mind map (ui/notes/MindMap.kt: parseOutline reads headings, bullets and indentation; one android Canvas drawing serves the screen, the PNG and the PDF); Find form fields (the engine's form_detect_fields); Translate (a chooser of text-processing apps; the app itself has no network permission and must not gain one); Bold/Italic on the selected words only (text_edit ranges, UTF-8 byte offsets); photo Crop (LightCraft's crop.geometry, which needs rect and angle); voice notes leave as m4a (notes/AudioExport.kt).
  • 3.0.0-beta.10 (2026-11-14): first beta, the first release published as the stable "Latest" (not a pre-release), with the 16:9 trailer attached. Versions stay -beta.N from here (artefact.version, artefact.versionCode 3000010; beta numbers start at 10 so codes rise past alpha.9’s 3000009).
  • Releases build five APKs (-arm64-v8a, -armeabi-v7a, -x86, -x86_64, -universal); x86 is new (i686-linux-android, version-code suffix 4). ci.yml builds pull requests.

Motion rules (2026-11-06)

  • Glass things spring, screens glide (sheets on their own fixed spring, see Gotchas). Glass controls AND glass popovers (menus, dialogs, toasts, hint toasts, the recorder pill) use GlassMotion springs (ui/glass/Motion.kt: morph, pop, unfold/unfoldLag, fold, rise), tuned by Settings ▸ Button motion (MotionSettings.damping/stiffness). Screen-to-screen transitions use Fluid: tweens on UIKit's curve (0.32, 0.72, 0, 1), never past the target, ignoring the motion setting. Screens push 420 ms / pop 360 ms (RouteHost in ClearApp.kt); do not change these, the user likes them.
  • Overshoot rule: a spring may overshoot only draw-time values (scale, translation, rotation) or layout values clamped positive (coerceAtLeast); alpha is always clamped to 0..1. A spring past 1 once crashed Quick Preview with negative padding.
  • Every glass part follows Settings ▸ Liquid glass (GlassSettings.style through glassEffects) and Button motion. New glass uses glass/glassControl/GlassChip, never a hand-rolled drawBackdrop.
  • A glass thing can't refract its own layer: put the glass in a sibling layer (GlassCard, GlassHost in ui/glass/Surfaces.kt) so chips on a card refract the wallpaper behind the card.
  • Flat pressable sinks to 0.97 on critically damped springs (no jelly).
  • Overlays animate out: GlassOverlay(animatesOut = true) keeps an entry in the portal after its caller leaves; read rememberOverlayAppear() (or LocalOverlayPresence) and call done().
  • Read moving values in draw/layout, never composition (pager offsets, player position, morphs). That includes fades: an animateFloatAsState read in composition recomposed the whole dock every frame, rebuilding every fan chip's drawBackdrop (that was the + lag on a busy desk). Use an Animatable read in graphicsLayer {}, plus derivedStateOf for "is it shown" flags.
  • Performance rules for busy screens (welcome, fan): give anything that animates forever (mascots, dots) its own graphicsLayer {} so its redraws stop at that layer; pause what is off-screen; use CompositingStrategy.ModulateAlpha on fading content (the default goes offscreen below alpha 1, a full-screen texture for a scrim); cache costly still content (22 px glow text shadows, glass pills) with Offscreen only while it is still or just moving, never when it rotates (soft sampling); compose items of a group one by one when each carries live glass (FanChip).
  • The dock capsule (+ and mic ⇄ recorder) uses GlassMotion.shape() / shapeBack() (stiffness 105 / 125, slow on purpose so the swell and rebound are seen); the other glass springs stay brisk.

Code map (new UI)

What Where
Tokens, type, tones ui/theme/ClearTheme.kt
Wallpaper, glass stack, overlay portal ui/glass/Backdrops.kt
Glass controls, sheets, menus, loader ui/glass/* (Loader.kt = M3 Expressive in glass)
Glass chips (filter chips, card chips, check pills, lemon chip) GlassChip in ui/glass/Buttons.kt (wraps glassControl, same glass as Back/More)
Dark theme ("Midnight Aurora", jewel card tones) DarkClear / DarkTones in ui/theme/ClearTheme.kt; viewer surfaces in ui/Theme.kt
Routing (welcome / desk / files / tools / settings / note / viewer) ui/ClearApp.kt
Desk ui/home/HomeScreen.kt, cards ui/home/Cards.kt, + and mic ui/home/CreateDock.kt
Notes store notes/Notes.kt (JSON in files/notes, media in files/notes/media)
Note editor ui/notes/NoteEditor.kt
Thought of the day notes/Thoughts.kt (thoughtFor), DeskItem.Thought + ThoughtCard, AppViewModel.openThought/closeNote
Welcome ui/onboarding/Onboarding.kt
Mascots ui/mascot/* (copied from rewordium; never edit rewordium itself)
Quick Preview preview/QuickPreviewActivity.kt + preview/QuickPreview.kt
Viewer ui/viewer/*; its glass refracts the pages (pagesBackdrop in ViewerScreen.kt)
Viewer sheets (iOS style) PdfSheet, SheetHeader, SheetSection, SheetRow, SheetCircleButton in ui/Components.kt
Header glass buttons HeaderGlassButton; buttons inside a glass bar are BarGlyphButton (no glass on glass)

Gotchas

  • Apostrophes in strings.xml must be \'. Shell heredocs eat the backslash: use the Edit tool.

  • material3 is pinned to 1.5.0-beta02 in gradle/libs.versions.toml for LoadingIndicator.

  • Glass can't sample other apps: Quick Preview's card is solid; the caller behind is dimmed and blurred with Android 12+ cross-window blur (FLAG_BLUR_BEHIND), when the phone allows it.

  • Quick Preview copies the file into the viewer's working-copy folder first, so Expand still opens after the caller's temporary grant ends.

  • Welcome pager: pages are NOT translated at the page level (that put neighbours' cards in view at rest); only each card sways, shaped to zero at rest. The Skip button (a GlassChip) fades before the last page. Continue is a GlassPill(tintAt = ...): the candy colour follows the pager, read in draw. Mascot(paused = true) freezes a mascot that is off-screen (its infinite animations stop redrawing).

  • Recorder pill (CreateDock.kt): expand overshoots in layout (clamped), shrink squeezes/stretches in draw. Judge it on the fast build; the capsule blur re-runs per overshoot frame.

  • Performance rules for glass (pass 4): shaders are shared process-wide (RuntimeShaderCache.kt; the Crystal lens used to compile per node), warmed one per idle moment from MainActivity (GlassShaderWarmup); the press glow in Press.kt is shared too. The dispersion shader takes 1 / 3 / 7 taps by how much the rim bends. HighlightNode re-records only when its own inputs change. Modifier.throttleBackdrops { moving } (backdrop/BackdropThrottle.kt) makes glass UNDER it refresh its sampled position at most every 100 ms while moving() (trailing write on settle): used by the welcome cards (flyIn, with cache = true on page-2 cards) and by GlassSheet's content. Never put it on something the eye tracks closely (a fan chip would look like a sticker).

  • Jelly: GlassMotion.shape() has a damping floor (0.46); the dock's layout overshoot is soft-capped (tanh) to the room left on the screen and its squash is bounded: before, a swing wider than the screen was clamped by the constraints and the pill froze at the extremes.

  • Bounce tweens were tried and removed (2026-11-06): the user found them slow. Everything glass is on springs again. Sheets use the old ClearPDF sheet's fixed spring (0.82 / 380, never profile-scaled: at Jelly a scaled one shivered) with drag-down-to-dismiss; menus/dialogs/toasts/fan/+/mic use GlassMotion.

  • Why overlays were slow, and the fix (measured, Crystal + Jelly, 60 Hz): with the sheet's glass removed entirely the long-press sheet still cost ~28 ms GPU a frame. The cost was the scene under it: every frame of anything moving redrew every glass control on the desk. Two fixes, both in the backdrop/glass layer:

    1. GlassStage keeps wall+screens (and chrome) as one offscreen texture while an overlay is up or chrome holds GlassOverlayHost.stillHolds (the + fan, the recorder). Sheet frames fell to ~3.5 ms GPU.
    2. Modifier.floatingLayer (backdrop module) records content once into an offscreen layer and animates only its transform/alpha/clip (an ObserverModifierNode; no re-record, no re-blur). Used by sheets, dialogs, menus, toasts, fan chips, the viewer bars and the pop menu. Don't fade content inside a floating layer with its own graphicsLayer: that dirties the texture and re-blurs every frame.
  • Desk menu is a glass pop (GlassMorphMenu, ui/glass/MorphMenu.kt): the four-dot button becomes the menu, iOS 26 style (clip opens from the button circle, spring overshoot becomes a swell about the button). ~5 ms GPU a frame. The real button hides from tap until onGone.

  • Settings ▸ Liquid glass & motion (desk/GlassMotionSettings.kt): live glass stage, glass presets + every GlassStyle value, motion presets + spring graph (step response of the morph spring at the current setting) + the six MotionStyle values, a cubic-bezier editor for MotionSettings.curve (drives Fluid.Ease, persisted as motion_curve) with presets, MotionSettings.duration scaling every Fluid tween. New strings are English-only so far (other locales fall back). Settings root: small-caps section labels, one row opens this page, credits as a footnote. Morph menu is layout-driven like the old app's ShareMorphButton (user rejected the clip-reveal pop).

  • 2026-11-06 late pass (built, NOT seen on the phone: adb went unauthorized): Back beat 300 ms everywhere via rememberBeat (ScreenHeader, viewer Back, tool screens); morph menu fades in place when an item is chosen (no glyph over the next screen); viewer search field grows from the title pill (GlassMotion.morph); viewer dock = icon-only ink glyphs on theme glass (glassBar default = clear.glass, follows the glass style, shows the page), More = plain glass circle; dock⇄note toolbar morphs both ways, handing over at 96 % (max 600 ms); tool screens (ToolScaffold/ToolPage) stand on the Aurora in a GlassHost with glass Back, candy GlassPill action, washPanel() file cards, glass chips for the scan actions.

  • Desk → note: the dock's capsule grows into the note toolbar's size (CreateDock(intoNote), measured via vm.noteBarSize) on GlassMotion.morph(), then hands over (vm.noteBarHidden). ClearApp keeps the dock composed for it. Sheets enter on 0.74 / 380 (~3 % rise past rest).

  • Viewer: no bands. Pages start at y 0 (setPadding(top = 0f)), status band and nav band are transparent, bars are Modifier.glassBar() (frosted, press-reactive by Settings ▸ Motion) and GlassBars springs them in/out as textures. Things that must sit below the top row use statusPx + topPx, not padTop.

  • Glass circles/pills no longer bloom on a long hold unless they have a long-press job (as the chips). ScreenHeader's Back waits 150 ms so its press plays before the screen goes. The logo no longer spins.

  • app/src/main/baseline-prof.txt AOT-compiles all app + backdrop code: a sideloaded release had been running JIT-only while the fast build was force-compiled with cmd package compile, so "fast beat release".

  • Desk shelf titles use six faces (ClearType.DeskAll/Notes/Todo/Pdfs/Images/Audio): "Your Artefacts" is a clean bold Bricolage Grotesque (the wonky Fraunces looked bad there); Notes is Fraunces upright (wonk 0). Both variable fonts are OFL, credited in Settings and assets/licences.

  • 2026-11-06 passes 1 to 4 (Quick Preview, thought of the day, glass chips, springs, dark theme, welcome/fan performance, slower dock, Crystal/Jelly/sheet fixes) build but were not seen on the phone (not attached): check them first when it is. Fast APK: android/app/build/outputs/apk/fast/app-fast.apk. If gradle complains a backdrop class is "outside the root directory", run ./gradlew :backdrop:clean.

Quick Preview corners (2026-11-07)

The card is a Squircle (new in ui/glass/Shapes.kt: kyant's continuous corners, allowed only for content clipped inside its own moving layer) with a radius concentric with the screen's corners (RoundedCorner bottom-left radius minus the 10 dp inset, 24..48 dp; 34 dp without it).

NEXT: port the old ClearPDF xlsx viewer (owner's request, 2026-11-07)

The owner wants the spreadsheet viewer of D:\ClearPDF-latest ("goated"): copy its viewer, keep its editor's behaviour but restyle its editing controls to Artefact's glass UI. Files there (app/src/main/java/com/chethan616/clearpdf/): ui/screen/SpreadsheetGrid.kt (617 lines: grid, GridSelection, GridColors, row drawing), ui/screen/SpreadsheetScrolling.kt (row scrubber, stacking fling), ui/screen/SpreadsheetViewerScreen.kt (1244: content, FormulaBar, SheetTabs, EditToolbar, Align/Borders/Number/RowsCols panels, validation dropdown), ui/viewmodel/ SpreadsheetViewModel.kt, utils/SpreadsheetParser.kt + ExcelCellFormat.kt (its own model). Plan: bring the grid + scrolling + formula bar + tabs over as ui/sheets/*, feed them from the gridcraft bridge (sheets, sheet_axes, sheet_cells, sheet_merges, sheet_input, sheet_set_cell, sheet_command) instead of its parser, and swap its panels' look for our GlassChip/GlassCircle/glassBar/GlassMenu. Replace today's SheetViewer.kt grid with it.

Editing (2026-11-07, later): the owner now shares screenshots; don't drive the phone

  • Word: MobileSession.word_command(doc, cmd, json) (WordCraft Session::run; caret/select/ format.state don't bump the generation), word_caret(doc) (caret + selection rects from the layout). App: vm.wordEditing, ui/viewer/WordEdit.kt (WordEditLayer: caret, selection, a hidden sentinel field for the keyboard; WordEditDock). Taps go to vm.wordTap (ViewerScreen onTap).
  • Sheets: SheetBook keeps a GridCraft Session (DocState: undo, recalc). sheet_command(doc, sheet, area, cmd, json) selects area then runs the command; sheet_set_cell, sheet_input. App: ui/sheets/SheetViewer.kt = SheetGridState + SheetGrid (reused by Quick Preview) + SheetViewer (formula bar, format dock, ⋯ menu, tabs).
  • Saving: vm.save calls save_office(doc, workingCopy) for office documents (their own format), then the usual write-back.

2026-11-07 pass (built and installed; not driven on the phone: owner was using it)

  • Office bars: QuickTool.barFor(doc, arranged) (Word / slides lists), QuickToolbar(onMoreTools = null) hides More tools; ViewerSheet.SaveAs → SaveAsSheet (formats from exportFormats); vm.exportOffice(doc, format) delivers to Downloads; vm.print prints office docs via their PDF.
  • Present: ui/viewer/PresentMode.kt, vm.presenting, hosted in ClearApp's tool-screen box.
  • Sheet search: in SheetViewer (search circle in the top row).
  • Files ▸ ⋯: DocumentTypes.Kind filter; .txt/.md open (Word engine: office::sniff by name).
  • Thought of the day: the card shows the day's quote; past thoughts never written on are deleted at start (AppViewModel init).
  • Quick Preview → app: vm.open(copy = …, fromPreview = true) reuses the preview's copy; vm.expandingPreview paints the viewer ground over a desk that isn't drawn until the reveal covers; window animation is an 180 ms fade (res/anim/preview_open_*).
  • Licences page rewritten (groups, roles, tap for licence text, arrow for source); About has one "Built with open source" row.
  • Images shelf: a picture card opens the LightCraft editor; long press ▸ Edit picture.

Desk flicker (2026-11-06, fix built, not yet seen on the phone)

The owner saw the desk's cards "appear again for a second" after tapping a card. Cause found in the code: opening a document calls refreshRecents() while the viewer is still rising out of the card (Reveal, not yet covering), so the desk grid re-sorted behind it: the tapped card jumped to the front and the cards' tones and tilts (picked by index) changed. Fix: AppViewModel.deskStill (kept by ClearApp from the reveal's progress: 0 or 1) and HomeScreen keeps the last item list while it is false, taking the new order once the viewer covers the desk or has gone. If the owner still sees a flash on the Files/Pdf collection cards (a route change, not a document), look at RouteHost next.

Next up

See PLAN.md "Office documents" and "Next". Immediate: when Artefact is in front on the phone, check on the phone (all built, none seen there yet; the phone dropped off adb): Word, slides and sheets (samples in Download: Artefact-Word-Sample.docx, Artefact-Slides-Sample.pptx, Artefact-Sheet-Sample.xlsx), the selection lens and glass menu, the photo editor (tap a note's picture), the desk flicker fix and the squircle Quick Preview. Then: slides present mode, sheet search UI, export to PDF for all three, editing.