You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(course-outline): add inline rename functionality for components in UnitCard (#101)
* feat(course-outline): enhance ComponentMenu and UnitCard with rename functionality
- Introduced a new inline rename feature for components in UnitCard, allowing users to edit component names directly.
- Updated ComponentMenu to manage menu state and actions more effectively, including closing menus when another is opened.
- Added tests to verify the new rename functionality and menu behavior.
- Enhanced styles for better UI/UX in the component layout.
- Added new messages for internationalization related to renaming components.
* fix(course-outline): simplify hooks by removing unitId parameter
- Updated hooks in AddComponentWidget, ComponentMenu, and UnitCard to eliminate the unitId parameter, streamlining their usage.
- Adjusted related components to ensure compatibility with the new hook signatures.
- Improved code readability and maintainability by reducing complexity in hook implementations.
0 commit comments