avo 4.4.0 → 4.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: af18a167483f1605048b055113e1dcbae22c4f8e3b6cca6dc9f47d616782912b
4
- data.tar.gz: eb193c640b65b76a6eaee39859b00e9a012b3a7f49666dd28615b2c595f34868
3
+ metadata.gz: 27862ae9342f6aa67558276a886b9d07123be6ead624eed2cbcca027d1f7096f
4
+ data.tar.gz: dfb811888d757cf83a91b0953749d59a6294fcb4d106a97c6a074b9cc75e6778
5
5
  SHA512:
6
- metadata.gz: efb2423180ec5493a7ce37656d4754f77ffdf2d5b32ee6024b5c2fb26fe3392cadb8660fa4438139742a0fb8d4374d9b3d45bcf6d08b981a0c93a8016db7ca82
7
- data.tar.gz: b5c9d57fc6c7f406e906b0c8acb2f71e4eaae5243024db2907eb9251df3ee9c724f7f3fd56c8c22621d868ad8ea6fc2b4c6121363b4234d70c4017c22d03f54c
6
+ metadata.gz: 230c3f3b6a6767ca37001f249c55d27a93f9cf79178fc99cfab8eca53251675378059ec1feb7421d625d52f81197787d0c877a16c43a48045ba29164f1d05aac
7
+ data.tar.gz: ae64090bf4c6a398797e844ede7f8e5e948786c95f8e88435576c6cec32e4e3a7d27f1cfd03f684d642e80dbdfa9c69b9670e47dda242ad571c3a9ba74a1e265
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- avo (4.4.0)
4
+ avo (4.4.2)
5
5
  actionview (>= 6.1)
6
6
  active_link_to
7
7
  activerecord (>= 6.1)
@@ -12605,23 +12605,44 @@ tag.tagify__tag {
12605
12605
  border-block-end: 2px solid var(--sidebar-link-active-background);
12606
12606
  }
12607
12607
  .sidebar-profile {
12608
- display: flex;
12609
- align-items: center;
12610
- gap: calc(var(--spacing) * 4);
12611
- padding-inline: calc(var(--spacing) * 4);
12612
- padding-block: calc(var(--spacing) * 2);
12613
- &:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *) {
12614
- flex-direction: row-reverse;
12615
- }
12608
+ position: relative;
12609
+ padding-inline: calc(var(--spacing) * 2);
12610
+ padding-block: var(--spacing);
12616
12611
  color: var(--sidebar-content);
12617
12612
  }
12618
- .sidebar-profile__body {
12613
+ .sidebar-profile .popover-menu {
12614
+ display: flex;
12615
+ width: 100%;
12616
+ }
12617
+ .sidebar-profile__trigger {
12619
12618
  display: flex;
12620
12619
  width: 100%;
12621
12620
  min-width: 0px;
12622
- flex: 1;
12621
+ cursor: pointer;
12623
12622
  align-items: center;
12624
12623
  gap: calc(var(--spacing) * 2);
12624
+ border-radius: var(--radius-lg);
12625
+ padding-inline: calc(var(--spacing) * 2);
12626
+ padding-block: var(--spacing);
12627
+ text-align: start;
12628
+ }
12629
+ .sidebar-profile__trigger:hover, .sidebar-profile__trigger:has(+ :popover-open) {
12630
+ background-color: var(--sidebar-link-hover-background);
12631
+ }
12632
+ .sidebar-profile__trigger:focus-visible {
12633
+ background-color: var(--sidebar-focus-background);
12634
+ }
12635
+ .sidebar-profile__chevron {
12636
+ position: relative;
12637
+ display: inline-flex;
12638
+ width: calc(var(--spacing) * 4);
12639
+ height: calc(var(--spacing) * 4);
12640
+ flex-shrink: 0;
12641
+ }
12642
+ .sidebar-profile__chevron svg {
12643
+ width: calc(var(--spacing) * 4);
12644
+ height: calc(var(--spacing) * 4);
12645
+ opacity: 60%;
12625
12646
  }
12626
12647
  .sidebar-profile__avatar-wrapper {
12627
12648
  display: flex;
@@ -12667,38 +12688,31 @@ tag.tagify__tag {
12667
12688
  .sidebar-profile__info {
12668
12689
  display: flex;
12669
12690
  min-width: 0px;
12691
+ flex: 1;
12670
12692
  flex-direction: column;
12671
- &:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *) {
12672
- text-align: end;
12673
- }
12674
12693
  }
12675
12694
  .sidebar-profile__title {
12676
12695
  overflow: hidden;
12696
+ text-overflow: ellipsis;
12697
+ white-space: nowrap;
12677
12698
  font-size: var(--text-sm);
12678
12699
  line-height: var(--tw-leading, var(--text-sm--line-height));
12679
12700
  --tw-leading: calc(var(--spacing) * 5);
12680
12701
  line-height: calc(var(--spacing) * 5);
12681
12702
  --tw-font-weight: var(--font-weight-medium);
12682
12703
  font-weight: var(--font-weight-medium);
12683
- text-overflow: ellipsis;
12684
12704
  color: var(--sidebar-content);
12685
12705
  }
12686
12706
  .sidebar-profile__subtitle {
12687
12707
  overflow: hidden;
12708
+ text-overflow: ellipsis;
12709
+ white-space: nowrap;
12688
12710
  font-size: var(--text-xs);
12689
12711
  line-height: var(--tw-leading, var(--text-xs--line-height));
12690
12712
  --tw-leading: calc(var(--spacing) * 4);
12691
12713
  line-height: calc(var(--spacing) * 4);
12692
- text-overflow: ellipsis;
12693
12714
  color: var(--sidebar-content-secondary);
12694
12715
  }
12695
- .sidebar-profile__actions {
12696
- display: flex;
12697
- flex-shrink: 0;
12698
- align-items: center;
12699
- justify-content: center;
12700
- gap: var(--spacing);
12701
- }
12702
12716
  .sidebar-profile__form {
12703
12717
  display: flex;
12704
12718
  width: 100%;
@@ -12708,7 +12722,8 @@ tag.tagify__tag {
12708
12722
  @media (width >= 40rem) {
12709
12723
  max-width: var(--container-sm);
12710
12724
  }
12711
- position-area: top span-right;
12725
+ position-area: block-start span-inline-end;
12726
+ min-width: anchor-size(width);
12712
12727
  transform: translateY(0.25rem);
12713
12728
  }
12714
12729
  @starting-style {
@@ -12743,44 +12758,22 @@ tag.tagify__tag {
12743
12758
  }
12744
12759
  }
12745
12760
  .sidebar-status {
12746
- display: inline-flex;
12747
- width: calc(var(--spacing) * 6);
12748
- height: calc(var(--spacing) * 6);
12749
- flex-shrink: 0;
12750
- align-items: center;
12751
- justify-content: center;
12752
- border-radius: calc(infinity * 1px);
12753
- }
12754
- .sidebar-status:focus-visible {
12755
- outline: 2px solid var(--color-accent-content);
12756
- }
12757
- .sidebar-status__indicator {
12758
- width: calc(var(--spacing) * 2.5);
12759
- height: calc(var(--spacing) * 2.5);
12761
+ position: absolute;
12762
+ inset-inline-end: calc(var(--spacing) * -0.5);
12763
+ top: calc(var(--spacing) * 0.5);
12764
+ width: calc(var(--spacing) * 1.5);
12765
+ height: calc(var(--spacing) * 1.5);
12760
12766
  border-radius: calc(infinity * 1px);
12761
12767
  }
12762
- .sidebar-status__indicator--ok {
12768
+ .sidebar-status--ok {
12763
12769
  background-color: var(--color-green-400);
12764
12770
  }
12765
- .sidebar-status__indicator--error {
12771
+ .sidebar-status--error {
12766
12772
  background-color: var(--color-orange-400);
12767
12773
  }
12768
- .sidebar-status__indicator--warning {
12774
+ .sidebar-status--warning {
12769
12775
  background-color: var(--color-amber-400);
12770
12776
  }
12771
- .sidebar-status__hint {
12772
- position: absolute;
12773
- margin-inline-start: calc(var(--spacing) * -4);
12774
- display: none;
12775
- width: 100%;
12776
- text-align: center;
12777
- font-size: var(--text-xs);
12778
- line-height: var(--tw-leading, var(--text-xs--line-height));
12779
- color: var(--sidebar-content-secondary);
12780
- }
12781
- .sidebar-status:hover .sidebar-status__hint {
12782
- display: block;
12783
- }
12784
12777
  .sidebar-flyout {
12785
12778
  width: 100%;
12786
12779
  }
@@ -381,13 +381,36 @@
381
381
  /* BEM: .sidebar-profile (block) */
382
382
  /* ================================================ */
383
383
 
384
+ /* px-2 + the trigger's px-2 keep the row's old inset while the trigger's hover background fills it. */
384
385
  .sidebar-profile {
385
- @apply flex items-center rtl:flex-row-reverse px-4 py-2 gap-4;
386
+ @apply relative px-2 py-1;
386
387
  color: var(--sidebar-content);
387
388
  }
388
389
 
389
- .sidebar-profile__body {
390
- @apply flex flex-1 items-center gap-2 w-full min-w-0;
390
+ .sidebar-profile .popover-menu {
391
+ @apply flex w-full;
392
+ }
393
+
394
+ .sidebar-profile__trigger {
395
+ @apply flex items-center gap-2 w-full min-w-0 px-2 py-1 rounded-lg text-start cursor-pointer;
396
+ }
397
+
398
+ .sidebar-profile__trigger:hover,
399
+ .sidebar-profile__trigger:has(+ :popover-open) {
400
+ background-color: var(--sidebar-link-hover-background);
401
+ }
402
+
403
+ .sidebar-profile__trigger:focus-visible {
404
+ background-color: var(--sidebar-focus-background);
405
+ }
406
+
407
+ .sidebar-profile__chevron {
408
+ @apply relative inline-flex shrink-0 size-4;
409
+ }
410
+
411
+ /* Dims the icon only, so the status badge keeps its full color. */
412
+ .sidebar-profile__chevron svg {
413
+ @apply size-4 opacity-60;
391
414
  }
392
415
 
393
416
  .sidebar-profile__avatar-wrapper {
@@ -410,30 +433,28 @@
410
433
  }
411
434
 
412
435
  .sidebar-profile__info {
413
- @apply flex flex-col min-w-0 rtl:text-end;
436
+ @apply flex flex-col flex-1 min-w-0;
414
437
  }
415
438
 
416
439
  .sidebar-profile__title {
417
- @apply font-medium text-ellipsis overflow-hidden text-sm leading-5;
440
+ @apply font-medium truncate text-sm leading-5;
418
441
  color: var(--sidebar-content);
419
442
  }
420
443
 
421
444
  .sidebar-profile__subtitle {
422
- @apply text-xs text-ellipsis overflow-hidden leading-4;
445
+ @apply text-xs truncate leading-4;
423
446
  color: var(--sidebar-content-secondary);
424
447
  }
425
448
 
426
- .sidebar-profile__actions {
427
- @apply flex items-center justify-center gap-1 shrink-0;
428
- }
429
-
430
449
  .sidebar-profile__form {
431
450
  @apply flex w-full;
432
451
  }
433
452
 
434
453
  .sidebar-profile__dropdown {
435
454
  @apply sm:max-w-sm mb-0.5;
436
- position-area: top span-right;
455
+ /* Starts at the row's start edge and is at least as wide as the row (the trigger is the anchor). */
456
+ position-area: block-start span-inline-end;
457
+ min-width: anchor-size(width);
437
458
 
438
459
  /* The profile menu opens upward, so it should rise from below and drop back
439
460
  down — the inverse of the shared `.popover-menu__panel` slide, which starts
@@ -484,40 +505,23 @@
484
505
  /* BEM: .sidebar-status (block) */
485
506
  /* ================================================ */
486
507
 
487
- /* Just the dot, between the user's name and the profile menu. */
508
+ /* Hangs past the chevron's end edge, beside the upper arrow rather than on it, so the icon stays whole. */
488
509
  .sidebar-status {
489
- @apply inline-flex items-center justify-center shrink-0 size-6 rounded-full;
490
- }
491
-
492
- .sidebar-status:focus-visible {
493
- outline: 2px solid var(--color-accent-content);
494
- }
495
-
496
- .sidebar-status__indicator {
497
- @apply rounded-full size-2.5;
510
+ @apply absolute top-0.5 -end-0.5 size-1.5 rounded-full;
498
511
  }
499
512
 
500
- .sidebar-status__indicator--ok {
513
+ .sidebar-status--ok {
501
514
  @apply bg-green-400;
502
515
  }
503
516
 
504
- .sidebar-status__indicator--error {
517
+ .sidebar-status--error {
505
518
  @apply bg-orange-400;
506
519
  }
507
520
 
508
- .sidebar-status__indicator--warning {
521
+ .sidebar-status--warning {
509
522
  @apply bg-amber-400;
510
523
  }
511
524
 
512
- .sidebar-status__hint {
513
- @apply absolute text-xs hidden text-center w-full -ms-4;
514
- color: var(--sidebar-content-secondary);
515
- }
516
-
517
- .sidebar-status:hover .sidebar-status__hint {
518
- @apply block;
519
- }
520
-
521
525
  /* ================================================ */
522
526
  /* Sidebar Flyout — ItemSwitcherComponent */
523
527
  /* BEM: .sidebar-flyout (block) */
@@ -27,6 +27,6 @@
27
27
  </ul>
28
28
  <% end %>
29
29
  <% card.with_footer do %>
30
- <%= render partial: "avo/updates/progress" %>
30
+ <%= render partial: "avo/status/updates/progress" %>
31
31
  <% end %>
32
32
  <% end %>
@@ -1,66 +1,54 @@
1
1
  <div class="sidebar-profile">
2
- <div class="sidebar-profile__body">
3
- <div class="sidebar-profile__avatar-wrapper">
4
- <div class="sidebar-profile__avatar">
5
- <% if avatar.present? %>
6
- <%= image_tag helpers.main_app.url_for(avatar), class: "sidebar-profile__avatar-img" %>
7
- <% else %>
8
- <span class="sidebar-profile__avatar-initials">
9
- <%= initials %>
2
+ <%= render Avo::UI::DropdownComponent.new(popover_mode: true, classes: "sidebar-profile__dropdown") do |component| %>
3
+ <% component.with_trigger do %>
4
+ <%# The whole row opens the menu, so the menu anchors to the row and takes its width. %>
5
+ <button type="button" class="sidebar-profile__trigger" popovertarget="<%= component.popover_id %>">
6
+ <span class="sidebar-profile__avatar-wrapper">
7
+ <span class="sidebar-profile__avatar">
8
+ <% if avatar.present? %>
9
+ <%= image_tag helpers.main_app.url_for(avatar), class: "sidebar-profile__avatar-img", alt: "" %>
10
+ <% else %>
11
+ <span class="sidebar-profile__avatar-initials"><%= initials %></span>
12
+ <% end %>
10
13
  </span>
11
- <% end %>
12
- </div>
13
- </div>
14
- <div class="sidebar-profile__info">
15
- <div class="sidebar-profile__title">
16
- <%= name %>
17
- </div>
18
- <% if title.present? %>
19
- <div class="sidebar-profile__subtitle">
20
- <%= title %>
21
- </div>
22
- <% end %>
23
- </div>
24
- </div>
25
- <% if @show_status %>
26
- <%= link_to helpers.avo.status_path,
27
- class: "sidebar-status",
28
- title: "Avo Status",
29
- aria: {label: "Avo Status: #{Avo.app_status}"},
30
- data: {tippy: "tooltip"} do %>
31
- <span class="sidebar-status__indicator sidebar-status__indicator--<%= Avo.app_status %>"></span>
14
+ </span>
15
+ <span class="sidebar-profile__info">
16
+ <span class="sidebar-profile__title"><%= name %></span>
17
+ <% if title.present? %>
18
+ <span class="sidebar-profile__subtitle"><%= title %></span>
19
+ <% end %>
20
+ </span>
21
+ <span class="sidebar-profile__chevron">
22
+ <%= helpers.svg "tabler/outline/selector" %>
23
+ <% if @show_status %>
24
+ <span class="sidebar-status sidebar-status--<%= Avo.app_status %>"></span>
25
+ <span class="sr-only">Avo Status: <%= Avo.app_status %></span>
26
+ <% end %>
27
+ </span>
28
+ </button>
32
29
  <% end %>
33
- <% end %>
34
- <div class="sidebar-profile__actions">
35
- <%= render Avo::UI::DropdownComponent.new(popover_mode: true, classes: "sidebar-profile__dropdown") do |component| %>
36
- <% component.with_trigger do %>
37
- <%= render Avo::ButtonComponent.new(
38
- icon: "tabler/outline/dots",
39
- size: :md,
40
- style: :text,
41
- popovertarget: component.popover_id
42
- ) %>
30
+ <% component.with_items do %>
31
+ <% if render_custom_profile_menu? %>
32
+ <%= render custom_profile_component %>
43
33
  <% end %>
44
- <% component.with_items do %>
45
- <% if render_custom_profile_menu? %>
46
- <%= render custom_profile_component %>
47
- <% end %>
48
- <%= render "avo/partials/profile_menu_extra" %>
49
- <% if can_sign_out_user? %>
50
- <%= form_with url: helpers.main_app.send(sign_out_path),
51
- method: sign_out_method,
52
- data: {
53
- controller: :"sign-out",
54
- sign_out_confirm_value: t('avo.are_you_sure'),
55
- action: "submit->sign-out#handle",
56
- },
57
- class: 'sidebar-profile__form' do |form| %>
58
- <%= form.button turbo_confirm: t('avo.are_you_sure'), class: "sidebar-profile__sign-out" do %>
59
- <%= helpers.svg "tabler/outline/logout", class: 'sidebar-icon' %> <span class="truncate min-w-0"><%= t('avo.sign_out') %></span>
60
- <% end %>
34
+ <%= render "avo/partials/profile_menu_extra" %>
35
+ <% if @show_status %>
36
+ <%= render Avo::ProfileItemComponent.new label: "Avo Status", path: helpers.avo.status_path, icon: "tabler/outline/activity-heartbeat" %>
37
+ <% end %>
38
+ <% if can_sign_out_user? %>
39
+ <%= form_with url: helpers.main_app.send(sign_out_path),
40
+ method: sign_out_method,
41
+ data: {
42
+ controller: :"sign-out",
43
+ sign_out_confirm_value: t("avo.are_you_sure"),
44
+ action: "submit->sign-out#handle"
45
+ },
46
+ class: "sidebar-profile__form" do |form| %>
47
+ <%= form.button turbo_confirm: t("avo.are_you_sure"), class: "sidebar-profile__sign-out" do %>
48
+ <%= helpers.svg "tabler/outline/logout", class: "sidebar-icon" %> <span class="truncate min-w-0"><%= t("avo.sign_out") %></span>
61
49
  <% end %>
62
50
  <% end %>
63
51
  <% end %>
64
52
  <% end %>
65
- </div>
53
+ <% end %>
66
54
  </div>
@@ -1,4 +1,4 @@
1
- module Avo
1
+ module Avo::Status
2
2
  class UpdatesController < Avo::ApplicationController
3
3
  before_action :authenticate_developer_or_admin!
4
4
  # Running bundler and restarting the server from a web request is only safe on a developer's machine.
@@ -15,19 +15,19 @@ module Avo
15
15
  end
16
16
 
17
17
  def progress
18
- render partial: "avo/updates/progress"
18
+ render partial: "avo/status/updates/progress"
19
19
  end
20
20
 
21
21
  def run
22
22
  Avo::Services::Updater.start
23
23
 
24
- render partial: "avo/updates/progress"
24
+ render partial: "avo/status/updates/progress"
25
25
  end
26
26
 
27
27
  def restart
28
28
  Avo::Services::Updater.restart
29
29
 
30
- render partial: "avo/updates/progress", locals: {restarting: true}
30
+ render partial: "avo/status/updates/progress", locals: {restarting: true}
31
31
  end
32
32
 
33
33
  private
@@ -18,16 +18,16 @@
18
18
  <%= render ui.card(title: "Available", description: "Newer than what this app runs.") do |card| %>
19
19
  <% card.with_body do %>
20
20
  <div class="updates-page__actions">
21
- <%= render partial: "avo/updates/progress" %>
21
+ <%= render partial: "avo/status/updates/progress" %>
22
22
  </div>
23
- <%= render partial: "avo/updates/release", collection: @available_releases, as: :release, locals: {open: true} %>
23
+ <%= render partial: "avo/status/updates/release", collection: @available_releases, as: :release, locals: {open: true} %>
24
24
  <% end %>
25
25
  <% end %>
26
26
  <% end %>
27
27
  <% if @installed_releases.any? %>
28
28
  <%= render ui.card(title: "Installed") do |card| %>
29
29
  <% card.with_body do %>
30
- <%= render partial: "avo/updates/release", collection: @installed_releases, as: :release, locals: {open: false} %>
30
+ <%= render partial: "avo/status/updates/release", collection: @installed_releases, as: :release, locals: {open: false} %>
31
31
  <% end %>
32
32
  <% end %>
33
33
  <% end %>
data/config/routes.rb CHANGED
@@ -32,10 +32,10 @@ Avo::Engine.routes.draw do
32
32
  end
33
33
 
34
34
  get "status", to: "debug#status", as: "status"
35
- get "updates", to: "updates#index", as: "updates"
36
- get "updates/progress", to: "updates#progress", as: "updates_progress"
37
- post "updates/run", to: "updates#run", as: "run_updates"
38
- post "updates/restart", to: "updates#restart", as: "restart_after_updates"
35
+ get "updates", to: "status/updates#index", as: "updates"
36
+ get "updates/progress", to: "status/updates#progress", as: "updates_progress"
37
+ post "updates/run", to: "status/updates#run", as: "run_updates"
38
+ post "updates/restart", to: "status/updates#restart", as: "restart_after_updates"
39
39
  # The old address is bookmarked and linked from released gems (avo-licensing), so it keeps its helper and redirects.
40
40
  get "avo_private/status", to: redirect("status", status: 301), as: "avo_private_status"
41
41
 
@@ -106,7 +106,7 @@ If the user mentions the Rails 8 scaffold (or you see `Current.user` + an `Authe
106
106
 
107
107
  Avo ships two deliberately minimal roles, resolved by calling a method on the `current_user`:
108
108
 
109
- - `is_admin?` → the user can reach the private **Avo Status** page (`/status`, under your mount path) and sees its sidebar link in production.
109
+ - `is_admin?` → the user can reach the private **Avo Status** page (`/status`, under your mount path) and sees its item in the sidebar profile menu in production.
110
110
  - `is_developer?` → same Status-page access, **plus** full backtraces on non-validation errors (e.g. an API call that blows up during save) instead of a generic "Something went wrong".
111
111
 
112
112
  Check them yourself anywhere with `Avo::Current.user_is_admin?` / `Avo::Current.user_is_developer?`. Point Avo at differently-named predicate methods via the initializer:
@@ -141,7 +141,7 @@ end
141
141
 
142
142
  ### 6. The sign-out link
143
143
 
144
- The sign-out item lives in the sidebar footer's three-dots menu. Avo shows it automatically if your app responds to `destroy_user_session_path` (the Devise default). Otherwise it's hidden until you name the path. Two knobs:
144
+ The sign-out item lives in the profile menu, opened by clicking the user's row in the sidebar footer. Avo shows it automatically if your app responds to `destroy_user_session_path` (the Devise default). Otherwise it's hidden until you name the path. Two knobs:
145
145
 
146
146
  ```ruby
147
147
  # config/initializers/avo.rb
@@ -221,7 +221,7 @@ A license authorizes **one app, one production URL** (`Rails.env.production?`).
221
221
 
222
222
  Verify at the **status page**: `https://yourapp.com/<mount-path>/status` (e.g. `.../avo/status` or `.../admin/status`). It shows whether the license authenticated and what the checking server returned; the key is masked unless you set `config.exclude_from_status = []`. The viewing user must be an Avo admin. Deep failure diagnosis (unlicensed after deploy, timeouts, test-suite blocking the check host) is the **avo-troubleshoot** skill.
223
223
 
224
- **Trials are full licenses.** Every add-on a trial covers behaves exactly as it does on a paid license while the trial runs — nothing is gated or degraded. The **Avo Status** indicator in the sidebar footer is green when all is well, **amber** when a trial needs attention, and orange when the license is invalid. Amber is not a failure: the status page names why, and the fix is on https://avohq.io/licenses. The **avo-troubleshoot** skill lists each case and its fix. Avo caches the license response between checks, so press **Refresh license** on the status page afterwards or the app keeps showing the older billing state. Trial state needs `avo-licensing` **4.0.10+**; the amber indicator needs Avo **4.0.20+** (an older Avo renders an uncolored dot rather than breaking).
224
+ **Trials are full licenses.** Every add-on a trial covers behaves exactly as it does on a paid license while the trial runs — nothing is gated or degraded. The **Avo Status** badge on the profile menu button in the sidebar footer is green when all is well, **amber** when a trial needs attention, and orange when the license is invalid. Amber is not a failure: the status page names why, and the fix is on https://avohq.io/licenses. The **avo-troubleshoot** skill lists each case and its fix. Avo caches the license response between checks, so press **Refresh license** on the status page afterwards or the app keeps showing the older billing state. Trial state needs `avo-licensing` **4.0.10+**; the amber indicator needs Avo **4.0.20+** (an older Avo renders an uncolored dot rather than breaking).
225
225
 
226
226
  ### 7. (Optional) Append your own routes inside the engine
227
227
 
data/lib/avo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Avo
2
- VERSION = "4.4.0" unless const_defined?(:VERSION)
2
+ VERSION = "4.4.2" unless const_defined?(:VERSION)
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avo
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.4.0
4
+ version: 4.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrian Marin
@@ -775,7 +775,7 @@ files:
775
775
  - app/controllers/avo/private_controller.rb
776
776
  - app/controllers/avo/resources_controller.rb
777
777
  - app/controllers/avo/search_controller.rb
778
- - app/controllers/avo/updates_controller.rb
778
+ - app/controllers/avo/status/updates_controller.rb
779
779
  - app/controllers/concerns/avo/common_controller.rb
780
780
  - app/controllers/concerns/avo/initializes_avo.rb
781
781
  - app/helpers/avo/application_helper.rb
@@ -946,9 +946,9 @@ files:
946
946
  - app/views/avo/private/appearance.html.erb
947
947
  - app/views/avo/private/design.html.erb
948
948
  - app/views/avo/sidebar/_license_warning.html.erb
949
- - app/views/avo/updates/_progress.html.erb
950
- - app/views/avo/updates/_release.html.erb
951
- - app/views/avo/updates/index.html.erb
949
+ - app/views/avo/status/updates/_progress.html.erb
950
+ - app/views/avo/status/updates/_release.html.erb
951
+ - app/views/avo/status/updates/index.html.erb
952
952
  - app/views/layouts/avo/application.html.erb
953
953
  - app/views/layouts/avo/blank.html.erb
954
954
  - app/views/layouts/avo/modal.html.erb