-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
feat: CSS Templates List #11189
feat: CSS Templates List #11189
Conversation
Codecov Report
@@ Coverage Diff @@
## master #11189 +/- ##
==========================================
- Coverage 65.61% 61.53% -4.09%
==========================================
Files 828 829 +1
Lines 39148 39194 +46
Branches 3589 3596 +7
==========================================
- Hits 25687 24117 -1570
- Misses 13350 14896 +1546
- Partials 111 181 +70
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
2debb94
to
1085dcb
Compare
1085dcb
to
420251d
Compare
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.
LGTM with a couple nits. LMK if you plan to address or if I should just merge
import waitForComponentToPaint from 'spec/helpers/waitForComponentToPaint'; | ||
// import { act } from 'react-dom/test-utils'; | ||
|
||
// store needed for withToasts(DatabaseList) |
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.
nit: incorrect comment
import CssTemplatesList from 'src/views/CRUD/csstemplates/CssTemplatesList'; | ||
import SubMenu from 'src/components/Menu/SubMenu'; | ||
import ListView from 'src/components/ListView'; | ||
// import Filters from 'src/components/ListView/Filters'; |
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.
nit: commented out code
import SubMenu from 'src/components/Menu/SubMenu'; | ||
import { IconName } from 'src/components/Icon'; | ||
import ActionsBar, { ActionProps } from 'src/components/ListView/ActionsBar'; | ||
// import ListView, { Filters } from 'src/components/ListView'; |
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.
nit: commented out code
{ | ||
Cell: ({ row: { original } }: any) => { | ||
const handleEdit = () => {}; // handleDatabaseEdit(original); | ||
const handleDelete = () => {}; // openDatabaseDeleteModal(original); |
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.
nit: incorrectly named and commented out code
count={templatesCount} | ||
data={templates} | ||
fetchData={fetchData} | ||
// filters={filters} |
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.
nit: commented out code
SUMMARY
ENABLE_REACT_CRUD_VIEWS
andSIP_34_CSS_TEMPLATES_UI
CssTemplatesList
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TEST PLAN
ADDITIONAL INFORMATION