Skip to content

Conversation

@Raubzeug
Copy link
Contributor

@Raubzeug Raubzeug commented Sep 1, 2025

closes #2778

CI Results

Test Status: ⚠️ FLAKY

📊 Full Report

Total Passed Failed Flaky Skipped
378 372 0 4 2
Test Changes Summary ⏭️2

⏭️ Skipped Tests (2)

  1. Scroll to row, get shareable link, navigate to URL and verify row is scrolled into view (tenant/diagnostics/tabs/queries.test.ts)
  2. Copy result button copies to clipboard (tenant/queryEditor/queryEditor.test.ts)

Bundle Size: ✅

Current: 85.38 MB | Main: 85.38 MB
Diff: +1.53 KB (0.00%)

✅ Bundle size unchanged.

ℹ️ CI Information
  • Test recordings for failed tests are available in the full report.
  • Bundle size is measured for the entire 'dist' directory.
  • 📊 indicates links to detailed reports.
  • 🔺 indicates increase, 🔽 decrease, and ✅ no change in bundle size.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds object path manipulation support to the YDB Embedded UI API layer. The implementation introduces a new getSchemaPath method to the base API class and updates multiple viewer API methods to use this path transformation instead of passing paths directly.

  • Adds getSchemaPath method to BaseYdbAPI class for path manipulation
  • Updates 12 viewer API methods to use the new path transformation
  • Maintains backward compatibility with current path handling

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/services/api/base.ts Adds getSchemaPath method to base API class for path manipulation
src/services/api/viewer.ts Updates all viewer API methods to use getSchemaPath for path parameter transformation

getPath(path: string) {
return `${BACKEND ?? ''}${path}`;
}

Copy link

Copilot AI Sep 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The getSchemaPath method lacks documentation explaining its purpose, parameters, and return value. Add JSDoc comments to clarify the method's role in path manipulation and how it should be overridden in subclasses.

Copilot uses AI. Check for mistakes.
@Raubzeug Raubzeug added this pull request to the merge queue Sep 1, 2025
Merged via the queue into main with commit c958893 Sep 1, 2025
7 checks passed
@Raubzeug Raubzeug deleted the schema-path branch September 1, 2025 11:14
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.

Support relative schema objects paths

3 participants