Skip to content

Commit 4f7cd1c

Browse files
committed
fix codegroup missing tag
1 parent 64a0289 commit 4f7cd1c

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

docs/3.0/upgrade.md

+16
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,8 @@ If you want to keep `Contained in` option on arrays and tags filters you should
361361
First iteration of multiple action flux was using `redirect_to` with `turbo_frame: "actions_show"`. With the update to turbo 8 the redirect was giving some troubles and we decided that is time to improve this experience with a proper response type, [`navigate_to_action`](actions.html#navigate_to_action).
362362

363363
If you have a multiple action flux implemented with `redirect_to` you should change it to [`navigate_to_action`](actions.html#navigate_to_action).
364+
365+
364366
</Option>
365367

366368
<Option name="Action `link_arguments` method">
@@ -525,21 +527,29 @@ class Avo::Cards::ExampleAreaChart < Avo::Cards::ChartkickCard
525527
class Avo::Cards::ExampleBarChart < Avo::Cards::ChartkickCard
526528
# ...
527529

530+
528531
```
532+
529533
</Option>
530534

531535

536+
532537
## Upgrade from 3.0.1.beta22 to 3.0.1.beta23
538+
533539
<Option name="Caching">
534540

535541
Since there are many available cache stores and we were allowing only few we changed the way of computing the cache store to be used by Avo.
536542

537543
One of our concerns was to maintain the status quo, but if you notice any caching issues there is a new configurable option [`config.cache_store`](cache#custom-selection) that allows you to tell Avo what `cache_store` to use.
538544

545+
539546
Check [cache page](cache) for more details.
547+
540548
</Option>
541549

550+
542551
## Upgrade from 3.0.1.beta8 to 3.0.1.beta9
552+
543553
<Option name="Heading as field">
544554

545555
Heading option changed declaration mode, one of the main reasons for this change is to be able to generate a clear `data-field-id` on the DOM
@@ -557,12 +567,16 @@ field :personal_information, as: :heading # data-field-id == "personal_inf
557567
field :heading, as: :heading, label: "Contact" # data-field-id == "heading"
558568
field :dev, as: :heading, as_html: true, label: '<div class="underline uppercase font-bold">DEV</div>'
559569
```
570+
560571
:::
572+
561573
</Option>
562574

563575
<Option name="Badge field `secondary` option renamed to `neutral`">
564576

577+
565578
We believe that the term `neutral` better reflects the intended use.
579+
566580
:::code-group
567581
```ruby {8} [Before]
568582
field :stage,
@@ -610,7 +624,9 @@ class Avo::Resources::User < Avo::BaseResource
610624
field :email, as: :gravatar, link_to_record: true
611625
end
612626
end
627+
:::
613628
```
629+
:::
614630
</Option>
615631

616632
## Upgrade from 3.0.1.beta5 to 3.0.1.beta6

0 commit comments

Comments
 (0)