-
{{[[TODO]]}} voice notes - prep for demo well-structured demo
-
{{[[DONE]]}} confirm time w/ [[(hidden) tv1zOVzED]]
-
-
{{[[TODO]]}} open demo in vscode
-
-
{{[[TODO]]}} links
-
{{[[TODO]]}} pre-open
-
{{[[TODO]]}} post to slack
-
sharing the links i'll use in the codemods demo in advance:
[1] codemods repo - https://github.com/pipedrive/CodeshiftCommunity/tree/fork/community
[2] what's new in cui5 - https://cui.pipedrive.tools/v5/?path=/docs/documentation-what-s-new-in-cui-5--page
[3] getting started w/ cui5 - https://cui.pipedrive.tools/v5/?path=/docs/documentation-getting-started--page
/@pipedrive__convention-ui-react
[4] migration-help channel - #migration-help-cui4-to-cui5
-
{{[[TODO]]}} more?
-
-
record
-
mute pls
-
overview
-
what is a codemod
-
what is it good for
-
what they are not
-
{{[[TODO]]}} small demos to show what's going on
-
take questions
-
proper demo
-
show codemods repo install process
-
{{[[TODO]]}} have preselected migration repo (library to have cui as standalone)
-
(?) install cui5 to see errors
-
run codemods
-
{{[[TODO]]}} have already-ran repo ready to avoid waiting
-
git diff -u -b
-
mention that you'll want to run your linter afterwards
-
give over to [[(hidden) tv1zOVzED]] to explain what else needs to be done when you're migrating
-
-
take questions
-
ask to try them out & give feedback
-
~~a few more small things~~ future plans
-
fork vs separate repo & inner source
-
fe docs
-
knowledge sharing & help on writing your own codemods for your libraries
-
eliminating some of the limitations
-
-
-
from chat w/ [[(hidden) pHco5hQZn]]
-
-
-
transform to update the import name to specify the number
-
-
thinking now about quickly implementing the graph-aware stuff lmao
-
{{[[TODO]]}} not that, but extract each transform into a separate codemod that you can run, and give it a name in [[(hidden) yfSgFo2gF]], and showcase that you can run individually
-
while still ofc keeping the group of codemods available as just `cui5`
-
(!) this is good because if we ship `alpha` (experimental) codemods, then we can put them as `cui5-alpha-` - people will now know that you can run them separately
-
okay now i wrote this out (how i'd have to implement it) and there's no way i can do it before the demo, so let's not do anything with it before we do the demo, just like it should've been.
-
-
-
observation:: when you're preparing for a [[demo]], stuff becomes very clear quite fast lol
-
{{[[DONE]]}} ((5ssdrAtcf)) 1/2
-
{{[[DONE]]}} fix commits
-
{{[[DONE]]}} move `wip-transforms` into `transforms`
-
{{[[DONE]]}} move `src/5.0.0/_boilerplate` into `src/boilerplate`
-
{{[[DONE]]}} add Meta to readme
-
not now
-
{{[[TODO]]}} merge 2/2
-
{{[[TODO]]}} clean up postcss transform (dir, layout, names etc)
-
{{[[TODO]]}} try out on actual .postcss/.scss before (at least for [[(hidden) tv1zOVzED]]'s PR)
-
{{[[TODO]]}} extend [[(hidden) tv1zOVzED]]'s css codemod to remove the no longer needed css imports
-
-
-
{{[[DONE]]}} investigate reported issue by [[(hidden) 04oQOtp3e]]
-
https://pipedrive.slack.com/archives/C02LK8Y583D/p1641914908004100?thread_ts=1641893745.002800&cid=C02LK8Y583D
-
https://github.com/pipedrive/docbase-ui
-
mitigated for the time being - can run codemods again, but now with the `tsx` parser
-
{{[[TODO]]}} will later need to investigate parsers #[[(hidden) XEbAy1sYy]]
-
-
{{[[DONE]]}} another issue after updating (merging upstream) (i think) - if there's an error e.g. typescript fails to compile, the codemod run fails silently, w/o reporting the error #[[(hidden) YU9N4LSCL]]
-
-
((Ty_dCgL4d))
-
on development - focus on maintenance / extracting into separate repo, instead of shipping new features
-
also especially focus on getting the PRs merged into upstream, because they'll be blockers later
-
{{[[TODO]]}} setup [[(hidden) 9y6zKCUgH]], when we have our own repo
-
-
(hidden) ExsFnreoj #[[(hidden) 7c2C8PgIV]]
-
-
-