openvibers/openvibe.events Commits
Motion: Calm reduces, only Off stops (#293)
Changes
@@@ -411,5 +411,5 @@ Part of the [OpenVibe network](https://openvibe.network). Built in the open by [<!-- versions:start -->- openvibe-contracts: v0.384.0- openvibe-sdk: v0.133.0--- openvibe-shared: v4.179.0++- openvibe-shared: v4.183.0<!-- versions:end -->@@@ -9,7 +9,7 @@"domain": "openvibe.events","contracts": "openvibe-contracts v0.384.0","sdk": "openvibe-sdk v0.133.0",-- "shared": "openvibe-shared v4.179.0",++ "shared": "openvibe-shared v4.183.0","capabilities": ["events.event.publish","events.subscription.manage",@@@ -14,7 +14,7 @@"iovalkey": "^0.4.0","openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.384.0","openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.133.0",-- "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.179.0",++ "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.183.0","pg": "^8.23.0"},"devDependencies": {@@@ -1147,9 +1147,9 @@}},"node_modules/openvibe-shared": {-- "version": "4.179.0",-- "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.179.0",-- "integrity": "sha512-Fjffjq3gLINhiXTqQJwsKQT/QbV4TYvsmz6GTp5hBJ8xA6KUQgu0wDgCQ3BRxCZ0ehmn0HGVAHUI+5m0LtPQCQ==",++ "version": "4.183.0",++ "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.183.0",++ "integrity": "sha512-vp9gg++Dhyj3h0cwvBjujM6dSFYoeXdh1UXdZ6OXP/NjG672Fs7uRANV4MjT467JtFDN7r7qLI3OJAwGQxOuQw==","license": "MIT","dependencies": {"jsonwebtoken": "^9.0.0",@@@ -26,7 +26,7 @@"iovalkey": "^0.4.0","openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.384.0","openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.133.0",-- "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.179.0",++ "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.183.0","pg": "^8.23.0"},"engines": {@@@ -446,8 +446,7 @@ const HOME_STYLE = () => '<style>body{margin:0}/* The hero\'s aura is drawn 54px+ '.ev-scene-subs{margin:0;text-align:center;color:var(--text-secondary,#96a7c2);font-size:.9rem}.ev-scene-subs b{color:var(--text-primary,#e6edf7)}'+ '.ev-scene figcaption{text-align:center;color:var(--text-muted,#7386a3);font-size:.8rem}'+ '@keyframes evSceneBar{from{transform:scaleX(.2)}to{transform:none}}@keyframes evSceneDot{0%{opacity:0;transform:translateY(0)}20%{opacity:1}80%{opacity:1}100%{opacity:0;transform:translateY(26px)}}'-- + '@media (prefers-reduced-motion:reduce){.ev-scene-pubs i{animation:none}.ev-scene-flow i{display:none}}'-- + 'html[data-ov-motion=reduced] .ev-scene-pubs i{animation:none}html[data-ov-motion=reduced] .ev-scene-flow i{display:none}'++ + 'html[data-ov-motion=off] .ev-scene-flow i{display:none}'+ '</style>';const FOOTER = { service: 'events', variant: 'full', mount: '#ov-footer', brandName: SITE_NAME, updates: '/updates' };@@@ -20,7 +20,8 @@ t('the picture is the week\'s publishers, the bus and the subscriptions, from thassert.match(scene, /<p class="ev-scene-bus"><b>The bus<\/b><span>24,958 events this week<\/span><\/p>/);assert.match(scene, /<p class="ev-scene-subs"><b>61<\/b> subscriptions receive them, signed and retried<\/p>/);assert.ok(!/sc-orbit/.test(page), 'the generic orbit is gone');-- assert.match(page, /@media \(prefers-reduced-motion:reduce\)\{\.ev-scene-pubs i\{animation:none\}\.ev-scene-flow i\{display:none\}\}/, 'still under reduced motion');++ assert.match(page, /html\[data-ov-motion=off\] \.ev-scene-flow i\{display:none\}/, 'the traffic stops only with motion off');++ assert.ok(!/prefers-reduced-motion/.test(page), 'Calm plays the scene, smaller and slower');});t('no subscriptions: that line is left out, not shown as zero', () => {
@@ -411,5 +411,5 @@ Part of the [OpenVibe network](https://openvibe.network). Built in the open by [
@@ -411,5 +411,5 @@ Part of the [OpenVibe network](https://openvibe.network). Built in the open by [
<!-- versions:start -->
<!-- versions:start -->
- openvibe-contracts: v0.384.0
- openvibe-contracts: v0.384.0
- openvibe-sdk: v0.133.0
- openvibe-sdk: v0.133.0
-- openvibe-shared: v4.179.0
+- openvibe-shared: v4.183.0
<!-- versions:end -->
<!-- versions:end -->
@@ -9,7 +9,7 @@
@@ -9,7 +9,7 @@
"domain": "openvibe.events",
"domain": "openvibe.events",
"contracts": "openvibe-contracts v0.384.0",
"contracts": "openvibe-contracts v0.384.0",
"sdk": "openvibe-sdk v0.133.0",
"sdk": "openvibe-sdk v0.133.0",
- "shared": "openvibe-shared v4.179.0",
+ "shared": "openvibe-shared v4.183.0",
"capabilities": [
"capabilities": [
"events.event.publish",
"events.event.publish",
"events.subscription.manage",
"events.subscription.manage",
@@ -14,7 +14,7 @@
@@ -14,7 +14,7 @@
"iovalkey": "^0.4.0",
"iovalkey": "^0.4.0",
"openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.384.0",
"openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.384.0",
"openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.133.0",
"openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.133.0",
- "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.179.0",
+ "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.183.0",
"pg": "^8.23.0"
"pg": "^8.23.0"
},
},
"devDependencies": {
"devDependencies": {
@@ -1147,9 +1147,9 @@
@@ -1147,9 +1147,9 @@
}
}
},
},
"node_modules/openvibe-shared": {
"node_modules/openvibe-shared": {
- "version": "4.179.0",
- "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.179.0",
- "integrity": "sha512-Fjffjq3gLINhiXTqQJwsKQT/QbV4TYvsmz6GTp5hBJ8xA6KUQgu0wDgCQ3BRxCZ0ehmn0HGVAHUI+5m0LtPQCQ==",
+ "version": "4.183.0",
+ "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.183.0",
+ "integrity": "sha512-vp9gg++Dhyj3h0cwvBjujM6dSFYoeXdh1UXdZ6OXP/NjG672Fs7uRANV4MjT467JtFDN7r7qLI3OJAwGQxOuQw==",
"license": "MIT",
"license": "MIT",
"dependencies": {
"dependencies": {
"jsonwebtoken": "^9.0.0",
"jsonwebtoken": "^9.0.0",
@@ -26,7 +26,7 @@
@@ -26,7 +26,7 @@
"iovalkey": "^0.4.0",
"iovalkey": "^0.4.0",
"openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.384.0",
"openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.384.0",
"openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.133.0",
"openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.133.0",
- "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.179.0",
+ "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.183.0",
"pg": "^8.23.0"
"pg": "^8.23.0"
},
},
"engines": {
"engines": {
@@ -446,8 +446,7 @@ const HOME_STYLE = () => '<style>body{margin:0}/* The hero\'s aura is drawn 54px
@@ -446,8 +446,7 @@ const HOME_STYLE = () => '<style>body{margin:0}/* The hero\'s aura is drawn 54px
+ '.ev-scene-subs{margin:0;text-align:center;color:var(--text-secondary,#96a7c2);font-size:.9rem}.ev-scene-subs b{color:var(--text-primary,#e6edf7)}'
+ '.ev-scene-subs{margin:0;text-align:center;color:var(--text-secondary,#96a7c2);font-size:.9rem}.ev-scene-subs b{color:var(--text-primary,#e6edf7)}'
+ '.ev-scene figcaption{text-align:center;color:var(--text-muted,#7386a3);font-size:.8rem}'
+ '.ev-scene figcaption{text-align:center;color:var(--text-muted,#7386a3);font-size:.8rem}'
+ '@keyframes evSceneBar{from{transform:scaleX(.2)}to{transform:none}}@keyframes evSceneDot{0%{opacity:0;transform:translateY(0)}20%{opacity:1}80%{opacity:1}100%{opacity:0;transform:translateY(26px)}}'
+ '@keyframes evSceneBar{from{transform:scaleX(.2)}to{transform:none}}@keyframes evSceneDot{0%{opacity:0;transform:translateY(0)}20%{opacity:1}80%{opacity:1}100%{opacity:0;transform:translateY(26px)}}'
- + '@media (prefers-reduced-motion:reduce){.ev-scene-pubs i{animation:none}.ev-scene-flow i{display:none}}'
- + 'html[data-ov-motion=reduced] .ev-scene-pubs i{animation:none}html[data-ov-motion=reduced] .ev-scene-flow i{display:none}'
+ + 'html[data-ov-motion=off] .ev-scene-flow i{display:none}'
+ '</style>';
+ '</style>';
const FOOTER = { service: 'events', variant: 'full', mount: '#ov-footer', brandName: SITE_NAME, updates: '/updates' };
const FOOTER = { service: 'events', variant: 'full', mount: '#ov-footer', brandName: SITE_NAME, updates: '/updates' };
@@ -20,7 +20,8 @@ t('the picture is the week\'s publishers, the bus and the subscriptions, from th
@@ -20,7 +20,8 @@ t('the picture is the week\'s publishers, the bus and the subscriptions, from th
assert.match(scene, /<p class="ev-scene-bus"><b>The bus<\/b><span>24,958 events this week<\/span><\/p>/);
assert.match(scene, /<p class="ev-scene-bus"><b>The bus<\/b><span>24,958 events this week<\/span><\/p>/);
assert.match(scene, /<p class="ev-scene-subs"><b>61<\/b> subscriptions receive them, signed and retried<\/p>/);
assert.match(scene, /<p class="ev-scene-subs"><b>61<\/b> subscriptions receive them, signed and retried<\/p>/);
assert.ok(!/sc-orbit/.test(page), 'the generic orbit is gone');
assert.ok(!/sc-orbit/.test(page), 'the generic orbit is gone');
- assert.match(page, /@media \(prefers-reduced-motion:reduce\)\{\.ev-scene-pubs i\{animation:none\}\.ev-scene-flow i\{display:none\}\}/, 'still under reduced motion');
+ assert.match(page, /html\[data-ov-motion=off\] \.ev-scene-flow i\{display:none\}/, 'the traffic stops only with motion off');
+ assert.ok(!/prefers-reduced-motion/.test(page), 'Calm plays the scene, smaller and slower');
});
});
t('no subscriptions: that line is left out, not shown as zero', () => {
t('no subscriptions: that line is left out, not shown as zero', () => {