Skip to content

feat(Tenants): add onEditDB to uiFactory, add edit button#2305

Merged
artemmufazalov merged 2 commits intomainfrom
2096-edit-db
May 21, 2025
Merged

feat(Tenants): add onEditDB to uiFactory, add edit button#2305
artemmufazalov merged 2 commits intomainfrom
2096-edit-db

Conversation

@artemmufazalov
Copy link
Copy Markdown
Member

@artemmufazalov artemmufazalov commented May 20, 2025

Part of #2096, edit form itself will be added internally

Screenshot 2025-05-20 at 17 56 26

CI Results

Test Status: ⚠️ FLAKY

📊 Full Report

Total Passed Failed Flaky Skipped
318 316 0 2 0

😟 No changes in tests. 😕

Bundle Size: ✅

Current: 83.57 MB | Main: 83.57 MB
Diff: +3.17 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.

Comment thread src/containers/Tenants/Tenants.tsx Outdated
defaultSwitcherProps={{
view: 'flat',
size: 's',
pin: 'brick-brick',
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

As I see in Figma, default pin should be used.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Fixed

isEditDBAvailable?: boolean;
isDeleteDBAvailable?: boolean;
}) {
return {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think, such a column should be sticky.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Created an issue for this to discuss and do it later: #2310

  1. I don't want to add any changes to table while Anton is solving performance issues and doing a lot of tables refactoring - it may cause conflicts
  2. I think it should be discussed it with the designer first
  3. For our tables it may require some tricky css, because there are no sticky columns in react-data-table by props. So I'd prefer to do it after our planned tasks will be done

@artemmufazalov artemmufazalov requested a review from Raubzeug May 21, 2025 13:05
@artemmufazalov artemmufazalov added this pull request to the merge queue May 21, 2025
Merged via the queue into main with commit 21c7126 May 21, 2025
7 checks passed
@artemmufazalov artemmufazalov deleted the 2096-edit-db branch May 21, 2025 14:33
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.

2 participants