-
Notifications
You must be signed in to change notification settings - Fork 6
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
CARDS-2618: Replace Livetable with MaterialReactTable in administration screens #1868
base: dev
Are you sure you want to change the base?
Conversation
…on screens Add data to the Subject Types table on successfull creation
This comment was marked as resolved.
This comment was marked as resolved.
modules/data-entry/src/main/frontend/src/dataHomepage/EditButton.jsx
Outdated
Show resolved
Hide resolved
modules/data-entry/src/main/frontend/src/dataHomepage/EditButton.jsx
Outdated
Show resolved
Hide resolved
modules/data-entry/src/main/frontend/src/dataHomepage/EditButton.jsx
Outdated
Show resolved
Hide resolved
modules/data-entry/src/main/frontend/src/questionnaire/SubjectTypeDialog.jsx
Outdated
Show resolved
Hide resolved
modules/homepage/src/main/frontend/src/adminDashboard/AdminResourceListing.jsx
Outdated
Show resolved
Hide resolved
<Box sx={{ display: 'flex', flexWrap: 'nowrap', float: 'right'}}> | ||
<EditButton | ||
entryType={entryType} | ||
entryPath={row.original["@path"]} | ||
admin | ||
/> | ||
<ExportButton | ||
entryPath={row.original["@path"]} | ||
entryName={row.original.title} | ||
entityData={row.original} | ||
entryType={entryType} | ||
size="medium" | ||
/> | ||
<DeleteButton | ||
entryPath={row.original["@path"]} | ||
entryName={row.original.title} | ||
onComplete={dialogSuccess} | ||
entryType={entryType} | ||
admin | ||
/> |
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.
Is there a way to generate the buttons in the AdminResourceListing
component like we used to do with the LiveTable?
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'd rather not. We have custom onClick
, onComplete
actions tailored to each component. Also we have just 2 places of makeActions now. For development convenience it is easier to see and change what each button do in the component for now. New Admin pages don't appear that often.
…on screens Addressed codereview comments: better naming for props in use
…on screens Addressed codereview comments: refactoring EditButton code
64d40ba
to
f7efce5
Compare
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
modules/data-entry/src/main/frontend/src/dataHomepage/Questionnaires.jsx
Show resolved
Hide resolved
modules/homepage/src/main/frontend/src/adminDashboard/AdminResourceListing.jsx
Outdated
Show resolved
Hide resolved
…on screens Addressed codereview comments: Custom filtering for Clinics page, exact match of names
…on screens Addressed codereview comments: Better exact mach filtering for all tables except custom filtering
modules/data-entry/src/main/frontend/src/questionnaire/SubjectTypeDialog.jsx
Outdated
Show resolved
Hide resolved
…on screens Addressed codereview comments: Enabling sorting
modules/data-entry/src/main/frontend/src/dataHomepage/SubjectTypes.jsx
Outdated
Show resolved
Hide resolved
modules/data-entry/src/main/frontend/src/dataHomepage/SubjectTypes.jsx
Outdated
Show resolved
Hide resolved
modules/data-entry/src/main/frontend/src/dataHomepage/SubjectTypes.jsx
Outdated
Show resolved
Hide resolved
modules/data-entry/src/main/frontend/src/dataHomepage/SubjectTypes.jsx
Outdated
Show resolved
Hide resolved
modules/data-entry/src/main/frontend/src/dataHomepage/SubjectTypes.jsx
Outdated
Show resolved
Hide resolved
modules/data-entry/src/main/frontend/src/dataHomepage/SubjectTypes.jsx
Outdated
Show resolved
Hide resolved
modules/data-entry/src/main/frontend/src/dataHomepage/SubjectTypes.jsx
Outdated
Show resolved
Hide resolved
…on screens Addressed codereview comments: Diplay description as formatted text
modules/statistics/src/main/frontend/src/Statistics/AdminStatistics.jsx
Outdated
Show resolved
Hide resolved
This comment was marked as resolved.
This comment was marked as resolved.
…on screens Addressed codereview comments: Disable sorting for certain columns
This comment was marked as resolved.
This comment was marked as resolved.
…on screens Addressed codereview comments: Better column names
…on screens Addressed codereview comments: Added pattern column to the Subject types table
…on screens Removed duplicated line Co-authored-by: Marta Girdea <[email protected]>
…on screens Addressed codereview comments: Fixed typo
modules/data-entry/src/main/frontend/src/dataHomepage/Questionnaires.jsx
Outdated
Show resolved
Hide resolved
…on screens Better styling for table questionnaire description Co-authored-by: Marta Girdea <[email protected]>
…on screens Addressed codereview comments: Correct sorting in stat table
…on screens Removed tabs
CARDS-2618: Replace Livetable with MaterialReactTable in administration screens
Affected Administration components:
Dataflow change:
On the Subject types page the newly created subjet type immediately appears in the table after successful creation