recourse 4.4.3 → 4.4.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 +4 -4
- data/CHANGELOG.md +7 -0
- data/README.md +7 -4
- data/app/views/layouts/recourses.html.erb +5 -2
- data/lib/recourse/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: 9a2407f2f271c099137cb116f77873a8e498e106f32ebe70e6b4ad20c789a987
|
|
4
|
+
data.tar.gz: bc9c0f80bf263983fc51f4af82eb17675564b9f17eccb794284fec10f7ee59eb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b9f10651a71c2e65a15c8f6a1f5c7d33b5ff67b516e9a528b3220ffa9e273cb88423afdda64d6301a9a09ab97614a0c7dfa701f15d1ea4bb1bc11b2a2bcedf25
|
|
7
|
+
data.tar.gz: fd3b958dfeddf61fc1d368435e6675d9103d102d367ada4309f89c0b135a3c5da26e3069a7ba4ceb998881e6cd9a04bdb2041f6004e1729124a54b5290d49a44
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,13 @@ 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.4.4 - 2026-09-08
|
|
9
|
+
|
|
10
|
+
* [Fix] On a phone the search form keeps its place beside the breadcrumb once a filter is picked
|
|
11
|
+
|
|
12
|
+
A form sized by its content widened with the words a picked option put on a toggle
|
|
13
|
+
and wrapped under the crumbs.
|
|
14
|
+
|
|
8
15
|
## 4.4.3 - 2026-09-08
|
|
9
16
|
|
|
10
17
|
* [Fix] A counted tab reads `1 franchise` again, without the extra space 4.4.0 put between the figure and the word
|
data/README.md
CHANGED
|
@@ -33,16 +33,16 @@ end
|
|
|
33
33
|
Every recourse with `index` gets a sidebar entry (in routes order), a keyboard shortcut on its
|
|
34
34
|
first letter, and a paginated, searchable, sortable, filterable index table:
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
<img width="3824" height="2274" alt="Image" src="https://github.com/user-attachments/assets/f952d3e5-c320-464b-b166-77c7ab8f9071" />
|
|
37
37
|
|
|
38
38
|
Every recourse with `show` gets a detail page where attributes are displayed with the appropriate
|
|
39
39
|
formatting, or masked if sensitive:
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
<img width="3824" height="2274" alt="Image" src="https://github.com/user-attachments/assets/515f63c4-8a9b-422e-95c4-88d6647911d8" />
|
|
42
42
|
|
|
43
43
|
Every recourse with `new` or `edit` gets a form with appropriate browser formatting and validation:
|
|
44
44
|
|
|
45
|
-
|
|
45
|
+
<img width="3824" height="1220" alt="Image" src="https://github.com/user-attachments/assets/ebe5108b-bbd1-4cd1-a635-89eef0e6fc50" />
|
|
46
46
|
|
|
47
47
|
Every recourse with `destroy` gets a button with a detailed confirmation message:
|
|
48
48
|
|
|
@@ -50,7 +50,7 @@ Every recourse with `destroy` gets a button with a detailed confirmation message
|
|
|
50
50
|
|
|
51
51
|
Every nested recourse gets namespaced after the parent:
|
|
52
52
|
|
|
53
|
-
|
|
53
|
+
<img width="3824" height="2274" alt="Image" src="https://github.com/user-attachments/assets/9b242335-a25b-4fa8-8023-422538d235b0" />
|
|
54
54
|
|
|
55
55
|
|
|
56
56
|
## Step 2. Enhance your models
|
|
@@ -134,6 +134,9 @@ Recourse.color = :orange
|
|
|
134
134
|
Recourse.bookmarks = -> { Keepsake.where agent: Current.agent }
|
|
135
135
|
```
|
|
136
136
|
|
|
137
|
+
<img width="3824" height="1220" alt="Image" src="https://github.com/user-attachments/assets/d1db4adb-0b5c-4e41-8bb6-cf72a35288f0" />
|
|
138
|
+
|
|
139
|
+
|
|
137
140
|
## Development
|
|
138
141
|
|
|
139
142
|
```bash
|
|
@@ -268,9 +268,12 @@
|
|
|
268
268
|
/* Stacked, each control is a row of its own rather than a fragment of one:
|
|
269
269
|
there is no second control beside it to share the line with. */
|
|
270
270
|
@media (width < 768px) {
|
|
271
|
-
|
|
271
|
+
/* The room the breadcrumb leaves, and never more: a form sized by its content
|
|
272
|
+
widened with the words a picked option put on a toggle, and wrapped under
|
|
273
|
+
the crumbs. A basis of nothing and leave to shrink hold it in its row. */
|
|
274
|
+
.recourse-search { flex: 1 1 0; min-width: 0; max-width: none; }
|
|
272
275
|
.recourse-search-box,
|
|
273
|
-
.recourse-search .combobox-toggle { flex: 1 1 100%; }
|
|
276
|
+
.recourse-search .combobox-toggle { flex: 1 1 100%; min-width: 0; }
|
|
274
277
|
/* Safari zooms in on a field whose text is under 16px, an absolute figure: the
|
|
275
278
|
small controls are 14px, and so is the body on a phone, so the controls say
|
|
276
279
|
16px themselves and focusing one moves nothing. */
|
data/lib/recourse/version.rb
CHANGED