Repository navigation
mermaid enablement - #1776
Closed
dmaresma wants to merge 122 commits into
Closed
mermaid enablement#1776dmaresma wants to merge 122 commits into
dmaresma wants to merge 122 commits into
Conversation
…attributes add sort by schema.name and properties by ordinal_position
…/datacontract-cli into feat/snowflake_importer
…, defaultValue, Roles in server
…/datacontract-cli into feat/snowflake_importer_bhn
added tests and key authentication
…UnPivotCustomProperties Add Import feature
Feat/snowflake importer
…into feat/powerbi_importer # Conflicts: # README.md # datacontract/command_import.py # datacontract/imports/importer.py # datacontract/imports/importer_factory.py
Feat/powerbi importer
…stomPropertiesPivot
…Pivot Feat/export excel custom properties pivot
Feat/test filestore metadata
…xport_md_relationship
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…hema name The relationship badge put a gap before each comma of a composite target (`sites.region , sites.site`); the targets now render as one item. The "↑ Diagram" link now follows the schema's ⓘ physical-name icon instead of separating it from the name.
The relationship badge links and the "↑ Diagram" hover now get their underline. The stylesheet also gains classes templates already used but the old build lacked (ml-4, list-disc, whitespace-pre-line).
jschoedl
requested changes
Nov 4, 2026
jschoedl
left a comment
Collaborator
There was a problem hiding this comment.
Those are very nice improvements, thank you!
|
|
||
| {% if mermaid_links %} | ||
| // Entity name as drawn by Mermaid (`entity-**name**-<index>`), normalised like the schema anchors. | ||
| const normalize = (name) => name.replace(/\W/g, '_'); |
Collaborator
There was a problem hiding this comment.
The diagram ↔ table links don't work for schemas whose names _sanitize_name rewrites. sales$2024 is drawn as salesdollar2024, but data-schema/data-entity keep the raw name and the script only maps \W to _. So clicking those entities does nothing, and "↑ Diagram" doesn't highlight them.
If you change the template to emit the name the exporter actually draws instead of re-deriving it in JS, the reduced diagram could also keep the links.
…hema name The relationship badge put a gap before each comma of a composite target (`sites.region , sites.site`); the targets now render as one item. The "↑ Diagram" link now follows the schema's ⓘ physical-name icon instead of separating it from the name.
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.
#1775
uv run pytest)uv run ruff check --fix && uv run ruff format)