Repository navigation
chore: remove Notice component and migrate mocks and tests to new Content styling - #1110
Conversation
jessicamcinchak
left a comment
There was a problem hiding this comment.
Great !
Clever approach to script all these .json updates as it's not a staightforward find+replace but actually required various prop/value changes !! Giving me ideas for how to better update all the mock breadcrumbs to have seq to for some outstanding sort/cloning work next 🌱
| Result = 3, | ||
| TaskList = 7, | ||
| Notice = 8, | ||
| // We retired Notice type 8, migrated in flow consent but retained in logs and flow history |
There was a problem hiding this comment.
typo: content not consent ?
There was a problem hiding this comment.
Woops, yes! Considering bumping, before I fix this, is there any clean way to get around the Wales PR #1094? planx-new bump fails CI because of it. Maybe only way is to rebase this onto an old commit?
There was a problem hiding this comment.
Seeing the -new PR 7752 here for the above, can just leave this cleanup PR until Wales work is merged!
There was a problem hiding this comment.
Ah sorry that's an annoying sequencing thing.
- Best option is to just rebase/merge the planx-new Wales counterpart I think chore: Pick up previous Bannau Brycheiniog / DataMapWales work planx-new#7752 (I can take this branch over quick since looks like Daf is out for afternoon and update shortly)
- Rebasing onto an older commit should work while both sides still on branches, but don't think it'll really solve anything once you want to merge this one to planx-core
main!
162e66b to
e888162
Compare
Removes retired Notice component and cleans up associated mocks and tests. Mirrors flow migrations:
8to type250"styleAsNotice": true,descriptiontocontenttitleh1/h2in content totitleh2toh1Component types migrated via
Content titles migrated via (see also respective flow migration here where this is copied from, minus tag insertion)