recourse 4.6.3 → 4.6.4

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: 1b23a36a0239e776095075477f86da4bfbdd412fac5afc0bdbcf31efd9f5f227
4
- data.tar.gz: b7f76555603ddec515cdebd2c15e90852f6c9c836447c87715538151b3be0adf
3
+ metadata.gz: 5f86ea378ae4d23917b6c4cecde438da5c1bf741e4c958b8faa7eb6f0869682e
4
+ data.tar.gz: 338cd85ccd70e4585e7c50fcc51d4046806c1edcb24a3da34f2035d5db95d16e
5
5
  SHA512:
6
- metadata.gz: 381e938adcd70bd902a381ccd73967683dbd443a3e253aacab608e7ddd1eabdad779a4252885257e9bb9f0f7511b3d631ea54e042d7b676a15eb1459be412182
7
- data.tar.gz: 0b7b0f1b3516dccee6b54cae0214baa8bacc6d0f1046065d7160783e6dc132011054633126ac5cd5c7a0c5641c32e28d354c4a3184767e9b312afe40f1319adb
6
+ metadata.gz: fc45f09204ee74db4be05e77f2e301d4a3212a8ecfeda0aa4921039d6171e50f0fadc60d5799ebb77311a2ed3a67c8da1143c354124344f9b2c2a9cd3b5e787d
7
+ data.tar.gz: 73f916a5b82b6def467de274e5b94243ea78be8e48bb6c8d79b3bc7887842d0be2bce6a8522ff72c206d5c7b8de47ce4804bb48e1e6042985e7978e2fb2e0b54
data/CHANGELOG.md CHANGED
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
5
5
  For more information about changelogs, check [Keep a Changelog](http://keepachangelog.com) and
6
6
  [Vandamme](http://tech-angels.github.io/vandamme).
7
7
 
8
+ ## 4.6.4 - 2026-09-08
9
+
10
+ * [Fix] On a phone the arrows that put the words back reload the page outright: the visit 4.6.1 made to the same address was morphed in place under an index's refresh metas, and Safari drew the sidebar's entries one over the next all the same
11
+
8
12
  ## 4.6.3 - 2026-09-08
9
13
 
10
14
  * [Fix] The gem's scripts and stylesheets are revalidated on every full load, so a browser runs the version the host deployed rather than the one it fetched hours ago
@@ -3,9 +3,11 @@ import { Controller } from '/recourse/stimulus.js'
3
3
  // The arrows at the foot of the sidebar, drawn on a phone alone: a tap puts the words
4
4
  // back beside every icon the chrome shows — the sidebar's entries, the crumbs, the tabs,
5
5
  // the foot's own controls — and the next tap takes them away again. The choice goes to
6
- // the server in a cookie, the way the zone does, and the page is asked for again rather
7
- // than reshaped in place: Safari left the row of entries where it was when the words
8
- // came out of hiding, one link over the next, until a reload laid it out afresh.
6
+ // the server in a cookie, the way the zone does, and the page is loaded again outright
7
+ // rather than reshaped in place: Safari left the row of entries where it was when the
8
+ // words came out of hiding, one link over the next, until a reload laid it out afresh.
9
+ // A Turbo visit to the same address is no better — an index carries the metas that make
10
+ // a refresh morph, so the visit reshaped the body it had rather than drawing a new one.
9
11
  export default class extends Controller {
10
12
  static values = { storage: String }
11
13
 
@@ -14,6 +16,6 @@ export default class extends Controller {
14
16
  const density = expanded ? 'compact' : 'expanded'
15
17
 
16
18
  document.cookie = `${this.storageValue}=${density}; path=/; max-age=31536000; samesite=lax`
17
- window.Turbo.visit(window.location.href, { action: 'replace' })
19
+ window.location.reload()
18
20
  }
19
21
  }
@@ -1,4 +1,4 @@
1
1
  module Recourse
2
2
  # Version of the gem, read by the gemspec and by hosts checking compatibility.
3
- VERSION = '4.6.3'
3
+ VERSION = '4.6.4'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: recourse
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.6.3
4
+ version: 4.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - claudiob