3 Commits
Author SHA1 Message Date
Aleksander DygońandClaude Opus 5.5 03c2ff34c2 Remove code comments and add the no-comments rule (#12604)
* Remove code comments and add the no-comments rule

Remove the comments from first-party code and configuration files:
TS/JS, JSX, CSS, SQL migrations, Swift, Kotlin, Gradle, shell,
Docker, systemd, Nix, YAML, TOML, JSONC and GritQL.

Keep only what a tool reads: license headers, shebangs, compiler
and lint directives, JSDoc types in plain .js files, generated file
headers, GritQL scope lines, the install-server.sh help text and the
openbot-boat-pre-stop marker. Vendored code, fixtures and released
schemas keep their comments.

Add the rule to AGENTS.md, and change the docs that asked for
comments. Add two i18n keys that only comments named to
RELEASED_SOURCE_KEYS.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Keep comments that are data in strings

The benchmark task files in opencode-free-models-bench.ts tell the
model what each function must do. The sample file and HTML page in
the two stories are display content. Put their comments back.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Keep released migrations and mobile native inputs unchanged

check:migrations compares each released migration with v0.73.0 byte
for byte, so restore src/backend/migrations. A change to a native
build input of apps/mobile makes a new runtime version, so restore
those files and the extra fingerprint sources.

List these files and the comment markers that a tool reads in
AGENTS.md. Remove the last requests for comments in
src/renderer/AGENTS.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 12:19:28 +01:00
Norbert ee801e72aa Preview text, HTML, PDF and spreadsheet files on mobile (#2909)
* Preview text, HTML, PDF and spreadsheet files on mobile

Mobile now opens the same file previews as desktop and web for user and
agent files: text and code, Markdown, HTML pages, PDF (native on iOS,
pdf.js on Android) and .xlsx tables. A visual HTML reply shows as a page
card in the chat. The .xlsx parser moves to packages/contracts so that
desktop and mobile use one parser.

* Limit the HTML code view to the preview text limit
2026-10-23 15:03:52 +02:00
35201fbc63 Keep quoted prefixes in spreadsheet number previews (#2391)
* Keep quoted prefixes in spreadsheet number previews

* Show the minus sign before a quoted prefix

A one-section number format puts the minus sign before all of its text, so
"$"#,##0.00 shows -$1,234.50. A format with only quoted text shows that text.

Seed a number-format workbook, and check it with the date workbooks in one
real-app E2E. Name the release note after the branch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Emre <detasar@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 12:54:02 +02:00