Skip to content

Fixes and docs#73

Merged
martinv13 merged 11 commits into
cre-dev:mainfrom
martinv13:claude/todo-tasks-main-41lbrx
Jun 26, 2026
Merged

Fixes and docs#73
martinv13 merged 11 commits into
cre-dev:mainfrom
martinv13:claude/todo-tasks-main-41lbrx

Conversation

@martinv13

Copy link
Copy Markdown
Collaborator
  • Fix inserted rows count to avoid returning 0 when the count is not returned by the backend
  • Add zooming capability in xml2db serve
  • Write documentation for CLI usage
  • Several documentation editing

cre-os and others added 11 commits June 25, 2026 17:12
- Create docs/cli.md with reference for all three subcommands (import, render, serve)
- Reorder model-level config options in configuring.md alphabetically
- Both changes make the mkdocs strict build pass without warnings
\s, \S, \w inside a regular Python triple-quoted string are invalid escape
sequences that trigger SyntaxWarning in Python 3.12+. Double the backslashes
so the Python string value contains the correct single-backslash JS regex
syntax in the rendered HTML.
- +/- buttons and Reset in the ERD toolbar zoom around the viewport centre
- Mouse wheel zooms at the cursor position
- Click-and-drag pans the diagram
- Zoom resets when the ERD content changes (config edit or names toggle); pan/zoom is preserved on tab switches
Add row_counts_available flag to MergeStats/LoadStats so the CLI prints
a clear message instead of misleading "0 rows inserted" when the backend
(e.g. DuckDB) does not report rowcount for INSERT…FROM SELECT.

Catch all exceptions in main() and print a single clean error line to
stderr instead of a raw Python traceback. Install a logging handler that
caps at WARNING so logger.error() calls before re-raise do not duplicate
the error output.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@martinv13 martinv13 merged commit dfc0107 into cre-dev:main Jun 26, 2026
10 checks passed
@martinv13 martinv13 deleted the claude/todo-tasks-main-41lbrx branch June 26, 2026 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants