Repository navigation
fix(platform): follow up task limits and imports after #3577 - #3689
Merged
Merged
Conversation
A keyboard drag on the task Board or List spoke dnd-kit's English
defaults in every locale ("Draggable item <uuid> was moved over
droppable area <uuid>."), and the pickup line was overwritten in the
same frame.
useTaskBoardDnd now returns one accessibility contract that both
DndContexts use. The pickup names the task's key and title with its
status and position. Each move names the status and position the drop
would take, including an empty status, and a move to the slot just
spoken stays silent, so the pickup line is kept. The drop and the cancel
name the key. Positions come from the same resolveDrop arithmetic the
drop applies, and the handler records what the drop did for its line.
The title's instructions name the keys it handles: Enter opens, Space
picks up and drops, the arrow keys move, Escape cancels. A task without
a key is named by its title, and a task gone mid-drag is reported as
not moved, never by its id. EN/DE/FR under tasks.drag.
The Board's drag overlay gets an upright wrapper. dnd-kit measures the
overlay's only child, and the tilted card's box made the first arrow
press after a pickup stay in the lane (ArrowRight) or do nothing
(ArrowDown).
Docs (EN/DE/FR) describe the keyboard move. The manual layer gains
TASK-A7 for the spoken half and an automation row for the Chromium
specs.
Closes #3561
The imported cut stepped back from a lone high surrogate only, so a ZWJ family kept its first person, a flag a lone regional indicator, and a skin tone, keycap or combining accent lost its tail. The cut now ends on an Intl.Segmenter grapheme boundary: the last whole grapheme that ends within max - 1 units is kept before the "…", built lazily because the app imports the module for its limits.
task.upsert echoed the title it was sent (trimmed, uncut, up to 10,000 units) and task.upsert_issues each issue's sent title, though the task stores it cut to 200 and a source-snapshot reconcile (every GitHub or GlitchTip sync) leaves the Tale title alone. upsertTaskByExternalRef now answers the title the task carries - cut on a create and a plain reconcile, the stored one on a source or archived reconcile - and both natives return it. A blank title answered the validator's "title Too small" text; both natives now refuse it with the empty-title sentence every task door answers, naming the item (issues.<n>:) in a batch. The action schema's minLength would pre-empt that for '' at the dispatcher, so it goes, and the test-run mocks cut and refuse the way the domain does.
A task start relays AutomationError sentences word for word (the app's handleError, REST's envelope), and resolveRunProject's AUTOMATION_PROJECT_FORBIDDEN repeated the name it was given - the workflowSlug the caller sent. The sentence is static now. The task refusal guard follows the automations-domain functions a task door reaches, as it did the projects domain, and reads their AutomationErrors; the input-schema refusal's first problem (a path and a rule, never a value) is reviewed onto its list.
The OpenAPI info still gave "must be at most 200 characters" as its data.issues example while the Markdown reference and the task answers say UTF-16 code units, and the house formatter rendered every string cap as "N characters" though zod measures String.length. describeQuantity now names the unit a string cap counts, so the example the two references give is the answer every field gets; the spec example and openapi.json follow.
An older import stored descriptions whole past the 20,000-unit cap, and saving one from the task answered the generic error toast: the modal had no branch for TASK_DESCRIPTION_INVALID. The description editor and the create form now name the draft's length and the cap under the field and hold Save and Create until it fits, and a title or description the server refuses anyway toasts the cap in the reader's language. The inline title editor takes the create form's 200 cap, and the two label components import the shared label caps instead of declaring their own. No migration cuts stored descriptions: the text past the cap may be a person's, and the editor now says how much to shorten.
The importer page never said that an imported title over 200 or a description over 20,000 UTF-16 code units is cut on the task and ends in "…". One sentence per locale says so, and that the source card and the linked issue keep the full text. The automation register records this batch's behaviour, the cut's claim now true of graphemes.
This was referenced Sep 28, 2026
yannickmonney
added a commit
that referenced
this pull request
Sep 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
External issue imports can split a multi-code-point emoji or report an upstream title that differs from the task stored in Tale. This cuts imported titles and descriptions on grapheme boundaries and returns the stored task title across creation, reconciliation, archived tasks and insert races. Both task natives and their test-run mocks refuse blank titles consistently before writing. Source cards and linked issues retain their full text.
Legacy oversized descriptions now show a localized length/limit warning and hold Save/Create until the draft fits, including keyboard submission. Title and label controls use the shared limits. The shared light error token and destructive alert text were corrected after browser review found insufficient contrast in the new warning. Relayed automation binding errors no longer repeat the caller’s slug, and REST string-limit messages consistently name UTF-16 code units. Messages and importer docs cover EN/DE/FR.
Validation:
The broader local task-UI attempt was stopped after a timeout under host load; no full local
bun run checkpass is claimed. Scoped SAST reported zero findings, but nine large files were partially analyzed due to parsing/timeouts. Fresh current-head CI remains the merge gate.