Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump avo-advanced from 3.16.2 to 3.16.5 in the avo group #5419

Merged
merged 3 commits into from
Feb 1, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 37 additions & 21 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
GEM
remote: https://packager.dev/avo-hq/
specs:
avo-advanced (3.16.2)
avo (= 3.16.2)
avo-dynamic_filters (= 3.16.2)
avo-pro (= 3.16.2)
avo-advanced (3.16.5)
avo (= 3.16.5)
avo-dynamic_filters (= 3.16.5)
avo-pro (= 3.16.5)
zeitwerk (>= 2.6.12)
avo-dashboards (3.16.2)
avo (= 3.16.2)
avo-dashboards (3.16.5)
avo (= 3.16.5)
turbo-rails
view_component (>= 3.7.0)
zeitwerk (>= 2.6.12)
avo-dynamic_filters (3.16.2)
avo (= 3.16.2)
avo-dynamic_filters (3.16.5)
avo (= 3.16.5)
ransack (>= 4.2.0)
view_component (>= 3.7.0)
zeitwerk (>= 2.6.12)
avo-menu (3.16.2)
avo (= 3.16.2)
avo-menu (3.16.5)
avo (= 3.16.5)
docile
zeitwerk (>= 2.6.12)
avo-pro (3.16.2)
avo (= 3.16.2)
avo-dashboards (= 3.16.2)
avo-menu (= 3.16.2)
avo-pro (3.16.5)
avo (= 3.16.5)
avo-dashboards (= 3.16.5)
avo-menu (= 3.16.5)
zeitwerk (>= 2.6.12)

GEM
Expand Down Expand Up @@ -116,7 +116,7 @@ GEM
ffi-compiler (~> 1.0)
ast (2.4.2)
attr_required (1.0.2)
avo (3.16.2)
avo (3.16.5)
actionview (>= 6.1)
active_link_to
activerecord (>= 6.1)
Expand All @@ -129,6 +129,7 @@ GEM
prop_initializer (>= 0.2.0)
turbo-rails (>= 2.0.0)
turbo_power (>= 0.6.0)
universalid
view_component (>= 3.7.0)
zeitwerk (>= 2.6.12)
avo_upgrade (0.1.1)
Expand Down Expand Up @@ -174,6 +175,7 @@ GEM
msgpack (~> 1.2)
brakeman (7.0.0)
racc
brotli (0.6.0)
browser (6.2.0)
builder (3.3.0)
byebug (11.1.3)
Expand Down Expand Up @@ -203,6 +205,9 @@ GEM
coderay (1.1.3)
compact_index (0.15.0)
concurrent-ruby (1.3.5)
config (5.5.2)
deep_merge (~> 1.2, >= 1.2.1)
ostruct
connection_pool (2.5.0)
cose (1.3.1)
cbor (~> 0.5.9)
Expand All @@ -225,6 +230,7 @@ GEM
msgpack
datadog-ruby_core_source (3.3.7)
date (3.4.1)
deep_merge (1.2.2)
derailed_benchmarks (2.2.1)
base64
benchmark-ips (~> 2)
Expand Down Expand Up @@ -841,6 +847,12 @@ GEM
unicode-display_width (3.1.4)
unicode-emoji (~> 4.0, >= 4.0.4)
unicode-emoji (4.0.4)
universalid (0.1.7)
activesupport (>= 6.1)
brotli (>= 0.4)
config (>= 5.0)
msgpack (>= 1.7)
zeitwerk (>= 2.6)
unpwn (1.0.0)
bloomer (~> 1.0)
pwned (~> 2.0)
Expand Down Expand Up @@ -1037,12 +1049,12 @@ CHECKSUMS
argon2 (2.3.0) sha256=980ef65172bf512ad37b6cbb0d61eef40b6dccab6a7db4e70557527e1dce9557
ast (2.4.2) sha256=1e280232e6a33754cde542bc5ef85520b74db2aac73ec14acef453784447cc12
attr_required (1.0.2) sha256=f0ebfc56b35e874f4d0ae799066dbc1f81efefe2364ca3803dc9ea6a4de6cb99
avo (3.16.2) sha256=5c9b4a46c45c62bb4b05d9c19b252f8a9ad1507909b40ba1a2beb78798a67ace
avo-advanced (3.16.2) sha256=77cbaae4a6cb80400525eea25c2a908416a67cabcd262f3b4ee9d6eb07ac2685
avo-dashboards (3.16.2) sha256=2346a58707da7eb244116ec197a924761252ecfa58f163d35d1910b1c65c28ba
avo-dynamic_filters (3.16.2) sha256=e4dd00b9e847ae46a93984caf97a1c81ec2089c833effff402b87fdc6f6fa9e6
avo-menu (3.16.2) sha256=4cc0ebb343d7137de6e49ce573c97eb50af41f216bb2cd7e1ec6655bbc95d1f1
avo-pro (3.16.2) sha256=354519136d1c699851200bb87819ead63a559b2985ff7ca39441ae9486b690e8
avo (3.16.5) sha256=88b27658e9dff19541b2807c629d29c8d122bcff855864468f4bb8f0bbc79512
avo-advanced (3.16.5) sha256=dffb49577e4ac19ac39c5c082664f880f9d1af9227d9dd1f7d0af3637cd12e47
avo-dashboards (3.16.5) sha256=7d7aeb132b3ca9266969bca4259d0dc415d074c9822f27fd18351473c57bdfcd
avo-dynamic_filters (3.16.5) sha256=e690eee0a81376f73f7711f4749ec219eb02a8b93c6be1401699f886d352ff25
avo-menu (3.16.5) sha256=8a31565f529bf946b6a4a18d1c50e3c25ecbb801e215f537b8c3f75c44c2dddd
avo-pro (3.16.5) sha256=91328c1b48fc4906733708c4c987f8049c708e37118b04e8c8285621438c2e2b
avo_upgrade (0.1.1) sha256=8d841083b9956392f5c8fe195f25bec0d139e3646d276f8a59e66b7d2e9ebf30
aws-eventstream (1.3.0) sha256=f1434cc03ab2248756eb02cfa45e900e59a061d7fbdc4a9fd82a5dd23d796d3f
aws-partitions (1.1043.0) sha256=9003e45467bb41d30df529742a5721fbeba9e6bd7428058e5e3783c29fa497f8
Expand All @@ -1062,6 +1074,7 @@ CHECKSUMS
bloomer (1.0.0) sha256=57a0d3a78628db9a92c6723f06c67697e420abcdb05aa757c6dfae607251d272
bootsnap (1.18.4) sha256=ac4c42af397f7ee15521820198daeff545e4c360d2772c601fbdc2c07d92af55
brakeman (7.0.0) sha256=1a0122b0c70f17519a61548a53a332c0acc19e3aa10b445e15e025a4b13b8577
brotli (0.6.0) sha256=279c9cbd306080c0b445577c73a6df2ef37af8b9d56e72a479867e0662739f3b
browser (6.2.0) sha256=281d5295788825c9396427c292c2d2be0a5c91875c93c390fde6e5d61a5ace2d
builder (3.3.0) sha256=497918d2f9dca528fdca4b88d84e4ef4387256d984b8154e9d5d3fe5a9c8835f
byebug (11.1.3) sha256=2485944d2bb21283c593d562f9ae1019bf80002143cc3a255aaffd4e9cf4a35b
Expand All @@ -1075,6 +1088,7 @@ CHECKSUMS
coderay (1.1.3) sha256=dc530018a4684512f8f38143cd2a096c9f02a1fc2459edcfe534787a7fc77d4b
compact_index (0.15.0) sha256=5c6c404afca8928a7d9f4dde9524f6e1610db17e675330803055db282da84a8b
concurrent-ruby (1.3.5) sha256=813b3e37aca6df2a21a3b9f1d497f8cbab24a2b94cab325bffe65ee0f6cbebc6
config (5.5.2) sha256=0d30782cf6b080bbdc5c2ee52b54455edee36a50f04fbb242542414b156b64d7
connection_pool (2.5.0) sha256=233b92f8d38e038c1349ccea65dd3772727d669d6d2e71f9897c8bf5cd53ebfc
cose (1.3.1) sha256=d5d4dbcd6b035d513edc4e1ab9bc10e9ce13b4011c96e3d1b8fe5e6413fd6de5
crack (1.0.0) sha256=c83aefdb428cdc7b66c7f287e488c796f055c0839e6e545fec2c7047743c4a49
Expand All @@ -1086,6 +1100,7 @@ CHECKSUMS
datadog-ci (1.12.0) sha256=9f1a5beed93c8b39d5ce1fc146d59e40aab4b9869dc919d8827e9a830b92c2ff
datadog-ruby_core_source (3.3.7) sha256=056ac0a49eae4eff9ed6babf35917c6033ce38e57dd4b8e6e814eb743186fae4
date (3.4.1) sha256=bf268e14ef7158009bfeaec40b5fa3c7271906e88b196d958a89d4b408abe64f
deep_merge (1.2.2) sha256=83ced3a3d7f95f67de958d2ce41b1874e83c8d94fe2ddbff50c8b4b82323563a
derailed_benchmarks (2.2.1) sha256=654280664fded41c9cd8fc27fc0fcfaf096023afab90eb4ac1185ba70c5d4439
diff-lcs (1.5.1) sha256=273223dfb40685548436d32b4733aa67351769c7dea621da7d9dd4813e63ddfe
discard (1.4.0) sha256=6efcd2a53ddf96781f81b825d398f1c88ab88c0faa84e131bea6e16ef95d65d0
Expand Down Expand Up @@ -1335,6 +1350,7 @@ CHECKSUMS
tzinfo (2.0.6) sha256=8daf828cc77bcf7d63b0e3bdb6caa47e2272dcfaf4fbfe46f8c3a9df087a829b
unicode-display_width (3.1.4) sha256=8caf2af1c0f2f07ec89ef9e18c7d88c2790e217c482bfc78aaa65eadd5415ac1
unicode-emoji (4.0.4) sha256=2c2c4ef7f353e5809497126285a50b23056cc6e61b64433764a35eff6c36532a
universalid (0.1.7) sha256=8d2376739592ee889abbea976a69f3e7f8e109389eb05076d88020a356ddcfeb
unpwn (1.0.0) sha256=6239d17d46a882b3719b24fb79c78a34caff89d57ab0f5e546be5b5c882bc7d3
uri (1.0.2) sha256=b303504ceb7e5905771fa7fa14b649652fa949df18b5880d69cfb12494791e27
user_agent_parser (2.18.0) sha256=aa943b91da8906cace7d3fe16b450c9d77b68f571485c11e577af97aecb25584
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def render?

def sorted_fields
@resource.only_fields
.reject { _1.is_a?(Avo::Fields::HasBaseField) }
.reject { _1.is_a?(Avo::Fields::HasManyBaseField) }
.sort_by.with_index { |f, i| [changes.key?(f.id.to_s) ? -1 : 1, i] }
end

Expand Down
4 changes: 3 additions & 1 deletion config/initializers/avo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@
# config.locale = 'en-US'

## == Resource options ==
config.resource_controls_placement = :left
config.resource_row_controls_config = {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry about the breaking change in a patch version. We'll be more careful from now on.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@adrianthedev Actually it was well documented. No worries. And the other change I had to update is AFAIK usage of private API, so all good. 💪

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!
When in doubt, first check the upgrade guide. We keep it up to date with changes.

placement: :left
}
# config.model_resource_mapping = {}
# config.default_view_type = :table
# config.per_page = 24
Expand Down
Loading