Open ivan-kocienski-gfsc opened 9 months ago
Found a relevant-ish guide that could work here
It's for the Komponent gem but I think could work as well for mountain_view
Found a relevant-ish guide that could work here It's for the Komponent gem but I think could work as well for
mountain_view
Yeah sadly I think this is a manual job to do one bit at a time esp as we have already started making new components in view_component.
It's making me realise though we should make a definition of done here, also encompassing this: https://github.com/geeksforsocialchange/PlaceCal/issues/2562
For me each component should have all its files in one directory (i.e. model, js, css and html in one folder), and also not have that _component
suffix as that's already implied with the directory structure. What do you think?
Use case
mountain_view
gem has not scaled at all well and has a bunch of weird issues with integrating with javascript things.we therefore need to migrate to a newer solution,
view_component
this is a very repetative tech debt job.
Acceptance criteria
Step 1
Convert the following existing mountain view components to ViewComponents.
Probably makes sense to do about 5 per PR - this ticket will take multiple PRs.
Step 2
Places where mountain view is called