mensa 0.9.7 → 0.9.8
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/.shipkit.yml +1 -1
- data/CHANGELOG.md +12 -0
- data/Gemfile.lock +1 -1
- data/app/components/mensa/control_bar/component.css +1 -1
- data/app/components/mensa/search/component.css +1 -1
- data/app/components/mensa/views/component.css +1 -1
- data/app/jobs/mensa/export_job.rb +3 -1
- data/lib/mensa/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: 381f05d45f31b238938d693c7aa3cd400548d1e1ae0d0ad7cbe741a90e848388
|
|
4
|
+
data.tar.gz: 404d83a3470a1aed66274acf316c8de5ef9cc5979b1b9690966bd75f9827d54c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7d136de094a54f232f539adb89955e25bae6cf203adf00601bedb186dcd1b733421920cb1596bdcdf72eb14716d7c2cc227284b2d39a69a8eeb21b1efeebbc87
|
|
7
|
+
data.tar.gz: 0b0b225894bcb23f2443a853e30396c184dc38a3fb7a8a46fa1b3abca2c98fa0879858e3f74f80b94d3d063799d9031755955b9bd1c8c5164eba6d9db1e23a24
|
data/.shipkit.yml
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
---
|
|
2
|
-
previous_version: 0.9.
|
|
2
|
+
previous_version: 0.9.7
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.9.8
|
|
4
|
+
|
|
5
|
+
- The export, save-view and rename-view dialogs are in the middle of the
|
|
6
|
+
window again. A modal `<dialog>` is centred by the browser's
|
|
7
|
+
`margin: auto`, which Tailwind v4's preflight resets to 0, so they showed
|
|
8
|
+
at the top left; they now have `m-auto`.
|
|
9
|
+
- An export whose table can't be found (`NotImplementedError: No '…' table
|
|
10
|
+
defined`, e.g. when the worker can't load the table's class) is marked
|
|
11
|
+
failed. Before, that error, not a `StandardError`, slipped past the export
|
|
12
|
+
job's `rescue` and left the export processing, its dialog preparing for
|
|
13
|
+
good.
|
|
14
|
+
|
|
3
15
|
## 0.9.3
|
|
4
16
|
|
|
5
17
|
- A Mensa table can be rendered inside a host `<form>`, such as a tab on an
|
data/Gemfile.lock
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
.mensa-table__export-dialog {
|
|
22
|
-
@apply w-[34rem] max-w-[92vw] max-h-[85vh] rounded-2xl border-0 p-0 bg-white dark:bg-gray-800 shadow-2xl ring-1 ring-black/5 dark:ring-white/10 text-gray-900 dark:text-gray-100;
|
|
22
|
+
@apply m-auto w-[34rem] max-w-[92vw] max-h-[85vh] rounded-2xl border-0 p-0 bg-white dark:bg-gray-800 shadow-2xl ring-1 ring-black/5 dark:ring-white/10 text-gray-900 dark:text-gray-100;
|
|
23
23
|
|
|
24
24
|
&::backdrop {
|
|
25
25
|
@apply bg-gray-900/40;
|
|
@@ -11,7 +11,7 @@ input.mensa-table__search__input {
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
.mensa-table__save-view-dialog {
|
|
14
|
-
@apply w-[26rem] max-w-[90vw] rounded-2xl border-0 p-0 bg-white dark:bg-gray-800 shadow-2xl ring-1 ring-black/5 dark:ring-white/10 text-gray-900 dark:text-gray-100;
|
|
14
|
+
@apply m-auto w-[26rem] max-w-[90vw] rounded-2xl border-0 p-0 bg-white dark:bg-gray-800 shadow-2xl ring-1 ring-black/5 dark:ring-white/10 text-gray-900 dark:text-gray-100;
|
|
15
15
|
|
|
16
16
|
&::backdrop {
|
|
17
17
|
@apply bg-gray-900/40;
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
.mensa-table__views__rename-dialog {
|
|
66
|
-
@apply w-80 max-w-[90vw] rounded-xl border-0 p-5 bg-white dark:bg-gray-800 shadow-2xl ring-1 ring-black/5 dark:ring-white/10;
|
|
66
|
+
@apply m-auto w-80 max-w-[90vw] rounded-xl border-0 p-5 bg-white dark:bg-gray-800 shadow-2xl ring-1 ring-black/5 dark:ring-white/10;
|
|
67
67
|
|
|
68
68
|
&::backdrop {
|
|
69
69
|
@apply bg-gray-900/40;
|
|
@@ -38,7 +38,9 @@ module Mensa
|
|
|
38
38
|
finalize(export, status: "completed", filename: filename)
|
|
39
39
|
|
|
40
40
|
Mensa.config.run_callback(:export_completed, export)
|
|
41
|
-
|
|
41
|
+
# NotImplementedError (no table by the export's name, e.g. one the
|
|
42
|
+
# worker can't load) isn't a StandardError, and would leave it processing
|
|
43
|
+
rescue StandardError, NotImplementedError => e
|
|
42
44
|
Mensa.config.logger&.error("Mensa::ExportJob failed for export #{export&.id}: #{e.class}: #{e.message}")
|
|
43
45
|
finalize(export, status: "failed") if export
|
|
44
46
|
raise
|
data/lib/mensa/version.rb
CHANGED