Fix/rename js calendar to atwork#1199
Conversation
There was a problem hiding this comment.
Pull request overview
This PR renames the "js calendar"/"jscalendar" application icon to "atwork" across the codebase. The change is comprehensive, updating all references in component files, tests, and stories.
Key Changes:
- Renamed component from
JsCalendartoAtWorkwith corresponding file rename - Updated icon data export from
jscalendartoatwork - Updated all import statements, type definitions, and test references
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
src/molecules/ApplicationIcon/Icons/Atwork.tsx |
Renamed component from JsCalendar to AtWork, updated import from jscalendar to atwork, reformatted component declaration |
src/molecules/ApplicationIcon/ApplicationIconCollection.tsx |
Renamed icon data export from jscalendar to atwork |
src/molecules/ApplicationIcon/ApplicationIcon.tsx |
Updated import statement, type definition, and app configuration to use new AtWork component and atwork name |
src/molecules/ApplicationIcon/ApplicationIcon.test.tsx |
Updated import and test data references from jscalendar to atwork |
src/molecules/ApplicationIcon/ApplicationIcon.stories.tsx |
Updated story options from jscalendar to atwork |
Comments suppressed due to low confidence (1)
src/molecules/ApplicationIcon/Icons/Atwork.tsx:26
- The displayName should match the component name 'AtWork' for consistency. Currently it's set to 'atWork' (lowercase 'a') while the component is named 'AtWork' (uppercase 'A'). This inconsistency can cause confusion during debugging and when using React DevTools.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Coverage Report
File Coverage
|
||||||||||||||||||||||||||||||||||||||||||||
|
There are some recent changes in the application icon component, so you need to fix the conflicts 👁️ 👁️ |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 5 out of 5 changed files in this pull request and generated no new comments.
Comments suppressed due to low confidence (1)
src/molecules/ApplicationIcon/Icons/Atwork.tsx:26
- The displayName should match the component name exactly. Based on the pattern used in other icon components (e.g., Sam.displayName = 'Sam', JsEmbark.displayName = 'JsEmbark', FourDInsight.displayName = 'FourDInsight'), this should be 'AtWork' instead of 'atWork'.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Azure DevOps links
User story
Description
Change name js calendar to atwork.