-
Notifications
You must be signed in to change notification settings - Fork 17
feat(Tenants): add onEditDB to uiFactory, add edit button #2305
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
Conversation
src/containers/Tenants/Tenants.tsx
Outdated
| defaultSwitcherProps={{ | ||
| view: 'flat', | ||
| size: 's', | ||
| pin: 'brick-brick', |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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 { |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
- 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
- I think it should be discussed it with the designer first
- 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
Part of #2096, edit form itself will be added internally
CI Results
Test Status:⚠️ FLAKY
📊 Full Report
😟 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