-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added event handlers and a Redux store for cooperation (#2061)
* Added event handlers and a Redux store for cooperation * skip tests * Deleted context and added updateAvailabilityStatus for all resources * skip test * Rewrote spec for ProfileInfo.jsx container #2073 * Combined lessons, quizzes, attachments into 'activities' array in cooperation store #2085 (#2168) * Combined lessons, quizzes, attachments into 'activities' array in cooperation store #2085 * Rewrote spec for CooperationActivitiesList.tsx container #2075 * Added spec for "CourseSectionContainer" container #2071 * Added spec for "CourseSectionsList" container #2072 * Refactored: activities -> resources in Cooperation * Refactored Cooperation & Course to apply requested changes * Fixed tests after Cooperation & Course updates * Fixed date serialization and mask input issues in DatePicker component (#2303) * Replaced functionality of create course in order to use new handlers #2070 * Rewrote spec for CreateCourse.tsx page #2323 * Added error message on saving section without title or description in cooperation #2327 (#2334) * Added error message on saving section without title or description in cooperation #2327 * Rewrote spec for CooperationActivities container * Refactored CooperationActivities to utilize useAxios * Added event handlers and a Redux store for cooperation * skip tests * Deleted context and added updateAvailabilityStatus for all resources * skip test * Rewrote spec for ProfileInfo.jsx container #2073 * Combined lessons, quizzes, attachments into 'activities' array in cooperation store #2085 (#2168) * Combined lessons, quizzes, attachments into 'activities' array in cooperation store #2085 * Rewrote spec for CooperationActivitiesList.tsx container #2075 * Added spec for "CourseSectionContainer" container #2071 * Added spec for "CourseSectionsList" container #2072 * Fixed failing test in CreateCourse page * Integrated the "CheckboxWithTooltip" component into the modals in the Course & Cooperation * Added the possibility to add a resource to a Cooperation in two ways: by duplicating or linking * Added spec for cooperationsSlice & improved coverage CheckboxWithTooltip, CourseSectionContainer, CooperationActivitiesList * Added the possibility to add a resource to a Course in two ways: by duplicating or linking * Rewrote CreateCourse spec to improve code coverage * Updated icon display based on resource addition method (link & copy) #2370 * Disabled already linked resources in Course/Cooperation in choose resources modals #2367 * Fixed drag-and-drop functionality and unique ID generation * Resolved BSONTypeError when adding duplicate resources to Course/Cooperation * Created utility function isValidUUID and spec * Updated coverage of tests * Deleted problem test in spec on Create Course page
- Loading branch information
1 parent
189f1d0
commit 68cbb29
Showing
75 changed files
with
3,779 additions
and
1,233 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 6 additions & 2 deletions
8
src/components/enhanced-table/enhanced-table-row/EnhancedTableRow.styles.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
import palette from '~/styles/app-theme/app.pallete' | ||
|
||
export const styles = { | ||
row: (isSelected: boolean, isRowOnClick = false) => ({ | ||
row: (isSelected: boolean, isRowOnClick = false, isDisableRow = false) => ({ | ||
...(isRowOnClick && { cursor: 'pointer' }), | ||
...(isSelected && { background: palette.basic.grey }), | ||
'&:hover .addCategory': { | ||
visibility: 'visible' | ||
} | ||
}, | ||
...(isDisableRow && { | ||
pointerEvents: 'none', | ||
opacity: 0.5 | ||
}) | ||
}) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.