Repository navigation
OnDemand for X 0.9.8
Pre-release
Pre-release
Pre-release, published so that it can be tested on real devices. How to help: docs/BETA-TESTING.md in the repository.
Added
- Themes. A new Theme setting in the settings sheet, with seven built-in looks:
default(unchanged),calm,midnight,sand,neon,paperandhourglass. A theme changes only the extension's own interface (the chip, the "Batch finished" panel, the settings sheet): colours (following X's light, dim and dark where the theme says so), corner shapes, shadows, a background pattern, one animated scene (an hourglass that turns over and runs, a small creature whose eyes follow the pointer, confetti) and how the panel appears. A theme only paints: it cannot move or resize anything, load anything or run code; "reduce motion" switches all motion off; an unknown or failing theme shows the default look. The format and its readability rules are in docs/THEMES.md. The picker works with the arrow keys. The new texts are in all 14 languages. - Your own themes. Under the theme picker there are now Customize, Import and Export. The editor starts from any theme and has the name, the mode, the seven colours (colour picker and
#hexfield), the corners, the shadow, the pattern, the scene and how the panel appears, with a live preview of the "Batch finished" panel and a list of what is hard to read; a theme that is hard to read cannot be saved. Import takes pasted text or a.jsonfile (at most 16,000 characters), checks it with the same checker as the built-in themes and refuses it with the reason; export copies the code or saves it as a file, and the code imports again as a theme that looks the same. Up to 12 own themes, kept on the device in the extension storage under their own key and shown in other open tabs at once; if the browser has no room, nothing changes and the person is told. The new texts are in all 14 languages. The format, the editor and the limits are in docs/THEMES.md; PRIVACY.md lists what is stored. - Eleven browser tests and six logic tests for them: every refusal of an import, export and import again, the editor (fields, live preview, readability, save, save as new, delete, cancel), the limit of 12, a full storage, other tabs, damaged and hostile stored lists, slow storage, hostile codes (no request leaves the page and nothing is created), 320 px phones in every language, left to right and right to left, the keyboard focus never hidden behind the sticky bar, and the packaged build under the strict page policy with the real extension storage.
- Eighteen automated tests for the themes: the checker (bad colours, markup, unreadable text, invisible and direction-changing characters, odd keys, input that answers differently each time it is read, input that is too big), that the default theme changes nothing, the colours of every theme in X's light, dim and dark (the red of the chip's warning included), that no theme moves the chip, the button or the panel's edges, the room under the last post, X's own dialogs, the picker and its keys, damaged saved values, motion and "reduce motion", the drawn shapes, the pointer, right-to-left, missing files, and 320 px phones in every language. The packaged builds are now also tested on a page that allows only styles with its own nonce.
- A project website in English and Arabic (
index.htmlandar/), served by GitHub Pages: a working miniature timeline you can try, the install steps, what has and has not been tested, and a short FAQ. It loads nothing from other sites.
Changed
- The privacy policy, the website and the store texts now say what is stored: three settings (on or off, language, theme) and the themes you make or import yourself. No new permission: still only
storage, plus access to x.com and twitter.com. - The room kept free under the last post follows the real height of the "Batch finished" panel: still 300 px, more only when the panel is taller (a long translation on a very narrow screen, or a theme that adds an hourglass or a creature).
- New icon: three horizontal bars (the feed) and a small hourglass (the next batch waits for you) on a dark tile. The 16, 32 and 48 px versions are drawn pixel by pixel and the corners are transparent. The store logo, the two promotional tiles and the GitHub social preview were redrawn with it.
- The made-up posts in the screenshots, the animations and the website demo are new and English only (no real accounts or posts). Those images were regenerated.
Fixed
- Saved settings that arrive late are shown. If the browser answered the request for the saved settings (language, on/off, theme) only after the interface had been drawn, for example on a busy device, the interface kept showing the defaults until the next change. It now redraws as soon as the answer comes. A test with deliberately slow storage covers it.
The SHA-256 of every file is in SHA256SUMS.txt.