stable

Clone or download

Read-only

Cleanup the pullrequest-comments lib

part of story #31143 Add the pull-request description as first possible comment Given the recent additions to the lib, I realized that main.ts became more and more cluttered over time due to the exports of all the different components and their own stuff to make them work. I've decided to have a main.ts file in each component folder to hold their respective exports. The root main.ts file now only exports what's exported from these files + the styles and the global types. Regarding the styles, I've moved PullRequestComment's scss into a dedicated file, making style.scss only perform imports. -- no functional change expected -- Change-Id: I327025c25c43da09d39c25f0dac91761c2414924

Modified Files

Name
A plugins/pullrequest/scripts/lib/pullrequest-comments/src/comment/main.ts +38 −0 Go to diff View file
A plugins/pullrequest/scripts/lib/pullrequest-comments/src/description-comment/main.ts +24 −0 Go to diff View file
M plugins/pullrequest/scripts/lib/pullrequest-comments/src/main.ts +4 −42 Go to diff View file
A plugins/pullrequest/scripts/lib/pullrequest-comments/src/new-comment-form/main.ts +29 −0 Go to diff View file
A plugins/pullrequest/scripts/lib/pullrequest-comments/src/skeleton/main.ts +23 −0 Go to diff View file
A plugins/pullrequest/scripts/lib/pullrequest-comments/themes/includes/_comment.scss +221 −0 Go to diff View file
M plugins/pullrequest/scripts/lib/pullrequest-comments/themes/style.scss +1 −203 Go to diff View file