Nacre/docs/FEATURES.md
2026-11-12 10:26:07 -06:00

125 lines
9.7 KiB
Markdown

# Feature checklist
Every item of the settings screenshot and of the original Nacre's `config.py`, where it lives, and its state.
"Partial" and "engine limit" items say why in the UI too.
## Browser basics
| Feature | Where | State |
|---|---|---|
| Tabs: open, close, reorder by drag, pin, mute, duplicate, move to new window, close others/right | `actions.rs`, `ui/chrome.rs` | verified S006 (basics.txt: open, close, pin, mute, duplicate, move left/right); not checked: drag, move to new window, close others/right |
| Reopen closed tabs, recently closed list | `store/session.rs`, `actions.rs` | verified S006 (basics.txt); recently closed list not checked |
| Windows, incognito (separate process, temporary profile) | `main.rs`, `paths.rs` | verified S006 (new/close window: basics.txt, keys.txt); incognito not run (second process) |
| Address bar: URL or search, suggestions (history, bookmarks, tabs, pages, engine), Alt+Enter new tab | `ui/chrome.rs`, `util::address_to_url` | verified S006 (URL, search: basics.txt; suggestions: chrome.txt); Alt+Enter not checked |
| Back/forward (with history list), reload, hard reload, home | `actions.rs` | verified S006 (back, forward, reload, hard reload, home: basics.txt, keys.txt); history list not checked; "stop" has no Servo API |
| Find in page (count, next/previous, match case) | `inject.rs` FIND_JS, `ui/dialogs.rs` | verified S006 (count, next, previous: basics.txt, keys.txt); match case not checked |
| Zoom per site, Ctrl+wheel | `actions.rs`, settings `web.zoom_sites` | verified S006 (in, out, reset: basics.txt, keys.txt); per site and Ctrl+wheel not checked |
| Full screen (F11 and page fullscreen) | `app.rs` | verified S006 (basics.txt: F11, page request, Escape leaves) |
| Context menu (links, images, media, selection, spelling, page) | `ui/menus.rs` | verified S006 (page menu: input.txt rclick); link/image/media/selection/spelling menus not checked |
| Page dialogs: alert/confirm/prompt, HTTP sign-in, select, colour, file picker, leave page | `ui/dialogs.rs`, `app.rs` | verified S006 (alert, confirm, prompt, select, colour: dialogs.txt); HTTP sign-in, file picker, leave page not checked |
| Pop-ups / target=_blank as tabs, pop-up permission | `app.rs on_create_new` | verified S006 (basics.txt) |
| Single instance (links go to the running browser) | `instance.rs` | verified S006 (basics.txt `launch`: second process hands its link over and exits) |
| Session restore, crash recovery offer | `app.rs`, `store/session.rs` | verified S006 (restore.txt); crash recovery offer not checked |
| Error pages (network, certificate, crash) | `assets/servo/*.html`, `resources.rs` | verified S006 (network error page: keys.txt); certificate and crash pages not checked |
| Developer tools: console + eval, network log, source; Firefox remote debugging | `ui/pages/devtools.rs` | verified S006 (opens for the page: keys.txt shot); console eval, network log not checked |
| View source, save page, save as PDF/PNG (no printing in Servo) | `actions.rs`, `pdf.rs` | verified S006 (view source, file:// fixed: keys.txt); save page / PDF / PNG need a native file dialog, not run |
| QR code for page | `ui/menus.rs` | verified S006 (keys.txt shot) |
| Task manager, free up memory | `ui/pages/misc.rs` | verified S006 (task manager opens: keys.txt); free memory not checked |
| Keyboard shortcuts, rebindable | `keys.rs`, settings | verified S006 (every action by `do` in basics.txt + keys.txt except save page, print, incognito, quit; key parsing unit test); rebinding not checked |
| Gamepads (W3C standard mapping), Web Bluetooth device picker | `app.rs poll_gamepads`, `ui/dialogs.rs` | not checked in S006 (no device in tests); rumble reports unsupported |
| Notifications (notify-send or in-app) | `app.rs` | not checked in S006 |
## General (screenshot)
| Setting | State |
|---|---|
| Setup (first-run wizard, rerun) | written (`ui/pages/misc.rs welcome`) |
| On startup: New tab / Restore / Home page | written |
| Home page | written |
| Search engine (+ custom engines, suggestions) | written |
| Profiles (list, add, delete, open) | written |
| Spell check (languages, dictionaries downloaded, suggestions, add word) | written (`spell.rs`, SPELL_JS) |
| Keyboard shortcuts | written |
| Import from another browser (Chromium/Firefox families; bookmarks file; passwords CSV) | written (`importer.rs`) |
| New tab shortcuts and page elements, backgrounds, weather, notes | written (`ui/pages/newtab.rs`) |
| Custom title bar | written (restart) |
| Floating content card | written |
## Appearance
Colour source (website/system/palette/custom), fallback, palette swatches, mode, scheme style and contrast, motion,
roundness, websites light/dark, force dark, interface size: written (`theme.rs`, settings page). The Material You look
itself is for the UI pass.
## Toolbar
Navigation / Your Nacre / Tools and actions buttons toggles, bookmarks bar always/new tab/never, bookmark manager:
written.
## Performance
| Setting | State |
|---|---|
| Memory (use, threads, free up) | written (Linux numbers) |
| Low-memory mode auto/on/off | written |
| Energy saver off/battery/always | written |
| Memory saver (unload after) | written |
| Freeze background tabs | partial: stops drawing; Servo can't pause scripts |
| Always keep these sites active | written |
| Load restored tabs when opened | written |
| Preload pages | written (DNS warm-up) |
| Smooth scrolling | written (CSS) |
| Still new tab background | written |
| Save data | partial: JS hint, no request header |
| Hardware acceleration | written (software GL, restart) |
## Privacy
| Setting | State |
|---|---|
| VPN: Tor (system, Tor Browser, or started) or custom SOCKS5/HTTP, kill switch while connecting | written (`net/bridge.rs`, `net/tor.rs`); S007 verified the bridge with the VPN off (net-privacy.txt: route Direct, every connection through it, traffic counted live); Tor and proxies never run in tests (user rule), kill switch not checked |
| Privacy mode (+ in incognito) | written (PRIVACY_JS) |
| Secure DNS (Cloudflare, Quad9, Google, Mullvad, AdGuard, custom) | verified S007 with a custom endpoint on a local stub (net-privacy.txt: names only the stub knows load); the public providers not contacted in tests |
| HTTPS-only mode with fallback prompt and exceptions | verified S007 (net-privacy.txt: upgrade via the `location.replace()` page, certificate warning "Open anyway" (fixed: servo-net patch), fallback prompt + Open anyway, site stays http this session, local addresses never upgraded); "Always for this site" not tapped |
| Site settings (defaults and per-site) | written |
| Delete browsing data (+ on exit) | written |
| Send Do Not Track and GPC | partial: JS only (no headers in Servo 0.7) |
| Remove tracking parameters | verified S007 (net-privacy.txt: utm_*/fbclid removed, other parameters kept, off keeps all) |
| Block third-party cookies | engine limit, shown as unavailable |
| Google sign-in quirk | written (UA switch + JS) |
| Sites where ad blocking is paused | written |
| Remote debugging, user agent | written |
## Ad blocker
Block ads and trackers, filter engine status + update now, 22 filter lists in groups, your lists, own rules, hide
leftovers (cosmetic incl. generic hiding), animate removal, block YouTube ads, update automatically: written
(`adblock.rs`, `hub.rs`, COSMETIC_JS). Seed lists ship in `assets/filters`.
Verified S007 (net-adblock.txt, offline): seed lists build without network (210k rules); a custom list URL
(local) blocks a script and an image and hides elements by a site and a generic cosmetic rule; pausing for a site
lets everything through; a list that can't be downloaded is reported and the rules stay; per-page blocked count
(fixed: it was reset after the page's first requests were counted). Not checked: the 22 real lists' downloads,
YouTube ad blocking, own rules, removal animation, automatic updates.
## Downloads
Save to, ask where, show when they start, pause/resume (Range), retry, cancel, open/show in folder, external download
managers (AB Download Manager, aria2/Motrix, JDownloader 2, FDM, IDM) with ping status and fallback: written
(`net/download.rs`, `net/dlm.rs`). Downloads are detected by URL type, a header probe, and `<a download>`.
Verified S007 (net-downloads.txt, offline): by file type and by Content-Disposition from links and typed addresses
(fixed: typed addresses skipped detection), save-to folder, pause/resume with Range (file intact), cancel, size of
small files (fixed: showed 0 B), aria2/ABDM/JDownloader stubs and a dummy FDM get the link, fallback to Nacre's
downloader when the manager is down. Not checked: ask where (file dialog), retry, open/show in folder, `<a download>`,
IDM (Windows), a file at an address with no hint (no extension, no "download"-like path), which isn't probed.
## Media
Media button (when playing/always/never), player flyout (art, seek, controls, mute tab/site, PiP), visualizer
(cava / simulated / off), spin artwork, Discord Rich Presence (arRPC/Discord, per-site app IDs, browsing activity,
buttons, paused state): written. Picture in picture (own always-on-top window; reloads the page in a web view
of its own and seeks the video, page state lost, D-008): verified on Xvfb (S005). Protected content (Widevine): engine
limit, shown as unavailable.
## Passwords and autofill
Encrypted vault (device key or master password, auto-lock, re-ask before showing), save prompt, autofill, strong
password suggestion, addresses and cards, CSV import/export, generator, weak/reused check: written
(`store/vault.rs`, AUTOFILL_JS, `ui/pages/passwords.rs`).
## Apps
Install site as app (own window, launcher entry), desktop shortcut, user scripts and styles (stand-in for extensions):
written.
## About
Version, engine, colour, profile paths, update repository, automatic and manual update check: written
(`updates.rs`).