Convert existing Script Runner dialogs to Composition API#2828
Draft
EmilyRagan wants to merge 11 commits intomainfrom
Draft
Convert existing Script Runner dialogs to Composition API#2828EmilyRagan wants to merge 11 commits intomainfrom
EmilyRagan wants to merge 11 commits intomainfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2828 +/- ##
==========================================
- Coverage 78.25% 78.23% -0.02%
==========================================
Files 673 673
Lines 55191 55191
Branches 728 728
==========================================
- Hits 43190 43181 -9
- Misses 11923 11932 +9
Partials 78 78
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
d1687ef to
8976a4c
Compare
8976a4c to
bdd1bc7
Compare
bdd1bc7 to
f980aab
Compare
f980aab to
1c673bb
Compare
|
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




The is the beginning of the transition to Composition API, starting with Script Runner. Existing dialog components were very easy to convert using Claude. The diffs are unfortunately too great to sync up the lines, but the changes are straightforward:
props.<propName>within the script, instead ofthis.<propName><computedName>.valuewithin the script, instead ofthis.<computedValue>const<dataName>.valuewithin the script, instead ofthis.<dataName>this.createdlifecycle hook is replaced byonMountedfor some cases, immediate initialization in other cases