lsa_tdx_feedback 2.0.0 → 2.0.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 +4 -4
- data/CHANGELOG.md +11 -0
- data/Gemfile.lock +1 -1
- data/app/views/lsa_tdx_feedback/shared/_feedback_modal.html.erb +2 -10
- data/lib/lsa_tdx_feedback/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 69d0dae8aaebab74ea26a463495be295ec35369e9ec579cdfe7ee008837fcbb3
|
|
4
|
+
data.tar.gz: de81da8ce4c00ed435be260b49d7cd0bd447d963dae02c1d8094ece55fa9bd2d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5b2dd1661fc85b467a0c656ac2a6024a2735fbb81c8c2c7df90c33579e43d8b1da3595417ea52b1c86b8ac7bf96adcfc8762db8fe7b6b41cc3894b5b3dff0210
|
|
7
|
+
data.tar.gz: d6bdfeb8dc93fc60fc41c03895303bef1a906a839508154e41d9bd910911bbe386b2f958c611adb00a91bb4d787a390df9fcaafc4fea5963eb0fce7aa645299a
|
data/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [2.0.1] - 2026-07-21
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
- **Duplicate floating trigger button**: the modal partial rendered two
|
|
14
|
+
`#lsa-tdx-feedback-trigger` buttons (an i18n button outside the `trigger:`
|
|
15
|
+
guard, plus the old hardcoded button inside it). The JS click handler bound
|
|
16
|
+
only to the first; the second sat on top and swallowed clicks, so the modal
|
|
17
|
+
never opened and produced no console or server errors. Also meant
|
|
18
|
+
`trigger: false` still left a button on the page. There is now a single
|
|
19
|
+
i18n button inside the `trigger:` guard.
|
|
20
|
+
|
|
10
21
|
## [2.0.0] - 2026-07-20
|
|
11
22
|
|
|
12
23
|
### Fixed
|
data/Gemfile.lock
CHANGED
|
@@ -89,23 +89,15 @@
|
|
|
89
89
|
</div>
|
|
90
90
|
</dialog>
|
|
91
91
|
|
|
92
|
-
<!-- Feedback Button -->
|
|
93
|
-
<button id="lsa-tdx-feedback-trigger" class="lsa-tdx-feedback-trigger-btn" title="<%= t('lsa_tdx_feedback.modal.title') %>">
|
|
94
|
-
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">
|
|
95
|
-
<path d="M20 2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h4l4 4 4-4h4c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-2 12H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z"/>
|
|
96
|
-
</svg>
|
|
97
|
-
<span class="lsa-tdx-feedback-trigger-text"><%= t('lsa_tdx_feedback.modal.trigger_label') %></span>
|
|
98
|
-
</button>
|
|
99
92
|
<%# Floating trigger button. Rendered by default; pass trigger: false to
|
|
100
93
|
lsa_tdx_feedback_modal to omit it and open the modal from your own control
|
|
101
94
|
via window.LsaTdxFeedback.showModal(). Defaults to true for callers that
|
|
102
95
|
render the partial without the local (backward compatible). %>
|
|
103
96
|
<% if local_assigns.fetch(:trigger, true) %>
|
|
104
|
-
|
|
105
|
-
<button id="lsa-tdx-feedback-trigger" class="lsa-tdx-feedback-trigger-btn" title="Send Feedback">
|
|
97
|
+
<button id="lsa-tdx-feedback-trigger" class="lsa-tdx-feedback-trigger-btn" title="<%= t('lsa_tdx_feedback.modal.title') %>">
|
|
106
98
|
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">
|
|
107
99
|
<path d="M20 2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h4l4 4 4-4h4c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-2 12H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z"/>
|
|
108
100
|
</svg>
|
|
109
|
-
<span class="lsa-tdx-feedback-trigger-text"
|
|
101
|
+
<span class="lsa-tdx-feedback-trigger-text"><%= t('lsa_tdx_feedback.modal.trigger_label') %></span>
|
|
110
102
|
</button>
|
|
111
103
|
<% end %>
|