Raman-Katiyar commented on PR #21694:
URL: https://github.com/apache/echarts/pull/21694#issuecomment-6663604157

   Hi @plainheart @100pah, apologies for the long silence on this PR, and thank 
you for your patience.
   
   I opened this PR on 16 July, the same day I claimed #21686, but I did not 
follow up properly afterwards — that was my mistake, and I am sorry about it. I 
have now updated the PR:
   
   - Rebased onto the latest master.
   - Added a regression test in test/ut/spec/model/componentMissing.test.ts 
covering exactly this case (a { baseOption, media } option with no timeline): 
it fails on master with "Component timeline is used but not imported" and 
passes with this fix.
   - The full model unit test suite passes (4 suites, 49 tests), and npm run 
checktype and lint pass.
   
   In the meantime I have also seen #21749, which fixes the same issue in a 
different place: it guards checkMissingComponents in Global.ts so that 
null/undefined component options are not treated as used. This PR instead 
removes the root cause in OptionManager.parseRawOption, so the undefined 
timeline key is never written into baseOption in the first place.
   
   Could you please let me know which approach you prefer? If you prefer this 
root-cause fix, I am happy to retarget this PR to the release branch, as was 
done for #21749. If you prefer #21749, I will close this PR myself — I 
completely understand, as that PR has been kept up to date while mine was not.
   
   Could someone also please approve the workflow run for this PR so that CI 
can execute? It has not run yet because I am a first-time contributor.
   
   Thank you again for your time.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to