ideasbugs 0.5.0 → 0.5.1

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: 03a9f3a848ba6fbdeba823dd0df27efe24a1fadb9c4856a91e76f46f0a16a409
4
- data.tar.gz: 28f63f07db4e1fd53b37946a7ec372fd01221101a4ac51ee380c9b7399917c1c
3
+ metadata.gz: 04077c3c3deaf5d2f5591f78dd1e1de8086474289b9a31d4168c84fb0eb9f1f6
4
+ data.tar.gz: 2882e9f33d9664088738c5b6bf953df30b3da4a1ac7416316b7c2fdeabd91759
5
5
  SHA512:
6
- metadata.gz: f4661d353dc2cad65748718937aeaf2d5f78be428aed86e636b1a51ec27f6199ee030f89c618cb00543aa5572568cf048b3f8ef455e66ee332b777586227f161
7
- data.tar.gz: 96a3ecaca262a905312402e6494623d866b642c83ecad73da4fbf80bfde4beb85696abacb549789030570568b751449c2f64eac6cb895c38582e7c13c5132fec
6
+ metadata.gz: c397a6cd994a8bd4af419a91433db814da8520e7c627e697dfac5ae7225214c4751eee22fa5260017d2e3cda335a8ef5014e4be6310aa2bd0919553ee0cbc2c3
7
+ data.tar.gz: b566747ad2b0fbda18e9d572ff031ff1c0f3f0142134d9af38e270ba41c94439ff3aca94fdbf5e8ae990aca706630a5a4bb7716b4d320ae03184d50e90042543
data/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.5.1 (2026-07-25)
4
+
5
+ - The widget dialog is now full-screen on mobile (≤ 480px): edge-to-edge,
6
+ `100dvh` tall, no rounded corners.
7
+ - Form controls render at 16px on mobile widths, so iOS no longer zooms the
8
+ page when an input gains focus.
9
+ - The action row respects `env(safe-area-inset-bottom)`, keeping the buttons
10
+ above the home indicator on notched phones.
11
+ - The dialog's scroll area uses `overscroll-behavior: contain`, so reaching
12
+ the end of the form no longer scrolls the page behind it.
13
+
3
14
  ## 0.5.0 (2026-07-25)
4
15
 
5
16
  **The gem is now `ideasbugs`** (formerly `feedback_engine`). Full rebrand:
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ideasbugs
4
- VERSION = '0.5.0'
4
+ VERSION = '0.5.1'
5
5
  end
@@ -348,7 +348,7 @@
348
348
  "#idb-button:hover{background:#1d4ed8}",
349
349
  "#idb-overlay{position:fixed;inset:0;z-index:" + (Z + 1) + ";background:rgba(0,0,0,.45);",
350
350
  "display:flex;align-items:center;justify-content:center;padding:16px}",
351
- "#idb-dialog{width:100%;max-width:420px;max-height:90vh;overflow:auto;",
351
+ "#idb-dialog{width:100%;max-width:420px;max-height:90vh;overflow:auto;overscroll-behavior:contain;",
352
352
  "background:#fff;color:#1c2024;border-radius:14px;padding:20px;",
353
353
  "font:14px/1.5 system-ui,-apple-system,sans-serif;box-shadow:0 20px 60px rgba(0,0,0,.35)}",
354
354
  "#idb-dialog .idb-head{display:flex;align-items:center;justify-content:space-between;margin:0 0 12px}",
@@ -377,6 +377,14 @@
377
377
  "#idb-dialog input[type=file]::file-selector-button{border-color:#2a313a;color:#e6e8ea}",
378
378
  "#idb-dialog .idb-secondary{border-color:#2a313a}",
379
379
  "#idb-dialog .idb-hint{color:#9aa2ab}",
380
+ "}",
381
+ // Full-screen dialog on small screens; 16px controls prevent iOS focus-zoom.
382
+ "@media (max-width:480px){",
383
+ "#idb-dialog{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;max-width:100%;",
384
+ "height:100dvh;max-height:100dvh;border-radius:0;margin:0}",
385
+ "#idb-dialog select,#idb-dialog textarea,#idb-dialog input,",
386
+ "#idb-dialog input[type=file]{font-size:16px}",
387
+ "#idb-dialog .idb-actions{padding-bottom:calc(0px + env(safe-area-inset-bottom))}",
380
388
  "}"
381
389
  ].join("");
382
390
  var style = document.createElement("style");
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ideasbugs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yaroslav Shmarov
@@ -106,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
106
106
  - !ruby/object:Gem::Version
107
107
  version: '0'
108
108
  requirements: []
109
- rubygems_version: 4.0.6
109
+ rubygems_version: 3.6.9
110
110
  specification_version: 4
111
111
  summary: 'In-app product feedback collection for Rails: a drop-in widget and a built-in
112
112
  triage dashboard.'