Skip to content

Documentation update part15 - Fix schema documentation errors - #222

Merged
sureshms merged 1 commit into
mainfrom
docUpdate.part15
Aug 21, 2021
Merged

sureshms merged 1 commit into
mainfrom
docUpdate.part15

Conversation

@sureshms

Copy link
Copy Markdown
Contributor

Describe your changes :

I worked on the ..... because ...

Type of change :

  • Bug fix
  • New feature### Describe your changes :

Continuing the work on documentation. Updating Tier tag documentation.

Type of change :

+- [] Bug fix
+- [] New feature
+- [] Breaking change (fix or feature that would cause existing functionality to not work as expected)
+- [x] Documentation

Frontend Preview (Screenshots) :

For frontend related change, please link screenshots of your changes preview! Optional for backend related changes.

Checklist:

  • [x ] I have read the CONTRIBUTING document.
  • I have performed a self-review of my own.
  • I have tagged my reviewers below.
  • I have commented on my code, particularly in hard-to-understand areas.
  • My changes generate no new warnings.
  • I have added tests that prove my fix is effective or that my feature works.
  • All new and existing tests passed.

Reviewers

+
+

  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation

Frontend Preview (Screenshots) :

For frontend related change, please link screenshots of your changes preview! Optional for backend related changes.

Checklist:

  • I have read the CONTRIBUTING document.
  • I have performed a self-review of my own.
  • I have tagged my reviewers below.
  • I have commented on my code, particularly in hard-to-understand areas.
  • My changes generate no new warnings.
  • I have added tests that prove my fix is effective or that my feature works.
  • All new and existing tests passed.

Reviewers

@sureshms

Copy link
Copy Markdown
Contributor Author

@ayush-shah, can you please look at Pylink failure? I am committing this change as this failure is unrelated.

@sureshms
sureshms merged commit 216270a into main Aug 21, 2021
@ayush-shah
ayush-shah deleted the docUpdate.part15 branch September 16, 2021 16:48
Prajwal214 pushed a commit to Prajwal214/OpenMetadata that referenced this pull request Jun 14, 2024
Prajwal214 pushed a commit to Prajwal214/OpenMetadata that referenced this pull request Jun 14, 2024
* Minor: Add google tag manager changes for the pages (open-metadata#216)

* Add google tag manager changes for the pages

* Update the script tag to use next js Script component for google tag manager

* create a component for analytics script to use it commonly

* Add analytics page to index.tsx in pages folder

* update the component name

* Modify Sitemap into small sitemaps (open-metadata#218)

* Modify Sitemap (open-metadata#220)

* Update Link Checker schedule (open-metadata#221)

* Update Link Checker schedule

* Update link-checker.yaml

* fix: GA Syntax

---------

Co-authored-by: Akash Jain <[email protected]>

* MINOR - Update default & stable release (open-metadata#223)

* add sas connector in homepage connectors section (open-metadata#222)

---------

Co-authored-by: Aniket Katkar <[email protected]>
Co-authored-by: Ayush Shah <[email protected]>
Co-authored-by: Akash Jain <[email protected]>
Prajwal214 pushed a commit to Prajwal214/OpenMetadata that referenced this pull request Jun 14, 2024
* Minor: Add google tag manager changes for the pages (open-metadata#216)

* Add google tag manager changes for the pages

* Update the script tag to use next js Script component for google tag manager

* create a component for analytics script to use it commonly

* Add analytics page to index.tsx in pages folder

* update the component name

* Modify Sitemap into small sitemaps (open-metadata#218)

* Modify Sitemap (open-metadata#220)

* Update Link Checker schedule (open-metadata#221)

* Update Link Checker schedule

* Update link-checker.yaml

* fix: GA Syntax

---------

Co-authored-by: Akash Jain <[email protected]>

* MINOR - Update default & stable release (open-metadata#223)

* add sas connector in homepage connectors section (open-metadata#222)

---------

Co-authored-by: Ayush Shah <[email protected]>
Co-authored-by: Pere Miquel Brull <[email protected]>
Co-authored-by: Akash Jain <[email protected]>
timothybrush pushed a commit to timothybrush/OpenMetadata that referenced this pull request Oct 28, 2026
…ag re-renders (open-metadata#36370)

* Lineage map: drill at 35% screen fill, on the zoomed node, once the zoom settles

Drilling needed the widest card to fill 60% of the canvas width. A 340px
container on a ~1400px canvas reached that at zoom 2.45 against a 2.5 maximum,
so drilling only happened at the very end of the zoom range.
- ZOOM_IN_SCREEN_FILL is 0.35: containers drill at ~1.43, assets at ~1.21.
- The fill is measured on the node being zoomed into (under the pointer, or
  for button/keyboard zoom the selected node or the drillable node nearest
  the canvas centre), not the widest card in the scene.
- Button/keyboard zoom picks the drillable node nearest the centre within the
  middle half of the canvas on each axis, instead of drilling only when a
  single drillable node is in view.
- A drill waits 250ms for the zoom to settle; any further move, a pan
  included, restarts or cancels it.

* Lineage nodes: every title in primary text

Only the base node's title used link-primary; the rest used link-gray, whose
tertiary text read washed out on dark node cards (gray-400 on raised).
All titles now use link-primary in both themes, so the titleColor prop is
gone.

* Lineage nodes: node-level DQ badge counts in primary text

The node footer sets no colour, so the node's test summary counts inherited
React Flow's fixed open-metadata#222 node text, dark on dark cards, while the column rows'
counts were light. The badge now sets primary text itself.

* Lineage: stop re-rendering every node and handler consumer per drag frame

Dragging a node and holding it at the canvas edge (React Flow auto-pans)
crashed the entity lineage page with "Maximum update depth exceeded" in about
half of runs; it reproduces on main too.
- EntityLineageCanvas gave every node a fresh `data` object whenever `nodes`
  changed, which is every drag frame, so every node re-rendered. Each node now
  keeps its extended data until its own data changes.
- The handlers context was rebuilt per frame (several handlers depend on
  `nodes`), re-rendering every consumer (~1000 renders of the search box per
  drag). It now holds stable wrappers that call the latest handler.
- LineageSearchSelect subscribed to the whole store and reset its options on
  every node change; it selects only what it renders and builds options on open.

Crash rate in a headless repro went from ~1 in 2 to ~1 in 8, the same as
passing nodes to React Flow unwrapped. The rest is the controlled-node round
trip per auto-pan frame; making the drag uncontrolled is a follow-up.

* Lineage: address self-review — search filter on reopen, identity tests

- LineageSearchSelect rebuilds options on open; typing into the focused
  input reopens the menu after the filter for that text was queued, and
  the rebuild cancelled it, so a single keystroke or paste showed the
  unfiltered list. Opening now applies the current search text.
- Regression tests: the keystroke-after-close case (fails on the previous
  commit, passes on main), the handlers context staying the
  same object when nodes change, and EntityLineageCanvas keeping each
  node's extended data across a position-only change. Each fails without
  its fix.
- Comments trimmed to the reason.

* Lineage: address bot review — empty-service drills, live search options, ADR

- Unaimed drills (zoom button/keyboard, the Data Assets rail) pick only a
  drillable node with children near the centre, sharing the predicate
  getRailDrillFallbackNode already used. The scene API marks empty containers
  expandable, so the centre fallback could open an empty service; the rail
  again falls back to a service with assets.
- LineageSearchSelect follows nodes added or removed while its menu is open,
  via a node-id key that drag-only updates leave unchanged. The search filter
  moves to LineageSearchSelect.utils.ts; its test uses a real zustand store
  so subscriptions behave as in the app.
- Record ADR:2026-10-27-lineage-semantic-zoom-drills-at-35-percent-after-settling
  and cite it at the constants.
chirag-madlani added a commit that referenced this pull request Oct 28, 2026
…ag re-renders (#36370) (#36390)

* Lineage map: drill at 35% screen fill, on the zoomed node, once the zoom settles

Drilling needed the widest card to fill 60% of the canvas width. A 340px
container on a ~1400px canvas reached that at zoom 2.45 against a 2.5 maximum,
so drilling only happened at the very end of the zoom range.
- ZOOM_IN_SCREEN_FILL is 0.35: containers drill at ~1.43, assets at ~1.21.
- The fill is measured on the node being zoomed into (under the pointer, or
  for button/keyboard zoom the selected node or the drillable node nearest
  the canvas centre), not the widest card in the scene.
- Button/keyboard zoom picks the drillable node nearest the centre within the
  middle half of the canvas on each axis, instead of drilling only when a
  single drillable node is in view.
- A drill waits 250ms for the zoom to settle; any further move, a pan
  included, restarts or cancels it.

* Lineage nodes: every title in primary text

Only the base node's title used link-primary; the rest used link-gray, whose
tertiary text read washed out on dark node cards (gray-400 on raised).
All titles now use link-primary in both themes, so the titleColor prop is
gone.

* Lineage nodes: node-level DQ badge counts in primary text

The node footer sets no colour, so the node's test summary counts inherited
React Flow's fixed #222 node text, dark on dark cards, while the column rows'
counts were light. The badge now sets primary text itself.

* Lineage: stop re-rendering every node and handler consumer per drag frame

Dragging a node and holding it at the canvas edge (React Flow auto-pans)
crashed the entity lineage page with "Maximum update depth exceeded" in about
half of runs; it reproduces on main too.
- EntityLineageCanvas gave every node a fresh `data` object whenever `nodes`
  changed, which is every drag frame, so every node re-rendered. Each node now
  keeps its extended data until its own data changes.
- The handlers context was rebuilt per frame (several handlers depend on
  `nodes`), re-rendering every consumer (~1000 renders of the search box per
  drag). It now holds stable wrappers that call the latest handler.
- LineageSearchSelect subscribed to the whole store and reset its options on
  every node change; it selects only what it renders and builds options on open.

Crash rate in a headless repro went from ~1 in 2 to ~1 in 8, the same as
passing nodes to React Flow unwrapped. The rest is the controlled-node round
trip per auto-pan frame; making the drag uncontrolled is a follow-up.

* Lineage: address self-review — search filter on reopen, identity tests

- LineageSearchSelect rebuilds options on open; typing into the focused
  input reopens the menu after the filter for that text was queued, and
  the rebuild cancelled it, so a single keystroke or paste showed the
  unfiltered list. Opening now applies the current search text.
- Regression tests: the keystroke-after-close case (fails on the previous
  commit, passes on main), the handlers context staying the
  same object when nodes change, and EntityLineageCanvas keeping each
  node's extended data across a position-only change. Each fails without
  its fix.
- Comments trimmed to the reason.

* Lineage: address bot review — empty-service drills, live search options, ADR

- Unaimed drills (zoom button/keyboard, the Data Assets rail) pick only a
  drillable node with children near the centre, sharing the predicate
  getRailDrillFallbackNode already used. The scene API marks empty containers
  expandable, so the centre fallback could open an empty service; the rail
  again falls back to a service with assets.
- LineageSearchSelect follows nodes added or removed while its menu is open,
  via a node-id key that drag-only updates leave unchanged. The search filter
  moves to LineageSearchSelect.utils.ts; its test uses a real zustand store
  so subscriptions behave as in the app.
- Record ADR:2026-10-27-lineage-semantic-zoom-drills-at-35-percent-after-settling
  and cite it at the constants.

(cherry picked from commit 4ada25a)

Co-authored-by: Chirag Madlani <[email protected]>
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.

1 participant