Sha256: cffe1643f096548f2792793cc1b8e47b2e944172b198cb731e396090e0c6b689

Contents?: true

Size: 1.78 KB

Versions: 162

Compression:

Stored size: 1.78 KB

Contents

<turbo-frame id="debug-report">
  <div class="flex gap-2">
    <%= form_with url: avo.avo_private_send_to_hq_path, data: {turbo_frame: :send_to_hq}, class: "w-full" do |f| %>
      <div class="space-y-8 divide-y divide-gray-200">
        <div>
          <div>
            <h3 class="text-lg font-medium leading-6 text-gray-900">Send in a bug report (pro feature)</h3>
            <p class="mt-1 text-sm text-gray-500">If you think there is something wrong with Avo and you'd like to report with some (anonymized) telemetry about the app, please fill in any relevant details and send it in.</p>
            <p class="mt-1 text-sm text-gray-500">Otherwise, please <a href="https://avo.cool/new-issue" target="_blank">create a GitHub issue</a> where everyone can contribute.</p>
          </div>

          <div class="sm:col-span-6 mt-4">
            <label for="about" class="block text-sm font-medium text-gray-700">Details</label>
            <div class="mt-1">
              <%= f.text_area :body, rows: 3, class: "block w-full rounded-md border-gray-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 sm:text-sm disabled:bg-gray-100", disabled: !Avo::Current.license.pro? %>
            </div>
          </div>
          <%= f.hidden_field :license_key, value: Avo::Services::DebugService.debug_report(request)[:license_response]["license_key"] %>
          <%= a_button icon: 'heroicons/outline/paper-airplane',
            color: :primary,
            style: :primary,
            class: "mt-4",
            disabled: !Avo::Current.license.pro?,
            type: :submit do %>
            Send to HQ
          <% end %>
        </div>
      </div>
    <% end %>
  </div>
  <div class="text-right">
    <%= turbo_frame_tag :send_to_hq %>
  </div>
  <div class="overflow-auto max-w-full">

  </div>
</turbo-frame>

Version data entries

162 entries across 162 versions & 1 rubygems

Version Path
avo-3.18.1 app/views/avo/debug/report.html.erb
avo-3.18.0 app/views/avo/debug/report.html.erb
avo-3.17.9.beta2 app/views/avo/debug/report.html.erb
avo-3.17.9.beta1 app/views/avo/debug/report.html.erb
avo-3.17.9 app/views/avo/debug/report.html.erb
avo-3.17.8 app/views/avo/debug/report.html.erb
avo-3.17.7 app/views/avo/debug/report.html.erb
avo-3.17.6 app/views/avo/debug/report.html.erb
avo-3.17.5 app/views/avo/debug/report.html.erb
avo-3.17.4 app/views/avo/debug/report.html.erb
avo-3.17.3 app/views/avo/debug/report.html.erb
avo-3.17.2 app/views/avo/debug/report.html.erb
avo-3.17.1 app/views/avo/debug/report.html.erb
avo-3.17.0 app/views/avo/debug/report.html.erb
avo-3.16.6 app/views/avo/debug/report.html.erb
avo-3.16.5 app/views/avo/debug/report.html.erb
avo-3.16.4 app/views/avo/debug/report.html.erb
avo-3.16.3 app/views/avo/debug/report.html.erb
avo-3.16.2 app/views/avo/debug/report.html.erb
avo-3.16.1 app/views/avo/debug/report.html.erb