Skip to content

fix(Tenant): fix tabs reset on schema object change #1881

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 30, 2025

Conversation

artemmufazalov
Copy link
Member

@artemmufazalov artemmufazalov commented Jan 27, 2025

Closes #1880

Stand: https://nda.ya.ru/t/V1P0upfw7BXe2E

CI Results

Test Status: ⚠️ FLAKY

📊 Full Report

Total Passed Failed Flaky Skipped
262 260 0 2 0

😟 No changes in tests. 😕

Bundle Size: ✅

Current: 80.19 MB | Main: 80.19 MB
Diff: +3.04 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.

@artemmufazalov artemmufazalov marked this pull request as draft January 27, 2025 15:00
@artemmufazalov artemmufazalov force-pushed the 1880-fix-tabs-reset branch 2 times, most recently from 88fd814 to 0101a66 Compare January 29, 2025 19:31
Comment on lines +110 to +115
const currentPathType =
currentItem?.PathDescription?.Self?.PathType ??
preloadedData?.PathDescription?.Self?.PathType;
const currentPathSubType =
currentItem?.PathDescription?.Self?.PathSubType ??
preloadedData?.PathDescription?.Self?.PathSubType;
Copy link
Member Author

@artemmufazalov artemmufazalov Jan 29, 2025

Choose a reason for hiding this comment

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

Use type and sub type from object parent's Children field.

On initial load there will be loader and tabs will be rendered with full data. Further preloaded data from schema tree will be used to correctly render tabs

@artemmufazalov artemmufazalov marked this pull request as ready for review January 29, 2025 20:14
@artemmufazalov artemmufazalov added this pull request to the merge queue Jan 30, 2025
Merged via the queue into main with commit 4dd053d Jan 30, 2025
8 checks passed
@artemmufazalov artemmufazalov deleted the 1880-fix-tabs-reset branch January 30, 2025 17:12
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.

"tablets" drops selection
2 participants