@lokalise/comments-ui v1.1.1
Comments Sidebar
A sidebar component that displays Lokalise projects', keys', and translations' comments and provides callbacks to perform comments CRUD operations as well comments list interactions.
How to develop locally
We will be using yalc to symlink the Comments Sidebar package locally in your application. The following steps assuming you're using it in lokalise-main app. but you can follow the same procedures with any other app. like review-center
- Run
npm run dev
The package will be built and published to store when you see the following message:-
@lokalise/comments-sidebar@X.X.X published in store.- In your app (in this example lokalise-ui), add the package using yalc
cd lokalise-main/services/app/lokalise-ui
npx yalc add @lokalise/comments-sidebarThe script will copy the current version to .yalc folder and update your package.json with file:.yalc/@lokalise/comments-sidebar
- To install
@lokalise/comments-sidebarpeer depedncies
npm iIn your app, start importing
CommentsSidebarcomponent, your IDE shall pick it up from@lokalise/comments-sidebarAny changes in
lokalise-comments-sidebarproject, will be built and copied automatically to your dependent project.Don't forget to discard any changes in your dependent project after finishing your changes testing