Repository navigation
Releases
Fieldia 0.36.1
A page or a record the app cannot give no longer fails unhandled. A link's
page that could not come — a network's failure, or the page left while it
came — left a promise rejection unhandled as the link was drawn, and pressing
its Open did nothing visible while it failed unhandled again: in an Angular app
both reach NgZone.onError. Now each is handled where it is asked, and the
person is told why. With them, the findings of the owner's walk of 0.36: a
strict Content-Security-Policy on an iPhone, a line card's ↑ that threw the
page to its top, a brace the survey designer refused in a path's words, and
how-to replays that counted on a calendar day.
Fixes:
- A page or a record the app cannot give is said, never left unhandled. A
link asks the app for its record's page as it is drawn, to know it opens; a
page that cannot come no longer leaves its failure unhandled, and the link is
drawn with its Open. Pressed, Open says "Couldn’t open record Nile Traders:
part of this page could not load" — a new record, its name typed, by that
name; one with none, "This form could not be loaded." — opens nothing, and
asks again at the next press. So do a tag's Open, a linked record opened from
a table's line, a related list's rows and New, and every widget that opens a
record in a dialog. A related list that opens its records the app's own way
(open: "app") asks the app all the same, with the model's name for the
page. The pager's next record, which the app could not give, is said in the
app's words, the record shown staying, and Next asks again. A page the app
answers with later — as a zone's promise or as the browser's own — is known
by itsthen, so a saved form placed in another, and a related list's words
for its records, come in an Angular app whatever kind of promise its pages
give. A linked record whose page the viewer refuses opens a box with the
page's words, which × and Escape close; it stayed open for good, nothing
closing it, while its Open failed unhandled. - Nothing is refused under a strict Content-Security-Policy that Fieldia
writes. A sheet over the page — a phone's country list, a list's Filters
and Import, a scanner's sheet — wears the form's tokens and accent through
its style object; a style attribute copied from the form was refused, and the
sheet lost them. A formatted text's table keeps its cells' alignment as its
header row is turned off and on, and as any table edit puts it back, with
nothing refused. WebKit refuses the style inside each<select>it draws on
any page under such a policy, with Fieldia or without: the strict-policy
demo's note now says that apart, and the browser gate tells it by its words
and fails on every other refusal, at a desktop's size and a phone's. - A card moved by a tap stays where the eye is. On an iPhone, a line card's
↑ or ↓ threw the page to its top, the card 2,400 pixels below the screen; the
page now goes with the card, and the focus stays on its button, in every
engine. A repeating group's cards, a ranking's choices and a photo made the
cover move the same way. - A day's limits count from the form's clock. A date box's calendar, a
month's or a year's, faded and refused days by the computer's own today
where the app gave the form a clock of its own (now); a link's day filling
a field (prefill) was held to the computer's today too. Both now read the
form's, as its own check always did. - The survey designer says a brace that names no field in its words. Words
typed with{customer}where no field is called so were refused with
fields.name.label: no field "customer", Checks said "All clear" at the same
time, and Try it showed the words that last passed, half typed. Now: "Your
name’s words name {customer}, which is no field", with Show the braces as
written, which keeps the words with the braces as words (\{customer});
Checks lists it until it is put right; Try it says it shows the page as it
was before the change, and why. - A part's notice over the page no longer contradicts its own Retry. A
payment step or a code check that could not come says so where it is sent or
typed in, with its Retry; the page no longer says "Part of this page could not
load, so it is shown plainly. Reload the page and try again." over it too. - A recording under half a second is nothing recorded, as one stopped before
the recorder began; and the words say the time its clock says: Firefox kept
a recording of 0.05 s and called it "Recorded 0:01". - A recording still being finished is asked about before it goes. After
Stop the recorder takes a moment to finish the file (a WebM's length written
into it); Escape, × or Cancel then saw nothing to lose and closed, and the
recording was lost — in Firefox, which records WebM, a long moment under
load. It counts as a recording to lose now: "Discard this recording?" asks. - Smaller ones: a phone's filter sheet counts nothing while a range is
refused ("Show results", not the count for the half of it that was
accepted); the arrow keys reach a tree's "Show 20 more" and go on past it; the
designer's "In a new tab" box no longer covers its first letter with its
focus ring; the embed demo opened alone names its unit, B-12, as the
gallery's link does. - The promises page starts in plain words — what you can count on, what
your server must still do, which browsers are checked and how — says its
how-to runs are automated runs that act as a person would, is linked from the
home page, Features and every page's footer, and reads row by row on a phone. - The how-to replays that count from today read the page's day: the time-off
request's end, a quote's "Needed by", a listing's handover 18 months on (on
the 31st, the month's last day, asaddMonthscounts), the showroom's week on
a Saturday, a free day at a month's end, tomorrow in the next year. They are
run on three other days too: a Saturday that ends a month, a year's last
evening and February's last day.
Behaviour you may notice in an app's own tests:
- No stray rejection after a link's page that cannot come, drawn or opened, nor
after the pager's next record the app could not give: an Angular spec that
recorded one records none. The dialogs'openRecordresolves null where the
page cannot come, as where the app has none, and says why; where the viewer
refuses the page, once its box is closed.openFormDialogresolves, not
saved, for a page the viewer refuses, where it threw. - A page the app gives later as a promise of another kind than the global
Promise(in a zone, the browser's own) is waited for as a page, where 0.36.0
took it for one. - In a strict Content-Security-Policy, a sheet over the page carries the form's
tokens on its style object rather than as a copiedstyleattribute; its
styleattribute reads the same. - After a line card's ↑ or ↓, a repeating card's, a ranking's or a photo made
the cover, the page is scrolled by as much as the card moved (in Chromium it
stayed still before), and the button is focused without a scroll of its own. - A date box's calendar fades the days by the form's
nowwhere the app gives
one; a link's day filling a field is accepted or left out by it. - The designer: a refused edit's words for a brace naming no field are the
designer's ("Your name’s words name {customer}, which is no field") in its
six languages;designer.checks()lists the refusal first while it stands,
its fix's action{ kind: "braces" }; Try it shows a note over the page as
it was. The new words in Arabic, Persian, Urdu, Turkish and Spanish are
machine-assisted, not yet reviewed by a native speaker. - The page's notice of a part that could not come is not drawn for a code
check or a payment step that says so at its send. - A recording stopped within half a second of its start is not kept; "Recorded
{time}" says the time as the clock beside it does (0.36.0 said at least 0:01).
Escape, × or Cancel right after Stop, while the file is being finished, asks
"Discard this recording?" where 0.36.0 closed the recorder. - A phone's filter sheet's Show says "Show results" while a range is refused.
- A tree's Show more is reached by the arrow keys; a doc's table on fieldia.dev
is drawn row by row under 640 pixels.
Size: fieldia.js 588.2 KB, 197.3 gzipped (0.36.0: 587.5, 197.0): a link's
page that cannot come handled where it is asked +0.05 KB; every page or record
the app cannot give said, never unhandled, +0.32; a part said at its send never
said over the page +0.03; a refused page's box that closes +0.24 — +0.24
gzipped in all. Nine parts grow by 0.1 KB or less (filters, import, scan,
lines, photos, survey, list, rows, prefill).
The whole history: CHANGELOG.md.
Fieldia 0.36.0
Stability adopters can plan on. Fieldia now writes down what it promises
and holds each promise to a gate that fails the build when it stops being true
(What Fieldia promises, on the site at /promises/): what
it guarantees in the browser and what an app's server must still do; what never
changes without a minor and a deprecation a minor before (a release train: a
patch holds fixes alone, a minor every 2–4 weeks, a deprecation warned of once
in the console); the browsers it runs in and which of them CI tests; the sizes
and timings each release is held to. Every demo's how-to is replayed by hand —
the mouse and keys in Chromium, a finger on an iPhone's screen in WebKit — each
step's result checked; each part the one-tag script loads is failed in turn,
and the page must still draw and say so; the key screens are compared with
stored images in a pinned container; and a test that fails then passes on a
re-run is logged as a flake, never retried away. A page that drew in 0.35 still
draws: what only the new whole check finds is said once in the console and to
onError, and refused from 0.37 (page.invalid). Beside these, 0.35's speed
leftovers — a key repaints only its section, a long list scrolled on a phone
restyles only the rows it brings, an endless list asked again asks first for
the rows near its view — and a plain save of an unchanged record sends nothing.
The page format stays 0.13: no merge changed its shape (the shapes recorded for
each format were hashed again by the fixed shapeOf, each to one new value).
New:
- What Fieldia promises: the security model (what Fieldia
guarantees in the browser, what the app's server must still do), stability
(the release train and its deprecations), performance (0.35's measured
numbers and the budgets that fail the build, phone included) and the browsers
CI runs. Every claim names its gate or says it has none;tools/promises.mjs
holds the page to the code — every file, quoted test and number.SECURITY.md
gains the security model. - A release train and a deprecation path:
DEPRECATIONSand
deprecated(id, words, changesIn)in@fieldia/core(said once in a page's
console, linked to fieldia.dev/promises/#deprecations);
docs/maintainers/release-train.md; from
0.37 the release check refuses a minor whose Upgrading items change what was
not deprecated a minor before, or that comes sooner than 14 days after the one
before. - One check, and the whole check after the draw: every viewer runs
checkPagebefore it draws (what 0.35's viewer refused), and once the page is
drawn and the browser idle it fetches and runs the whole check
(checkPageWhole:validatePage's verdict without zod, infieldia.check.js
or a chunk of its own). What only the whole check finds is said once in the
console and toonErroras{ stage: 'check', part: 'page', warning: true },
the error carrying itsissues. New exports:checkPageWhole,
pageCheckPart,pageInvalid,referenceIssues,PageInvalid, and
showRefusedandPageRefusedin@fieldia/viewer. - New checks in
validatePageand the whole check: a field's least is not
more than its most; a first value is of its field's kind, inside its bounds
and its options; each option value and each list column once. A required field
that no part shows is a warning. - A page stamped with the lowest format it needs:
stampPageand
lowestFormatin@fieldia/core/schema; the designer publishes stamped
pages, which every Fieldia that knows their settings reads (a page that uses
nothing new reads in 0.30's viewer).DEFAULT_CHANGESlists the four defaults
that changed between formats, each with the setting that keeps the old way. page.schema.jsondescribes every setting (1,982 of them), from the types'
own docs.- A guide for AI agents writing pages (fieldia.dev/agents/):
what a page is, how to check one, the mistakes the checks catch and what a
0.36 viewer does with each, a worked example. - Every demo's how-to replayed by hand (
e2e/how-to.spec.ts, made from the
catalogue: 135 demos, 611 steps): in Chromium, and on a phone in WebKit with a
finger (how-to-phone, its own CI job in two shards). - Each part failing in turn (
e2e/part-failures.spec.ts): every part the
one-tag script can ask for — read from the builtfieldia.js— refused by the
network and changed after it was built, in three engines: the page drawn,
said, the typing kept, a send it guards refused. The whole check's part is the
one that says nothing when it fails: in 0.36 it only warns. - Key screens compared (
e2e/screens.spec.ts): 8 screens — light, dark, the
three looks, a phone, right to left, a list, a survey — against stored images,
in Playwright's container pinned by digest, CI'sscreensjob; how to store
them again: docs/maintainers/screens.md. - A flake log in every CI browser job (
tools/flake-log.mjs):retries: 0
stays; what failed is run once more on the same commit, and what passes then
is said in the job's summary and kept as an artifact. - A real-device checklist (docs/maintainers/real-devices.md): ten screens a
person checks on a real iPhone and a real Android phone, and a record. - On a phone, the lines of a table drawn as cards have ↑ and ↓ to move a line;
a map's legend folds. tools/style-siblings.mjsin CI: no stylesheet's sibling rule (+,~) may
name nothing on its left.- CI's
angular-newestjob builds and runs the Angular bindings and the Angular
demos on Angular's newest major (22), fromtools/angular-newest's own install,
while the workspace builds them with the oldest it supports (21). - A one-line text box can keep its ends as typed:
"options": { "trim": false }
on its node (Odoo'strim=False), for words whose ends matter — a template's
"New: ". In the designer, a short answer's "Keep the spaces at its ends".
Fixes:
- A plain save of a record with nothing changed since its last answer sends
nothing (0.34–0.35.2 sent it again, moving its version, and another
person's tab saw a change that was none). Ctrl+Enter, the Save button and
form.save()with no button or action save such a record as it is, at once;
a button's press, a step's save or an action's goes to the source as ever (a
wizard's Create). 0.35.2's join stays: a plain save asked again while one is on
its way joins it by what its values hold. - On paper, an endless list holding fewer rows than it has says which it
holds: "Rows 151–450 of 5,000 — scroll through the list to load the rest
before printing", and, where the page gives the list its own Print, that its
Print prints them all. Asked again (a press, Undo, a record closed, Back), an
endless list now holds only the rows near its view; paper never passes for
the whole list. The list's own Print asks its source for every row, as before. - A key repaints the section it is in, not the page (each section a paint
layer of its own). At 500 fields, a key's paint 4.0 → 1.4 ms on a desktop and
34.6 → 6.0 ms on a phone, a key on a phone 40 → 20 ms. Every popup, menu, date
picker, dialog, toast and tooltip opened in a section still shows whole over
the next, in three engines. - Picking a field in the screen editor lays nothing out in its click; the cursor
goes into the clicked words as the frame is drawn, and a key pressed sooner
still lands in them. - A long list scrolled fast restyles only the rows it brings: 1,487 → about 311
elements a step; a phone's frames over 50 ms 39 → about 18. - An endless list holding more rows than it draws, asked again, asks first for
the pages around its view, and the rest as the view, ↑ or Select all reach
them: about 300 rows, not 5,000. - A part that never came is said, never an empty box: a field keeps its plain
box with "Part of this field could not load, so it is shown plainly." and
Retry; the page says once that part of it could not load; Undo and printing
say so as they are asked for; a<fieldia-form>whose part never came says
its form could not be loaded, with Retry. 46 of 53 parts failed silently in
0.35. - What an app rule, a step, the app or an
onchangeanswer makes of the box
being typed in lands when the box is left ("20" no longer becomes "1.002"),
in a repeat field too — that box's leaving, not another's said late as a
press's click ends: an emptied Quantity stays empty under the keys, not the
rule's 1.00. - A list's open groups stay open as it is drawn again; a pin a finger taps
lights its row without scrolling the list; why a locked row is locked goes
once a press is over, so nothing moves under it. - Maps: drawing selects no text; a bubble pressed zooms one step closer; the
legend folds on a phone; the drawing hint lets taps through, in a finger's
words; "1 point"; a zoom key pressed mid-zoom is kept; a card fits a phone's
map. - Redo inside a box after the box's own undo; the scanner's fallback box selects
the text it keeps; a picture's preview address is kept until it has loaded;
the screen reader's alert lets a refusal go once it is put right; a wait's
words stay said until the last wait ends. - The outbox, and the chatter, try again on their own tries and as the page
comes back into view, not only on the browser'sonline(WebKit may never
say it). - A tile can be dragged out of the designer's toolbox sheet.
- A voice note or a film recorded on the page is never an empty file. Chrome's
recorder (MP4, from Chrome 156) can begin a second and more after Start is
pressed; the recorder's clock ran from the press, so a Stop within that time
kept an empty file no player could read, and every recording lost its first
moments. The clock now runs from when the browser's record...
Fieldia 0.35.3
A field named like a setting keeps its words' handling. A field called
values, default, data or filter had its label and help taken for data:
literalPage left them as written, so a help that quotes a brace was refused,
and a translator never saw them. Flowyard 0.24.0's Files › Fill a template,
whose setting is values, could not open its settings; renaming it would break
the flows already stored. Reported by NexiBI and Flowyard, with two smaller
defects, fixed here too.
Fixes:
- A name is a name, whatever it is called. A key of a map whose keys are
names is never read as a setting: the fields of a page, of a table's lines,
of a link's table and of a list; a list's cells and filter ranges; the steps
run as a field changes or shows (on.change,on.show); what a link's new
record and a new line start with (createValues,lineDefaults); a kind's
looks, a dot's colours and what a scan fills. A field namedvalues,
default,data,filter,options,map,labelor anything else keeps
its words:literalPagewrites them to show as written (the page check then
accepts the help that quotes{{ customer }}: 0.35.2 said
fields.values.help: no field "customer"), andtranslatePage,
localizePage,pageWords— the designer's translations table and its CSV —
and what the viewer draws all read them, as they read any field's. Only a
setting's key in a setting's place is read as a setting. Every map of the
format is known to the one walk of a page's words, checked against the
format's JSON Schema, so one added later cannot be missed. - A choice from the app's list that writes no
optionsis drawn. A
selection withoptionsFromand nooptionspassed the viewer's check, then
the viewer threw as it drew it; 0.13 drew it. A choice that writes no options
now has none to start with, and the app's list fills them. It is read so at
the page's door,upgradePage, which the viewer,createForm,checkPage,
validatePage, the designer and a server's first paint all read a page
through: whatever the choice's widget, on the page, on a table's line, in a
list's column. A choice with neither options nor a list is still refused. - An upload that fails at once leaves no promise rejection unhandled. In an
Angular app an upload the app's source refused at once reached
NgZone.onError, its ErrorHandler logged an error and its specs could fail;
a refusal that came later did not. Every answer of the app's data source —
each of its members, not onlyupload— is now handled where it is made: a
promise that is not the browser's own (a zone's) is taken into one of the
browser's own at once, before anything awaits it. The field says "Not
uploaded" with its Retry, as it did. A list's map on a page of its own
(mountListMap) reads its source's answers the same way. - The README says that building an app with npm's
engine-strictneeds Node 24:
@zxing/library, the code reader behind the scanner, asks fornode >= 24
(0.22 and 0.23 both). The packages run in the browser, in every browser
Fieldia supports.
Behaviour you may notice in an app's own tests:
- No stray rejection after a failed upload, or after any request of the data
source refused at once, in an Angular zone: a spec that recorded one
(uncaughtWhile) records none. validatePageandupgradePagehand back a choice from the app's list that
writes nooptionswithoptions: []written in (a copy: the page given is
never changed), andvalidatePageaccepts it where it said "expected array".
A page whose every choice writes its options is handed back as the very
object, as before. The page's JSON Schema is the same (format 0.13).pageWordsandtranslatePagegive a translator a field's, a line's or a
list's words where its name is a setting's, and no longer give it a link's
createValuesor a line'slineDefaultskeyed by a name liketitle: those
are expressions, andliteralPageleaves them as written.- An answer of the data source that is not the browser's own promise (a zone's,
another window's) reaches Fieldia a microtask later than in 0.35.2; one that
is the browser's own, as before. Every member ofwithDeadlines(source)hands
Fieldia the browser's own promise.
Size: fieldia.js 579.1 KB, 193.9 gzipped (0.35.2: 578.3, 193.6): a key of
a map by name read as a name +0.21 KB, +0.04 gzipped; a choice's options left
out read as none at the page's door +0.37, +0.15; every answer of the source
handled where it is made +0.17, +0.09. Every part is as it was.
The whole history: CHANGELOG.md.
Fieldia 0.35.2
A page's words can quote a brace. Since 0.27 a {name} in any of a page's
words shows that field's value, and the page check refuses a name that is no
field. Words that quote braces — a step studio's help, "{list} is a setting in
words", a template's {{customer}} — could not be written. Now a backslash
before a brace keeps it as written, everywhere a page's words are shown, through
one reader.
Fixes:
- A page's words can show a literal
{name}: write\{name}(in JSON,
"\\{name}").\{method:value}shows "{method:value}",\{\{customer}}
shows "{{customer}}", and the page check refuses none of them. A run of
backslashes before a brace shows half of them, and an odd run leaves the
brace as written:\\{name}is a backslash, then the value. A backslash
anywhere else is as written, and words with no backslash before a brace read
as they did in 0.35.1. One reader reads every word a page shows, value or
none: a label and its help, a box's placeholder, a choice, a page's, a
section's and a tab's title, a counter, a ribbon, a badge, an alert, a button,
its menu and its question, a toast, an ending, a quiz's feedback, a review, a
payment, the page on paper, a list, its filters and its cards, a related list,
a map, the designer's previews. A page's translations find their words as
written. literalWords(text)writes any text so that every reader shows it exactly
as it is, with no value and nothing for the page check to refuse: each brace
escaped, each run of backslashes before one doubled. An app that puts words it
did not write into a page calls it at one place. It is onwindow.Fieldiatoo.
literalPage(page)writes every word a person reads in a page so — the
wordstranslatePagegoes through, and the page's translations — and leaves
names, ids, choice values, conditions, addresses and data as they are.- Fieldia's sentences that name a page's records ("12 customers selected") fill
in their numbers and the page's words for its records in one pass: a brace in
those words is kept. 0.35.1 dropped any{word}from them. - A quiz question's
feedbackand a picture'saltin a pins widget's settings
are wordstranslatePageandpageWordsgo through, translated with the rest. - Ctrl+Enter pressed twice while a save is on its way is one save, even
when anonchangeanswer that changed nothing lands between the presses.
0.34–0.35.1 took that answer for a change and sent a second save once the
first answered, moving the record's version. A save a page's own moment asks
for (anafterSavestep saving again) goes as before. - Dependencies, patch releases only: zod 4.6.7, and the code editor's
@codemirror/language6.13.1,@codemirror/legacy-modes6.5.5 and
@codemirror/view6.43.14.
Behaviour you may notice in an app's own tests:
- A backslash already right before a brace now escapes it:
C:\files\{name}
shows "C:\files{name}". WriteC:\files\\{name}for a backslash, then the
value. No example page or template has one. - A widget is given its field and its part (
context.field,context.node)
with their words read: where a word escapes a brace, a copy with the brace in
its place; otherwise the very objects, as before. An app's own widget too. - A
saystep's and anaskstep's words, a press's question (confirm) and
its Yes reach the host'ssayandaskread: an escaped brace a brace. WidgetDialogs.editValuesis given itstitleas a person reads it, and its
fields and layout as the page writes them.recordSentencetakes a sentence's own values as a fifth argument and fills
them in the same pass as the page's words for its records.- New in
@fieldia/core:literalWords,literalPage, and the reader's parts
the packages draw with —plainWords,plainPart,wordsRead,writtenPart,
READ_WORDS.
Size: fieldia.js 578.3 KB, 193.6 gzipped (0.35.1: 576.6, 192.9): the one
reader, and every word read once where it is drawn, +1.6 KB, +0.62 gzipped; a
save on its way joined by what its values hold +0.09, +0.07. Of
the parts, raw: answers 4.41 (4.35), head 42.42 (42.35), import 38.94 (38.89),
pay 7.83 (7.80), print 16.52 (16.49), evidence 9.21 (9.18); the rest within
0.05 KB.
The whole history: CHANGELOG.md.
Fieldia 0.35.1
The owner's walk of 0.35.0. A business owner walked fieldia.dev's 0.35
demos as a customer would, on a desktop, a phone and a slow network. What was
slow, could not be undone or said nothing is fixed here, at its cause, for
every page it could happen on. The page format stays 0.13: nothing a page says
changes.
Fixes:
- A key in a 200-line invoice costs what one in 3 lines does. A key in
the header or in a line took 146–185 ms on a desktop and 0.66–0.92 s on a
slower phone; it now takes 27–29 ms and 67–115 ms. A line's rules, checks
and waits are worked out again only for the line that changed. An onchange's
answer keeps the lines it did not change. A line's phone card is drawn again
only when its line changed. The styles no longer re-match the whole form at
every key with:has(): Fieldia marks the elements itself. - A payment step or code check that could not load: Retry works, and Reload
keeps the typing. Retry asks for the part's file again where the browser
names it, with the integrity the page gave it. A code check's missing part
is said at once under the mobile, with its Retry. Where the browser names no
file, the words ask for a reload: what was typed is kept in the tab and
offered back after it — never a password box's value or a field marked
secret, as drafts keep none. - The designer's "Open a web address" takes an address typed as it is
(https://…). An address it may not open is refused in plain words — "Only
a web, mail or phone address, or a page of this site, can open here" — and
what was typed is kept. - A list's row pointed at whose record has no place on the map lights the
note that says so, beside the map. - Back to a long list finds it where it was left. Open an entry far down
a list, press Back, and the list has the rows it had loaded, the same row at
the same height, and the keyboard on the entry that was opened. This holds
for every list that opens its rows on a page of their own. A list opened anew
starts at its top. - A link in formatted text refused for its address (
javascript:, say) says
why under its box. - A save that failed in the source's own words is said as not done: "Not
saved. The server did not answer this once." - A record that could not be opened from a list is named by its row: "Couldn't
open customer Horus Foods", not "customer 32".form.openRecord(id, name)
andonOpenRecord(id, name)carry the name. - A list's map whose code is still coming holds its place with one block the
size of the map. 0.35 drew a bar across its top, then the block. - A person search that fails, said in a toast, closes its empty list. 0.35
left an empty dropdown frame open over the form. - A table of lines' analytic column starts narrower, so a draft invoice's
last column ("Tax excl.") shows whole at 1440 px. - A record's draft offer speaks of changes: "You have unsaved changes from …".
A form's still speaks of answers. The new word is in all 8 languages. - A file named as a picture that is not one says so: "This file is not a
picture, though its name says so: it is not shown". - The Gantt's Days view shows a link a drag broke, as the Weeks view did.
- A rating's five stars stay on one line in a column a third of a form wide.
- "Saved, but not all your changes." is said only when a save left a change
out. 0.35 also said it after Reset to Draft's save once the person typed. - The demos: a contact's Email is checked as an email; an activity log's entry
reads as words; the embed page about unit B-12 fills its Unit; the long
intake offers its answers back after a reload; a demo's place holds a quiet
shape while its own script comes.
Behaviour you may notice in an app's own tests:
- A save the source refused with its own message starts "Not saved. " (or
"Not sent. "), in the status and in what is announced. Fieldia's own
sentences that already say so are left as they are. - After a save, typing again clears "Saved" from the status line. It no longer
turns into "Saved, but not all your changes." - On a record's page the draft offer reads "You have unsaved changes from …".
The new label isdraftFoundRecord. An app's owndraftFound, given without
it, is still used on a record's page. - A list that opens a row on a page of its own keeps its place in that page's
history.state, underfieldia:lists, merged beside what the app or its
router keeps there (written in place, never a new entry). Back, a reload or a
router's popstate opens the list there, asking the source for as many rows
as it had loaded. onOpenRecordis called with the row's name as its second argument.- In an app bundled as modules, a part that could not come is offered again
where the browser's error names its module (Chromium, Firefox): Retry, or the
signature's Try again ("Not signed yet: the signing could not load. Try
again"), asks for its file at?fd-again=1(2, …). Before, the words asked
for a reload. WebKit names no module, so it still asks for a reload. - With
draftsoff, a page whose guarding part could not come keeps what was
typed in the tab's sessionStorage (fieldia:draft:…) until it is sent, so
the reload its words ask for brings it back. It is kept by drafts' own rule:
never a password box's value or a field markedsecret, and let go once the
answers are sent. - A code check's missing part is said under each field that asks for a code
(.fd-error.fd-join-missing) as soon as the part could not come, not first
on Send. - A search that fails with its words in a toast closes its list
(aria-expanded="false"). - Fieldia sets three attributes of its own:
data-fd-openon a field whose
list is open during a wait,data-lock-shownon a head's lock, and
data-fd-printingon a table of lines while it prints. - An onchange's answer that returns a line equal to the one held keeps the
held line object.
Size: fieldia.js 576.6 KB, 192.9 gzipped (0.35.0: 568.4, 189.8): a key in
a long table +1.44 KB gzipped, a guarding part's Retry and the typing kept
+1.23, a save's, a draft's and an open's words +0.48. Of the parts, gzipped:
- list 50.50 (49.88): Back finds a list where it was left;
- text 24.64 (24.58): a refused link's address said why; files 18.90 (18.82):
a file named as a picture that is none said so; relations 8.01 (7.99): a
failed search closes its empty list; - the language add-ons 0.04–0.07 more each: a record's draft and a file that
is no picture in their words; @fieldia/mapwith a list's map and a form's 13,630 bytes (13,584), a list's
map 22,342 (22,174): one block the size of the map while its code comes, a
placeless row's note lit.
The whole history: CHANGELOG.md.
Fieldia 0.35.0
Fast at scale: long lists, big forms, tables of lines, the Gantt, smaller
npm apps — and the tick-box tokens hosts asked for. A key typed works out
only what reads the field: on a page of 500 fields it brings 16 of its parts up
to date, not every one, in 3.9–6.9 ms on a desktop. Past 100 rows a list keeps
only the rows near the view in the page, so 5,000 rows hold some 1,600 DOM
nodes and a tick, a Tab or a fold costs what it did at 100. A table of 200
lines draws again only the lines a change touches; a Gantt of 500 tasks moves a
bar and changes its scale in place; the designer copies only what an edit
writes. An app built from the npm packages fetches a fifth less before its
first paint — every language but the page's, zod and the map's code come as
they are needed. Each of these is held to the plain way it replaces by a test
that compares the two on generated pages, and CI's new perf job counts the work
(parts brought up to date, rows and elements in the page, cells written,
bytes) against budgets that fail the build. The page format stays 0.13: no
merge changed its shape.
New:
- Tick-box tokens for a design system's box: the tick, the dot and the dash
scale with--fd-tick-size(the same as before at the default 18 px), a new
--fd-tick-radiussets the box's corner, and the press target stays 24 px at
the least at any size. The viewer'stokenstakestick-size,tick-line,
tick-edgeandtick-radius; the site documents all four with a "match your
design system's box" example (14 px, a 1.5 px line, an ink edge, 3 px corners). @fieldia/core/schema—validatePage,PageSchema,FieldSchema— in a
file of its own with zod inside, for where pages are made.workCounts, which counts the conditions read, values worked out, fields
checked and parts brought up to date (also on the one-tagFieldiaglobal);
recomputeInFull(true), which makes the forms and viewers made after it work
every change out in full, as before 0.35 — for tests to compare against;
form.nodeReads(id), the fields a part's state reads;Widget.reads, the
values a widget draws from besides its own (text, number and money, date,
tick box, select, radios and checkboxes without Other, rating and scale
declare it).wordsVersion()andonWordsCame(listener)in@fieldia/core: words that
come in a chunk of their own are an input of what was worked out or drawn in
them.- In a list long enough to keep only the rows near the view, Ctrl/⌘+F goes to
the list's own search and says why — the browser's find sees only the rows in
the page; pressed again, it opens the browser's find. - CI's perf job — an app's first load from the npm packages
(tools/npm-first-load.mjs), then the counts at scale, the leak gate, a long
list's layouts and the timings, on a desktop (perf) and a mid-range phone
(perf-phone: 412 px, CPU 4× slower), one worker.
Fixes:
- A key works out only what reads it. Conditions are read again only once a
value they read changed, values are worked out again and fields checked only
where what they read changed, and a part is brought up to date only once what
it shows changed. On the 500-field example page a key brings 16 parts up to
date and reads no condition again (0.34: 533 parts, every condition): on a
desktop 11.5 → 6.9 ms, on a mid-range phone 49 → 36 ms; on a 500-field form
7.6 → 3.9 ms and 34 → 17 ms. - Long lists keep only the rows near the view in the page — endless and
editable lists, rows' details, related lists, trees drawn in one page — once
more than 100 rows are shown, the rest a gap as tall as them. Screen readers
hear every row counted (aria-rowcount,aria-rowindex); ↓ past the last
drawn row draws the next; the focus and a row being edited stay; "Select all",
a paste and Undo reach rows not drawn; an open row's details come back under
it; reading stays in place as rows come and go above (WebKit has no scroll
anchoring: the list keeps it); paper prints every loaded row. At 5,000 rows an
endless list holds 2,349 nodes, not 130,343; a phone's worst frame scrolling
1.28 → 0.11 s; a tick at 5,000 rows 117 → 4.5 ms on a desktop, a fold of a
10,000-row tree 1,260 → 16 ms. Cards and the gallery draw every card, as
before. - A table of lines draws again only the lines whose inputs changed,
numbered once a change: at 200 lines a key in the header draws no cell (1,000
before), a key in a line its own (31.9 → 8.1 ms and 37 → 15 ms on a desktop).
A line whose money takes its currency from the record (parent.), whose rules
read the record, or whose column is one of the app's own widgets is drawn
again as the record changes. - Smaller npm apps. In the packages, every language but the page's — Arabic,
German and French too now —, the designer's words, zod and@fieldia/map's
own code each come in chunks of their own, and the stylesheets are minified as
the one-tag script's are. With the page, a record form's app is 298.2 → 237.5
KB gzipped (−20%), a list's 297.5 → 236.7, the screen designer's 832.2 →
583.2 (−30%); to usable, 374.0 → 310.3, 367.6 → 305.2 and 942.5 → 796.0. A
page's first paint is in its own language, never English and then swapped. - The designer at 500 fields copies only what an edit writes, never the page
whole, and makes no whole-page form per key: a label key 32.7 → 15.7 ms on a
desktop, about 149 → 82 ms on a phone. It opens on the 500-field page sooner
too — from the navigation to its first paint 967 → 821 ms on a desktop and
3.5 → 2.7 s on a phone, the format's schemas fetched beside it as it opens. - The Gantt moves a bar and changes its scale in place, keeping every row,
name and bar: at 500 tasks a drop puts 31 elements in the page (8,799 before)
and lays out once (17 before), 198 → 30 ms on a desktop; a change of scale 91
elements (4,101), 89 → 53 ms. - Pointing at a row lights its pin on the map moving only the pins whose
light changes: 2 a hover, whatever the pins (458 at 500 pins before). - Words that come late are said in their language everywhere. A language's
words that came after a page drew without them (their chunk past its 30 s
wait) are an input of every problem kept and every part left alone: the
form's problems and warnings are said again in them, every part is drawn
again, and what a wait said to a screen reader meanwhile is said in them too. - The designer: a label typed back to what was published makes the draft the
version published again (the page's whole check wrote a field's keys in its
own order, and "unpublished" stayed). - A calendar visit's "⋯" is a button beside the visit's own, not inside it
(axe: nested interactive), by pointer and by its M key alike. - A dialog in a language fetched later is named in that language from the
start; a file being imported reads yes and no in all 8 languages. - A ring or words over a place taller than the window stay in the middle of
what of it is in view as the place takes its size under them: a form whose
parts came after its wait began left its ring in the middle of the whole pane
(WebKit, one load in two once the npm chunks split further). - A Gantt bar's busy mark goes once its save answers (0.34 left it).
- Page checks read each layout and each field once.
- The site said Fieldia speaks 4 languages; it speaks 8.
Upgrading — grouped by who it touches:
- Page authors: nothing changes. No setting was added, and pages stay in
format 0.13. - App code:
- In the npm packages Arabic, German and French come in chunks of their own,
as Turkish, Persian, Urdu and Spanish did:VIEWER_LABELS,WIDGET_LABELS,
MESSAGESand the other tables hold English until a language is asked for.
mountViewer, a dialog,mountChatter, a map's parts and the address
suggestions wait for their words; anything drawn without waiting shows
English untilawait wordsReady('ar')—createWidget, a headless
createFormorcheckSubmissionon a server, andcreateDesigner({ locale: 'ar' })(usedesignerWordsReady, orcreateDesigner.open). What a form
shows — its problems and warnings — is said again in a language's words as
they come. - The designer holds edits to
checkPageuntil its schema chunk arrives, and
publish()waits for it. ImportingvalidatePagefrom@fieldia/core
beside the designer carries the schemas twice: take it from
@fieldia/core/schema. - A map's field is drawn once its part has come; a list's or a form's map
holds its place while its code comes;mountListMapreturns at once and
draws when its code arrives. form.node(id)returns the same object while the part is unchanged: don't
mutate it. TheForminterface gainsnodeReads: a fake adds it. A custom
widget that spreads a built-in copies itsreads: setreads: undefined
where it draws from more.- Designer edits run on a draft: what an edit reads are drafts until it ends,
and one kept past it throws when read. After Publish,versions[].pageis
the page object itself. - In a list past 100 rows shown, rows out of view are not in the DOM: code
reading.fd-list-rowsees those near the view. Ctrl/⌘+F there is the
list's (its default prevented); Tab moves through the rows in the page, the
arrows through every row; a tree drawn in one page has its folded rows
absent rather than hidden. - A table of lines' cell drawn by one of the app's own widgets is still
updated at every change of the record; a built-in widget in a cell has
updatecalled only when its inputs change.
- In the npm packages Arabic, German and French come in chunks of their own,
- Tests and CSS:
- Parts are drawn again only when what they show changed: DOM written behind
the viewer's back is no longer reset by an unrelated change. - Wait for a long list by its
aria-rowcount(rows + 1 + totals rows), then
scroll to a row or search for ...
- Parts are drawn again only when what they show changed: DOM written behind
Fieldia 0.34.1
The owner's walk of 0.33.0: every wait seen where a person looks. A
business owner walked fieldia.dev's 0.33 demos on a slow network, as a
customer would. What waited out of sight, waited twice or said a failure as
plain words is mended here, each where it began, for every place it could
happen. The page format stays 0.13: nothing a page says changes.
Fixes:
- A wait drawn the first time shows no empty boxes and no words before its
shapes. Until its loader is drawn, a form's boxes are out of sight under
their labels (else all the place holds), and a quick answer is drawn whole. A
wait drawn from the loading part waits for the part rather than saying
"Loading…" and then swapping to its skeleton — 0.33's map went grey box,
"Loading…", skeleton, pins — and says it in words only where the part
cannot come or the wait turns slow.loadParts(page)loads the loading part
where the viewer would wait for it with the page's parts, and a viewer whose
parts are in already asks for it as it mounts. - A record opened in another's place shows none of the other's related
rows: they and their count go at once, a skeleton in their place, until
the record has come and its own are asked for; a record that could not be
opened lists none. - A list's timeline or calendar whose code is still coming shows its
skeleton, never an empty space under the list's search; the timeline's own
first wait goes on from it. - Save stays where it was pressed while it saves, busy — its ring past the
wait's delay — Discard stepping aside; 0.33 hid both behind "Saving…". A save
that failed says so under the buttons, Save and Discard kept together (0.33
put Save on a line of its own under Discard). - A failure said in its place reads as a failure: the error's colour and a
mark at its start, light and dark, in every theme; forced colours keep the
mark. The app's own drawing of it (error: "custom") keeps its own look. - A failure said in a toast names what failed, one of a page's forms among
others: a list's own sentence ("Could not load the customers. …"), a field's
label before its search's failure ("Account manager: Couldn't search. …"). - A record that could not be loaded again (a reload, Retry) is said once, in
its place with its Retry — no toast besides. - A ring or words over a place taller than the window stand in the middle of
what of it is in view, never at its foot below the fold. - A select under a record's skeleton is a shape like the other boxes (WebKit
drew its own dropdown through it). - A place's few skeleton bars run from its top, the first as wide as the place
(0.33 drew two short bars in its middle, the first unseen). - A link's search that fails says so in its list, as wide as its box, never
wider. - "Nothing is called …" said under a link's, a tags' or a path's box goes as
another record is shown, the record is loaded again or Discarded: it is that
record's. - On a page right to left whose words are left in English, a list's "1–24 of 60
customers" and a box's placeholder read as written — never "of 60 customers
24–1" or "…Search". - A phone's country sheet is headed "Country"; it is still named for its field
("Country of Phone"). - The designer's While it waits: the looks' and a failure's buttons show
Fieldia's default as chosen where the page says none, and its times are
asked in seconds.
Behaviour you may notice in an app's own tests:
- Save stays visible, and busy, while a record saves, rather than hiding as the
save starts; it hides once the record is saved, as before. - A list's failure said in a toast (and an app's own drawing of it) names the
list — "Could not load the customers. …" in place of "Couldn't load. …" — and
a field's search failure in a toast starts with its label. loadParts(page)also fetches the loading part (fieldia.loading.js, the
loading chunk) where the page waits for its data.- A reload that fails raises no toast: its failure is said in its place.
- The designer asks a wait's times in seconds (0.15, not 150); the page still
keeps them in milliseconds.
Size: fieldia.js 560.1 KB, 186.5 gzipped (0.34.0: 558.3, 186.1): 0.5 KB
gzipped for what every page that waits needs before any part can come — a
first wait's boxes out of sight and its drawing waiting for the loading part,
a failure's colour and mark, a toast naming what failed, Save busy in place
and its failure under it, placeholders in their own direction, the loading
part asked for as a page mounts, a reload's failure said once. Of the parts,
gzipped:
- loading 2.98 (2.75): a ring centred in what is in view, a place's bars from
its top; - list 45.99 (45.83): no other record's related rows while one opens, a list
named in its toast, its range read in its own direction; - choice 4.75 (4.71), path 8.23 (8.20), relations 7.99 (7.96): what is said
under a box goes with its record; phone 19.25 (19.22): the sheet's heading; @fieldia/ganttwith the page 865 bytes (816), its timeline 15,834
(15,799);@fieldia/calendarwith the page 849 (793), the calendar 19,569
(19,554): their place's skeleton while their code comes.
The whole history: CHANGELOG.md.
Fieldia 0.34.0
Forms you can trust: safe links and files, data never lost or sent twice,
faster lists and Gantt, verifiable releases. Every address Fieldia puts on a
link, a picture, a player or a frame goes through one check, and a file is shown
in place only in a format Fieldia lists, from bytes that match it. What a person
types is never lost — not while a record loads, not as a form is taken away —
and never sent twice: each send carries one key from its first try, a part that
guards a send and cannot come refuses it in words, every request has a
deadline, and drafts and kept sends are the person's own. Lists, cells, the
Gantt and the designer do less work for the same result, and a page's parts
come beside fieldia.js. Each part is checked against the hash it was built
with, and every script tag in the docs names a version and its hash. The page
format is 0.13 — a field's secret is new — and a page of 0.1 to 0.12 is read
as it is.
Security:
- One check for every address (
safeUrl): a link, a picture, a player, a
frame, a page opened — read with the URL parser as the browser reads it, its
scheme one the place allows.openUrland a map card can no longer run
javascript:, however it is written; anopenUrlthat gives another address
opens nothing and says why, and the page checks refuse one written in the
page. - Files shown in place by their format: pdf, pictures, films and sounds
Fieldia lists, their bytes checked against the format and shown from a blob
typed from it, never from the type a file says. An uploader's HTML never runs
in the app's site; an SVG is drawn as a picture alone, never framed or opened
in a tab; a download is plain bytes. - CSV exports keep a formula's start as words (
'before=,+,-,
@, a tab or a return), and import reads them back. - Nothing takes seconds on an answer: a page's pattern that could is
refused bycheckPageandvalidatePage, an answer over 1,000 characters
fails its pattern untried, long typed text is never read as a date at length,
worked-out values are held to their most, and imports open at most 100 MB a
file, 200 MB in all, a cell of 32,767 characters. - A framed form tells only the sites its
allowed-originsnames (and its own);
AI help never writes a field the page does not draw; the embed widget runs a
page of the app's own site with no origin; expressions read own properties
alone, andconstructor,__proto__andprototypeare refused as field
names. - Each part is checked before it runs:
fieldia.jscarries the sha256 of
every part it was built with and asks for a part withintegrityand
crossorigin="anonymous". A part that is not that file never runs: what
needed it says it could not be loaded, and where it guards a send, the send is
refused. One value per part everywhere — the built-in hash,
Fieldia.partTags(page)and the docs' tags all name the file's sha256. - Script tags in the docs name a version and carry its hash, written by
tools/script-tags.mjs, never by hand; source maps carry relative paths only;
the release check audits what an app installs (npm audit --omit=dev, high
and critical refused); the workflows' actions are pinned by commit, with
Dependabot and aSECURITY.md; publishing from CI by npm's trusted
publishing, with provenance, is prepared — off until the owner switches it on
(TRUSTED_PUBLISHING, the last step of docs/maintainers/publishing.md). - Drafts, kept sends and preferences are a person's own: keyed by the
signed-in person (or the tab), a record's draft holding only the changes; a
password box's value and a field markedsecretare never kept;
drafts.clear()andoutbox.clear()let a person's go at sign-out. checkSubmission(page, values, context)runs a page's checks again where
its answers arrive — required, patterns, sizes, options, a code proved, a
payment worked out on the server and paid in full. A page its own checks
refuse takes no answers there either, its patterns checked by the browser's
own function. The payment docs work the amount out on the server, and page
checks warn where a field filled from the link is the amount.
Fixes:
- A part that guards a send fails closed — a payment, a code check, a time
limit's clock, a link's fields, approvals, options by condition, languages,
limits: the send waits, asks for it once more, then says "The payment step
could not load, so nothing was sent. Try again." with Retry, the typing kept. - One load boundary: a record's values are read as their fields hold them
(decimals as text, Odoo'sfalse, link tuples); one that cannot be read is
said under its field and never sent back over the source's. Until a record's
first load ends well its fields are inert, what is typed meanwhile is kept
over it, and a save of it is refused;save()never throws. - A record that could not be loaded is said once, in its place: at the top
of the form, in its own words ("This customer could not be loaded: …"), with
one Retry, which loads it. It is the record's wait's failure (0.33's), reading
core'sstate.loadProblem; no banner over the page besides. - A record opened in another's place never shows the other's values (the
owner's walk of 0.33.0): while it loads, its own boxes stand as its skeleton,
holding none of the last record's values and taking no typing; one that could
not be opened is named — "Couldn't open customer 32: …" — with Retry, which
opens it. 0.33 left the previous customer on screen, editable, under a line
that named none. - Next rows that could not come stay said (the same walk): "Couldn't load.
… Retry" where they would have come, and the list's end in sight asks nothing
by itself until the person presses Retry or Show more; 0.33 said it for one
frame, then asked again. A tree's next children and a group's Show more ask
only when pressed, as before. - One send discipline: one key from a send's first try, reused by Retry and
by a kept copy; a second save with nothing changed is the first; a response's
same answers never go twice; a new record answered with no id is refused in
words; kept saves go before a live one; claims are renewed while a send goes;
without IndexedDB the outbox says so. - Nothing waits for ever: every request Fieldia makes of its source — a
record's load, a list's rows and groups, a save, a send, an onchange, a
search, a list's options — ends at its deadline (timeout, 30 s unless the
app says) as the network's problem, with Retry. The deadline ends the request;
a wait'sloading.timeoutends its loader; where both are set the sooner ends
the wait, said once, never a loader left running. A Discard wins over a stuck
save; a part or a language's words that stall settle after 30 s. - A form taken away keeps its draft: typed a moment before the viewer is
destroyed, or before a dialog closes with it, what was not kept yet is kept,
as the draft's rules say. - Faster: every
Intlformatter is made once (intlFormat), and a date's
calendar builds its names when it first opens (an editable list of 1,000 rows
first drawn 3.2 → 2.3 s on a phone, a Gantt of 500 tasks 2.5 → 1.1 s); a key
in a list's cell lays out its box alone (341 → 191 ms on a phone); a list
asks for its first page beside its part (usable 21% sooner on a phone over
4G); part tags written into a page are never fetched twice; the designer asks
for its canvas's parts at once; the tab strip, Tab between cells, a Gantt drop
and a designer pick force no extra layouts, and a Gantt drop is drawn once. - Endless card lists skip no card unseen:
content-visibilitymade them
scroll far worse on a phone (the median frame 17 → 167 ms at 3,000 cards, 17
→ 33 as they grow), as plain card lists did; they now scroll as those do. destroy()takes away what the viewer opened — its dialogs, panels,
pages in its place, Search more… lists, as not saved — and the outbox shares
one IndexedDB connection; the designer's guides, Undo (the last 200 edits),
menus and its "While it waits" previews let go with it (a designer opened
again kept every preview before it).partFiles(page)namesfieldia.loading.jstoo where the viewer asks for it
with the page's parts, so a page's written tags cover them all.release.mjs publishrefuses a tree with changes, a HEAD not on
origin/main, a HEAD with no tag of its version, and a patch whose section has
an Upgrading part, each in words; it prints the tag's push and the GitHub
release's command only once every package is on npm. The console's hint for a
missing language names the running version.- A date and time box on another zone's clock names the zone as it is now by
the form's clock (now), as its today is — not the computer's (a test pinned
to 16 October said CET on the day the clocks went back). - An embed field asks its frame only for the sandbox tokens the browser knows
(WebKit has noallow-presentation, and said so in the console for every
frame). - The demos: a record page opened without
record=opens its model's first
sample record, never "Couldn't load"; a demo page shown in an embed field
draws in its opaque origin.
New:
@fieldia/core:safeUrlwithLINK_URL,PICTURE_URL,MEDIA_URLand
DOWNLOAD_URL;csvCellandcsvWords;patternRisk,rulePattern,
PATTERN_MOST,DATE_TEXT_MOSTandCOMPUTED_MOST;checkSubmission;
valuesFromSource;drafts,outboxandownerOf;withDeadlinesand
SEND_TIMEOUT_MS;intlFormat; a field'ssecret;FormOptions.timeout;
state.loadProblem,state.loaded,state.unreadableand
state.outbox.lasting; requests'keyandsignal.@fieldia/viewer: the viewer'stimeout;partFiles(page)(also from
@fieldia/viewer/server); in the one-tag script `Fieldia.partTag...
Fieldia 0.33.0
Loading, as you choose it: every control waits for its answer the same way —
a record, a list, a map, a related list, a link's search, a button — and how it
looks while it waits is the app's, the page's or the part's to say. Drawn the
first time, a skeleton shaped like what comes; asked again, what is shown stays
under a thin bar; the next rows, "Loading more…" where they come; a search,
"Searching…" in its list; a save, the button busy. A quick answer shows nothing
at all, a loader that shows never flickers off, and a failure says why in its
place, with Retry. The page format is 0.12 — loading is a new setting — and a
page of 0.1 to 0.11 is read as it is.
New:
- One loading model for every control, by moment, each with its default
and its other ways:first— a form's record, a list, its cards, a map, a related list, a saved
form placed, what a list's row opens to, a form's limits being counted:
skeleton(the list's rows in its own columns, cards on a phone, the form's
boxes under their labels, the page's layout while its parts come), or
spinner,progress,text,none,custom;refresh— a list searched, filtered, sorted or paged (a related list's
pager, a calendar's next week or month), a record reloaded:keep(what is
shown stays, a thin bar over it), ordim,skeleton,spinner,none,
custom;more— rows put under those shown (endless scroll, Show more, a tree's
children):row("Loading more…"), orspinner,skeleton,none,
custom;search— a link's suggestions, choices from the app's lists, a filter's
values, a menu's items the app gives:inline("Searching…"), orspinner,
none,custom;action— a save, a send, a button's steps:button(the pressed button
busy), orbar,overlay,none,custom.
- Set where it belongs, the most specific winning setting by setting: the
viewer'sloadingoption (the app's), the page'sloading, a list's, a
related list's or a map'sloading, a field'soptions.loading— in the
types, the checks, the JSON Schema and the designer. - Looks: a skeleton's
shimmer(default),pulseorstatic; a spinner's
ring(default) ordots; a progress bar along thetop(default) or
inline. Timing:delay(150 ms: a quick answer never flashes a loader),
minShown(300 ms),slowAfter(5 s, "Still loading…" said once),
timeout(none unless set: the wait ends as failed and the request is told
to stop). - Failures:
error: "inline"(default) says it in place — "Could not load
the customers. The archive is offline. Retry", the source's own words after
Fieldia's —toastkeeps what is shown and says it in a toast with Retry,
customis the app's to draw. Retry asks the same thing again. Never an empty
place. loading.custom(drawing)draws a moment set tocustomthe app's own
way:{ moment, part, container, signal, slow, failed, error, retry }, and it
may hand back its own clean-up; Fieldia keeps the time,aria-busy, what is
said and the clean-up.- Events
loadingstartandloadingend({ moment, part, duration, failed }) on the viewer's handle, for an app's own indicator; React's
onLoadingStart/onLoadingEnd, Vue'sloadingprop andloadingstart/
loadingend, Angular'sloadinginput andloadingStart/loadingEnd. - Every theme's tokens, light and dark:
--fd-skeleton,
--fd-skeleton-shine,--fd-shimmer,--fd-spinner,--fd-bar. - Always, whatever the way:
aria-busyon what waits and one polite
announcement (never one per row); reduced motion stills every shimmer, ring
and bar; forced colours draw them in the system's colours; right to left
mirrors them; nothing shows on paper. - What a person has open stays theirs: a part asked again with a popup open
in it (a date's calendar, a box's list, a menu) keeps what is shown under a
bar, whatever its way; a popup opened while a part waits is over the wait and
takes its presses. - The designer's Look tab: "While it waits", each moment's way, the looks,
the times and a failure's way, with a live preview of each — no JSON needed. - A new demo, "Loading, as you like it": a wholesaler's customers beside a
customer, on a network as slow as you like, with "Fail the next answer" and a
panel that changes each moment's way live — and the same customer under two
themes. - From
@fieldia/widgets:startLoading,loadingSettings,loadingOver,
loadingWay,asksLoadingPart,letFailureGoandloadingPart, with their
types; from@fieldia/core:LOADING_MOMENTS,LOADING_TECHNIQUES,
LOADING_VARIANTS,LOADING_ERRORS,LOADING_DEFAULTSand
PageLoadingSchema.
Fixes:
- Every "Loading…" Fieldia drew its own way now waits the one way: what a
list's row opens to (its failure now says the source's words, as a list's
does), a menu's items from the app (menuFrom: no flash on a quick answer), a
form's limits while they are counted, and a list whose part could not come at
first and is asked for again. - The designer's new settings are named in Turkish, Persian, Urdu and Spanish
too, as the panel's search finds them.
Upgrading — what an app that uses none of the new things sees change:
- A record, list, related list, map or saved form shows a skeleton the first
time it loads, where it said "Loading…": setfirst: "text"to keep the old
words. The status line no longer says "Loading…". - A list asked again keeps its rows under a thin bar, where it dimmed them
througharia-busy: setrefresh: "dim"to keep the old look. - A list that fails to load, and what a list's row opens to, add the source's
own words before Retry. - A button's busy ring, and "Loading choices…", show only after 150 ms.
- An endless list's failure is said in place, under its rows, not in a toast.
- A menu's items from the app and a form's limits being counted wait after the
delay, as the page'ssearchandfirstways say: the.fd-menu-waitingand
.fd-list-waitingelements are gone, and what a list's row opens to is busy on
its box (.fd-list-detail-box), not on its table. - A calendar's next week or month and a related list's next page are a
refresh(what is shown kept), nevermore, which is only for rows put under
those shown. - Pages that wait for parts also fetch
fieldia.loading.js(2.7 KB gzipped):
an app that servesfieldia.jsitself serves it beside the other parts. ListRequest.signalis given where atimeoutis set; a source that honours
it stops sooner, one that ignores it loses nothing.- Pages are written in format 0.12 (
FORMAT_VERSION). 0.12 only added, so a
0.11 page is read as it is; an older Fieldia refuses a 0.12 page, saying to
update. - An app that passes whole
labelsor designer words adds the new keys:
widgetsloadingMore,searching,stillLoading,cantLoad,cantSearch,
tookTooLong,loadRetry; designerloadingLook. The new words in Arabic,
German, French, Turkish, Persian, Urdu and Spanish are unreviewed.
Size: fieldia.js 535.1 KB, 175.9 gzipped (0.32.0: 525.2, 172.1): 3.86 KB
gzipped for what every page that waits needs — its record, a list, a search, a
button — before any part can come: the timing machine (about 2.4: the delay,
the minimum, "Still loading…", the timeout, aria-busy and what is said, a
failure and Retry, the events), the viewer's waiting (0.8), the words and looks
drawn before the loading part comes (0.5), the app's own drawing kept here so it
never waits for a part (0.1), and a popup kept clear of a wait (0.1). No part's
code is in it. Of the parts, gzipped:
- loading 2.75 KB (new): the skeletons, the bars, the spinners, the overlay and
their tokens, asked for alongside a page's parts where it waits for any, and
never by a page of plain parts whose source answers quickly; - list 45.61 (45.15), filters 7.86 (7.78), rows 7.30 (7.11), cards 3.79 (3.71):
a list's records, next rows, a filter's values and what a row opens to waiting
the one way, its skeleton rows in its own columns or as cards; - relations 7.95 (7.73): a link's "Searching…" and its failure with Retry;
- themes 3.93 (3.64): every theme's skeleton, shimmer, spinner and bar, light
and dark; - limits 4.75 (4.69), head 12.90 (12.88): a form's limits counted and a menu's
items from the app waiting the one way; - the language add-ons by 0.06–0.09 each (the seven new words; Arabic 128.2,
20.76 from 127.5, 20.67); @fieldia/mapwith a list's map 48.2 (47.9), in a page of its own 32.9
(32.6): a map's skeleton block, its places asked again under a bar, a failure
with Retry;@fieldia/gantt's timeline 15.24 (15.16), the same for its bars.
The whole history: CHANGELOG.md.
Fieldia 0.32.0
What the owner saw on the demos, mended: radios and tick boxes that looked like
the browser's, a phone's country found only by scrolling a list of some 240, a
question the survey designer seemed unable to delete, and the screen designer's
bar over a section's title. Each is fixed where it began, for every place it
could happen. The page format is 0.11 — a phone's country list is a new setting
— and a page of 0.1 to 0.10 is read as it is.
Fixes:
- Radios and tick boxes are Fieldia's own, in every look and theme: a
field's tick box, a group's options and its "Other", a survey's matrix, a
table's tick cells, a list's rows, a dialog's, the designers' settings. Each is
18 px with a 24 px press target, the theme's accent when chosen (a dash for
"some"), a focus ring, and grey when it cannot be changed. Their words read in
the body's colour — the quiet look's tick box too, its lines light. On paper a
chosen one prints as chosen; in Windows High Contrast the system's own control
shows. The native input is kept underneath, for forms, keys and screen readers. - A phone's country is found by typing — its name in the page's language or
in English, its code ("ae") or its dialling code ("+971", "20", "0020"), the
best first — in place of the browser's list of every country. Each row has its
flag and code; the page's country and the reader's region come first. It works
by the keys (typing on the flag opens it, the arrows, Enter, Escape), opens as
a sheet from the foot of a phone's screen — in the page's scheme, dark on a dark
page — and reads right to left. On by default (countries, below). - A phone number is the record's as it is typed, once it reads, as a text's
and an amount's are: Save shows while the person is still in the box (it
showed only once the box was left). A part of a number waits for the box to be
left, which says why it does not read; the field keeps what it held. - Delete in the designers is easy to find, and asks nothing. A picked
question's bin says "Delete question" (the bin alone on a phone, still named for
screen readers); a question not picked shows a ⋮ on hover and focus with
Duplicate, Delete question, Move up and Move down; a picked page's bin says
"Delete page". Each delete — by a bin, a panel, the Delete key, a header part, a
list's column or action — says what went in a toast with Undo ("Question
deleted · Undo"), which brings it back, picked. - The bar of the part picked sits beside it. In the screen designer, just
above the part (lined up with its end edge, its start edge right to left), or
below it with room made where above would cover a group's name or another
part's words — never over them. Placed again as the window is resized or zoomed
and as the part changes size. One rule for a header part's bar and a list
column's, whose bar shows again (0.31.1 hid it under its header). Placed only
when its part or the canvas moved, keeping clear of its neighbours' words alone:
picking, adding and undoing on a page of 500 fields is as quick as in 0.31.1. - A popup opened from a box near the window's foot opens over it, where there
is not room under it and more over it, and stays inside the window, scrolling
within where neither side holds it whole: Fieldia's own list, the country list,
a date's, a range's, a month's and a year's calendar, a filter's menu, the
search's suggestions, the colour palette, a state's menu, a payment's details —
as a link's list already did. On a phone, a sheet as before. - The featured demos show the phone's country list where the owner looked:
the Customer record's Phone and Every field's Site phone are read the world over
(their pages now say their phones' country), each with a how-to step to try it. - Ctrl+Z is the record's from the first keystroke. Pressed while the page was
still fetching its Undo (a slow network, a busy phone), the key went to the
browser, whose own undo took back the last typing on the page — part of it, in
the box just left. The keys are now heard as a person first enters the form,
each decided as it is pressed; the change is taken back as Undo arrives.
New:
countries: "list" | "native"on a page'sphoneand on a phone field's
options: Fieldia's own list found by typing (the default), or the browser's
own list for an app that prefers the system's picker. In the types, the checks,
the JSON Schema and the designer's field and page panels. The page format grows
to 0.11.removeWithUndo(designer, id)from@fieldia/designer: the designers' delete
with its toast and Undo, for an app's own tools.- The
--fd-tick-sizecustom property: a tick box's and a radio's size. openToRoom(popup, box)androomFor(box, height, gap, view)from
@fieldia/widgets: the one rule for where a popup opened from a box goes.
Upgrading — what an app that uses none of the new things sees change:
- Every checkbox and radio inside a form or a Fieldia dialog is drawn by Fieldia,
an app's own widgets' included: setappearance: autoon one to keep the
browser's. They are 18 px, where they were 16 or 17. - A phone field's country is a button that opens a list, not a
<select>: a
test that picked from the select picks from the list (or the page sets
countries: "native"). - A phone field writes a number that reads as it is typed, not only as its box
is left: itschangeevent and the page'son.changesteps for it come then,
as a text box's do. - An unpicked survey card is no longer a button itself; its words are
(.fd-q-open). - The screen designer bar's
fd-bar-belowandfd-bar-over-nameclasses and its
--fd-name-roomand--fd-bar-nudgeproperties are gone: the bar takes an
inline top and left, and a field may take a bottom margin to make room for it. - Pages are written in format 0.11 (
FORMAT_VERSION). 0.11 only added, so a 0.10
page is read as it is; an older Fieldia refuses a 0.11 page, saying to update. - An app that passes whole
labelsor designer words adds the new keys: widgets
phoneFindCountry,phoneCountries,phoneNoCountryFound; designerdeleted,
deleteQuestion,questionTools,phoneCountries,phoneCountriesAs. - An app that serves
fieldia.jsitself serves the same parts as before; the
undo part (fieldia.undo.js) now holds the record's step, its keys being in
fieldia.js. - A popup opened over its box carries
data-up, and one kept shorter than it
would bedata-cutwith an inlinemax-height: an app's own rules that place
these popups (.fd-calendar,.fd-filter-menu,.fd-search-suggestions, the
listspopupfloats) meet them.
Release safety — how this release is made, not what it ships:
- The release's checks — the packs and their peers installed into an empty
project, node and tsc run over them — run without the npm token or any npm
setting that carries one, and the install runs no package's install scripts;
the token reachesnpm publishalone (tools/release.mjs,
tools/release-env.mjs). - fieldia.dev deploys only a CI run of a push to this repository's main: a fork's
pull request from a branch it named main no longer passes the site workflow's
filter. Its build runs with read access alone, Pages and the OIDC token being
the deploy job's; CI as a whole runs with read access unless a job says more.
Size: fieldia.js 525.2 KB, 172.1 gzipped (0.31.1: 520.0, 170.9): 0.41 KB
gzipped for the radios and tick boxes, which every form draws — in the main
sheet, as a part's would come after the first paint, showing the browser's grey
circles until it came — 0.45 for the undo keys, heard as a person first enters a
form, so no key waits for a part, and 0.30 for the one rule a popup opened from a
box opens by. Of the parts, gzipped:
- phone 19.2 KB (from 16.2): the country list, its rows drawn the first time it
opens, and a number taken as it is typed; - undo 3.0 (3.5): its keys gone to
fieldia.js; - quiet 2.06 (2.04): a tick box's words in the body's colour, its lines light;
- survey 12.51 (12.52), duplicates 6.36 (6.41), path 8.21 (8.20): their own tick
styles given up for the one rule in the main sheet; - list 45.15 (45.08), filters 7.78 (7.72), date 9.18 (9.13): the same, and their
popups opened over their box where there is no room under it; - the language add-ons by 0.02–0.05 each (the phone list's words);
@fieldia/mapwith a list's map 47.9 (47.8): a card's tick box the size
every tick box is.
The whole history: CHANGELOG.md.