mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update handling of deleted recording files
This commit is contained in:
parent
3a7ed6f85f
commit
dd2b5bc15e
20 changed files with 79 additions and 45 deletions
|
@ -32,14 +32,14 @@
|
||||||
"web-component-tester": "^4.0.0",
|
"web-component-tester": "^4.0.0",
|
||||||
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
|
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/PolymerElements/iron-icon",
|
"homepage": "https://github.com/polymerelements/iron-icon",
|
||||||
"_release": "1.0.8",
|
"_release": "1.0.8",
|
||||||
"_resolution": {
|
"_resolution": {
|
||||||
"type": "version",
|
"type": "version",
|
||||||
"tag": "v1.0.8",
|
"tag": "v1.0.8",
|
||||||
"commit": "f36b38928849ef3853db727faa8c9ef104d611eb"
|
"commit": "f36b38928849ef3853db727faa8c9ef104d611eb"
|
||||||
},
|
},
|
||||||
"_source": "git://github.com/PolymerElements/iron-icon.git",
|
"_source": "git://github.com/polymerelements/iron-icon.git",
|
||||||
"_target": "^1.0.0",
|
"_target": "^1.0.0",
|
||||||
"_originalSource": "PolymerElements/iron-icon"
|
"_originalSource": "polymerelements/iron-icon"
|
||||||
}
|
}
|
|
@ -36,7 +36,7 @@
|
||||||
"tag": "v1.2.4",
|
"tag": "v1.2.4",
|
||||||
"commit": "1ee4e2e11a9e5118320987d93fc2c03ae9a489f4"
|
"commit": "1ee4e2e11a9e5118320987d93fc2c03ae9a489f4"
|
||||||
},
|
},
|
||||||
"_source": "git://github.com/PolymerElements/iron-selector.git",
|
"_source": "git://github.com/polymerelements/iron-selector.git",
|
||||||
"_target": "^1.0.0",
|
"_target": "^1.0.0",
|
||||||
"_originalSource": "PolymerElements/iron-selector"
|
"_originalSource": "polymerelements/iron-selector"
|
||||||
}
|
}
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "neon-animation",
|
"name": "neon-animation",
|
||||||
"description": "A system for animating Polymer-based web components",
|
"description": "A system for animating Polymer-based web components",
|
||||||
"version": "1.1.0",
|
"version": "1.1.1",
|
||||||
"authors": [
|
"authors": [
|
||||||
"The Polymer Authors"
|
"The Polymer Authors"
|
||||||
],
|
],
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
"iron-meta": "PolymerElements/iron-meta#^1.0.0",
|
"iron-meta": "PolymerElements/iron-meta#^1.0.0",
|
||||||
"iron-resizable-behavior": "PolymerElements/iron-resizable-behavior#^1.0.0",
|
"iron-resizable-behavior": "PolymerElements/iron-resizable-behavior#^1.0.0",
|
||||||
"iron-selector": "PolymerElements/iron-selector#^1.0.0",
|
"iron-selector": "PolymerElements/iron-selector#^1.0.0",
|
||||||
"web-animations-js": "web-animations/web-animations-js#2.1.3"
|
"web-animations-js": "web-animations/web-animations-js#2.1.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"iron-flex-layout": "PolymerElements/iron-flex-layout#^1.0.0",
|
"iron-flex-layout": "PolymerElements/iron-flex-layout#^1.0.0",
|
||||||
|
@ -49,11 +49,11 @@
|
||||||
"iron-icons": "PolymerElements/iron-icons#^1.0.0",
|
"iron-icons": "PolymerElements/iron-icons#^1.0.0",
|
||||||
"paper-icon-button": "PolymerElements/paper-icon-button#^1.0.0"
|
"paper-icon-button": "PolymerElements/paper-icon-button#^1.0.0"
|
||||||
},
|
},
|
||||||
"_release": "1.1.0",
|
"_release": "1.1.1",
|
||||||
"_resolution": {
|
"_resolution": {
|
||||||
"type": "version",
|
"type": "version",
|
||||||
"tag": "v1.1.0",
|
"tag": "v1.1.1",
|
||||||
"commit": "564e0dc92724f2bc0bf0f76bf2ac392d4905b2ff"
|
"commit": "e1fefa09ec01a51cbb809a85a72f74b9b6f60c22"
|
||||||
},
|
},
|
||||||
"_source": "git://github.com/polymerelements/neon-animation.git",
|
"_source": "git://github.com/polymerelements/neon-animation.git",
|
||||||
"_target": "^1.0.0",
|
"_target": "^1.0.0",
|
||||||
|
|
|
@ -5,6 +5,11 @@ https://github.com/PolymerElements/ContributionGuide/blob/master/CONTRIBUTING.md
|
||||||
|
|
||||||
If you edit that file, it will get updated everywhere else.
|
If you edit that file, it will get updated everywhere else.
|
||||||
If you edit this file, your changes will get overridden :)
|
If you edit this file, your changes will get overridden :)
|
||||||
|
|
||||||
|
You can however override the jsbin link with one that's customized to this
|
||||||
|
specific element:
|
||||||
|
|
||||||
|
jsbin=https://jsbin.com/cagaye/edit?html,output
|
||||||
-->
|
-->
|
||||||
# Polymer Elements
|
# Polymer Elements
|
||||||
## Guide for Contributors
|
## Guide for Contributors
|
||||||
|
@ -41,7 +46,7 @@ Polymer Elements are built in the open, and the Polymer authors eagerly encourag
|
||||||
3. Click the `paper-foo` element.
|
3. Click the `paper-foo` element.
|
||||||
```
|
```
|
||||||
|
|
||||||
2. **A reduced test case that demonstrates the problem.** If possible, please include the test case as a JSBin. Start with this template to easily import and use relevant Polymer Elements: [http://jsbin.com/cagaye](http://jsbin.com/cagaye/edit?html,output).
|
2. **A reduced test case that demonstrates the problem.** If possible, please include the test case as a JSBin. Start with this template to easily import and use relevant Polymer Elements: [https://jsbin.com/cagaye/edit?html,output](https://jsbin.com/cagaye/edit?html,output).
|
||||||
|
|
||||||
3. **A list of browsers where the problem occurs.** This can be skipped if the problem is the same across all browsers.
|
3. **A list of browsers where the problem occurs.** This can be skipped if the problem is the same across all browsers.
|
||||||
|
|
||||||
|
@ -51,14 +56,14 @@ Polymer Elements are built in the open, and the Polymer authors eagerly encourag
|
||||||
|
|
||||||
When submitting pull requests, please provide:
|
When submitting pull requests, please provide:
|
||||||
|
|
||||||
1. **A reference to the corresponding issue** or issues that will be closed by the pull request. Please refer to these issues using the following syntax:
|
1. **A reference to the corresponding issue** or issues that will be closed by the pull request. Please refer to these issues in the pull request description using the following syntax:
|
||||||
|
|
||||||
```markdown
|
```markdown
|
||||||
(For a single issue)
|
(For a single issue)
|
||||||
Fixes #20
|
Fixes #20
|
||||||
|
|
||||||
(For multiple issues)
|
(For multiple issues)
|
||||||
Fixes #32, #40
|
Fixes #32, fixes #40
|
||||||
```
|
```
|
||||||
|
|
||||||
2. **A succinct description of the design** used to fix any related issues. For example:
|
2. **A succinct description of the design** used to fix any related issues. For example:
|
||||||
|
|
|
@ -13,7 +13,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
||||||
<link rel="import" href="../web-animations.html">
|
<link rel="import" href="../web-animations.html">
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
`<slide-down-animation>` animates the transform of an element from `translateY(-100%)` to `none`.
|
`<slide-down-animation>` animates the transform of an element from `none` `translateY(100%)`.
|
||||||
The `transformOrigin` defaults to `50% 0`.
|
The `transformOrigin` defaults to `50% 0`.
|
||||||
|
|
||||||
Configuration:
|
Configuration:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "neon-animation",
|
"name": "neon-animation",
|
||||||
"description": "A system for animating Polymer-based web components",
|
"description": "A system for animating Polymer-based web components",
|
||||||
"version": "1.1.0",
|
"version": "1.1.1",
|
||||||
"authors": [
|
"authors": [
|
||||||
"The Polymer Authors"
|
"The Polymer Authors"
|
||||||
],
|
],
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
"iron-meta": "PolymerElements/iron-meta#^1.0.0",
|
"iron-meta": "PolymerElements/iron-meta#^1.0.0",
|
||||||
"iron-resizable-behavior": "PolymerElements/iron-resizable-behavior#^1.0.0",
|
"iron-resizable-behavior": "PolymerElements/iron-resizable-behavior#^1.0.0",
|
||||||
"iron-selector": "PolymerElements/iron-selector#^1.0.0",
|
"iron-selector": "PolymerElements/iron-selector#^1.0.0",
|
||||||
"web-animations-js": "web-animations/web-animations-js#2.1.3"
|
"web-animations-js": "web-animations/web-animations-js#2.1.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"iron-flex-layout": "PolymerElements/iron-flex-layout#^1.0.0",
|
"iron-flex-layout": "PolymerElements/iron-flex-layout#^1.0.0",
|
||||||
|
|
|
@ -59,7 +59,7 @@ Polymer({
|
||||||
value: function() {
|
value: function() {
|
||||||
return {
|
return {
|
||||||
'entry': [{
|
'entry': [{
|
||||||
name: 'slide-down-animation',
|
name: 'slide-from-top-animation',
|
||||||
node: this.$.toolbar
|
node: this.$.toolbar
|
||||||
}, {
|
}, {
|
||||||
animatable: this.$.grid,
|
animatable: this.$.grid,
|
||||||
|
|
|
@ -109,7 +109,7 @@ Polymer({
|
||||||
hide: function() {
|
hide: function() {
|
||||||
this.opened = false;
|
this.opened = false;
|
||||||
// run fade-out-animation
|
// run fade-out-animation
|
||||||
this.playAnimation('fade-out-animation');
|
this.playAnimation('exit');
|
||||||
},
|
},
|
||||||
_onNeonAnimationFinish: function() {
|
_onNeonAnimationFinish: function() {
|
||||||
if (!this.opened) {
|
if (!this.opened) {
|
||||||
|
@ -292,7 +292,6 @@ Single element animations:
|
||||||
* `slide-right-animation` Animates transform from `none` to `translateX(100%)`;
|
* `slide-right-animation` Animates transform from `none` to `translateX(100%)`;
|
||||||
* `slide-from-left-animation` Animates transform from `translateX(-100%)` to `none`;
|
* `slide-from-left-animation` Animates transform from `translateX(-100%)` to `none`;
|
||||||
* `slide-from-right-animation` Animates transform from `translateX(100%)` to `none`;
|
* `slide-from-right-animation` Animates transform from `translateX(100%)` to `none`;
|
||||||
|
|
||||||
* `transform-animation` Animates a custom transform.
|
* `transform-animation` Animates a custom transform.
|
||||||
|
|
||||||
Note that there is a restriction that only one transform animation can be applied on the same element at a time. Use the custom `transform-animation` to combine transform properties.
|
Note that there is a restriction that only one transform animation can be applied on the same element at a time. Use the custom `transform-animation` to combine transform properties.
|
||||||
|
|
|
@ -86,19 +86,17 @@ animations to be run when switching to or switching out of the page.
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
observers: [
|
|
||||||
'_selectedChanged(selected)'
|
|
||||||
],
|
|
||||||
|
|
||||||
listeners: {
|
listeners: {
|
||||||
|
'iron-select': '_onIronSelect',
|
||||||
'neon-animation-finish': '_onNeonAnimationFinish'
|
'neon-animation-finish': '_onNeonAnimationFinish'
|
||||||
},
|
},
|
||||||
|
|
||||||
_selectedChanged: function(selected) {
|
_onIronSelect: function(event) {
|
||||||
|
var selectedPage = event.detail.item;
|
||||||
|
if (!selectedPage) return;
|
||||||
|
|
||||||
var selectedPage = this.selectedItem;
|
|
||||||
var oldPage = this._valueToItem(this._prevSelected) || false;
|
var oldPage = this._valueToItem(this._prevSelected) || false;
|
||||||
this._prevSelected = selected;
|
this._prevSelected = this.selected;
|
||||||
|
|
||||||
// on initial load and if animateInitialSelection is negated, simply display selectedPage.
|
// on initial load and if animateInitialSelection is negated, simply display selectedPage.
|
||||||
if (!oldPage && !this.animateInitialSelection) {
|
if (!oldPage && !this.animateInitialSelection) {
|
||||||
|
|
|
@ -23,6 +23,9 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
||||||
|
|
||||||
<link rel="import" href="../../test-fixture/test-fixture.html">
|
<link rel="import" href="../../test-fixture/test-fixture.html">
|
||||||
<link rel="import" href="../neon-animated-pages.html">
|
<link rel="import" href="../neon-animated-pages.html">
|
||||||
|
<link rel="import" href="../neon-animatable.html">
|
||||||
|
<link rel="import" href="../animations/slide-from-top-animation.html">
|
||||||
|
<link rel="import" href="../animations/slide-down-animation.html">
|
||||||
<link rel="import" href="test-resizable-pages.html">
|
<link rel="import" href="test-resizable-pages.html">
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
@ -45,6 +48,15 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
||||||
</template>
|
</template>
|
||||||
</test-fixture>
|
</test-fixture>
|
||||||
|
|
||||||
|
<test-fixture id="animate-initial-selection">
|
||||||
|
<template>
|
||||||
|
<neon-animated-pages entry-animation="slide-from-left-animation" exit-animation="slide-right-animation" animate-initial-selection>
|
||||||
|
<neon-animatable></neon-animatable>
|
||||||
|
<neon-animatable></neon-animatable>
|
||||||
|
</neon-animated-pages>
|
||||||
|
</template>
|
||||||
|
</test-fixture>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
suite('basic', function() {
|
suite('basic', function() {
|
||||||
});
|
});
|
||||||
|
@ -68,6 +80,20 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
||||||
}, 50);
|
}, 50);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
suite('animate-initial-selection', function() {
|
||||||
|
test('\'neon-animation-finish\' event fired after animating initial selection', function(done) {
|
||||||
|
var animatedPages = fixture('animate-initial-selection');
|
||||||
|
assert.isUndefined(animatedPages.selected);
|
||||||
|
var pages = Polymer.dom(animatedPages).children;
|
||||||
|
animatedPages.addEventListener('neon-animation-finish', function(event) {
|
||||||
|
assert.strictEqual(animatedPages.selected, 0);
|
||||||
|
assert.isFalse(event.detail.fromPage);
|
||||||
|
assert.deepEqual(event.detail.toPage, pages[0]);
|
||||||
|
done();
|
||||||
|
});
|
||||||
|
animatedPages.selected = 0;
|
||||||
|
});
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
"tag": "v1.0.11",
|
"tag": "v1.0.11",
|
||||||
"commit": "e3c1ab0c72905b58fb4d9adc2921ea73b5c085a5"
|
"commit": "e3c1ab0c72905b58fb4d9adc2921ea73b5c085a5"
|
||||||
},
|
},
|
||||||
"_source": "git://github.com/PolymerElements/paper-behaviors.git",
|
"_source": "git://github.com/polymerelements/paper-behaviors.git",
|
||||||
"_target": "^1.0.0",
|
"_target": "^1.0.0",
|
||||||
"_originalSource": "PolymerElements/paper-behaviors"
|
"_originalSource": "polymerelements/paper-behaviors"
|
||||||
}
|
}
|
|
@ -32,14 +32,14 @@
|
||||||
"iron-test-helpers": "PolymerElements/iron-test-helpers#^1.0.0"
|
"iron-test-helpers": "PolymerElements/iron-test-helpers#^1.0.0"
|
||||||
},
|
},
|
||||||
"ignore": [],
|
"ignore": [],
|
||||||
"homepage": "https://github.com/PolymerElements/paper-ripple",
|
"homepage": "https://github.com/polymerelements/paper-ripple",
|
||||||
"_release": "1.0.5",
|
"_release": "1.0.5",
|
||||||
"_resolution": {
|
"_resolution": {
|
||||||
"type": "version",
|
"type": "version",
|
||||||
"tag": "v1.0.5",
|
"tag": "v1.0.5",
|
||||||
"commit": "d72e7a9a8ab518b901ed18dde492df3b87a93be5"
|
"commit": "d72e7a9a8ab518b901ed18dde492df3b87a93be5"
|
||||||
},
|
},
|
||||||
"_source": "git://github.com/PolymerElements/paper-ripple.git",
|
"_source": "git://github.com/polymerelements/paper-ripple.git",
|
||||||
"_target": "^1.0.0",
|
"_target": "^1.0.0",
|
||||||
"_originalSource": "PolymerElements/paper-ripple"
|
"_originalSource": "polymerelements/paper-ripple"
|
||||||
}
|
}
|
|
@ -28,14 +28,14 @@
|
||||||
"web-animations-next-lite.dev.html",
|
"web-animations-next-lite.dev.html",
|
||||||
"web-animations-next-lite.dev.js"
|
"web-animations-next-lite.dev.js"
|
||||||
],
|
],
|
||||||
"version": "2.1.3",
|
"version": "2.1.4",
|
||||||
"_release": "2.1.3",
|
"_release": "2.1.4",
|
||||||
"_resolution": {
|
"_resolution": {
|
||||||
"type": "version",
|
"type": "version",
|
||||||
"tag": "2.1.3",
|
"tag": "2.1.4",
|
||||||
"commit": "4f0c0ee122de4178853cb52fa0784df4a06a8a0f"
|
"commit": "37184a99ab51d7fd8b3c9a60c3faa5c440ade147"
|
||||||
},
|
},
|
||||||
"_source": "git://github.com/web-animations/web-animations-js.git",
|
"_source": "git://github.com/web-animations/web-animations-js.git",
|
||||||
"_target": "2.1.3",
|
"_target": "2.1.4",
|
||||||
"_originalSource": "web-animations/web-animations-js"
|
"_originalSource": "web-animations/web-animations-js"
|
||||||
}
|
}
|
|
@ -1,3 +1,9 @@
|
||||||
|
### 2.1.4 - *December 1 2015*
|
||||||
|
* Use `Date.now()` instead of `performace.now()` for mobile Safari.
|
||||||
|
|
||||||
|
### 2.1.3 - *October 12 2015*
|
||||||
|
* Removed web-animations.min.js.gz
|
||||||
|
|
||||||
### 2.1.2 - *July 8 2015*
|
### 2.1.2 - *July 8 2015*
|
||||||
* Fix a bug where onfinish was being called for GroupEffects before they were finished.
|
* Fix a bug where onfinish was being called for GroupEffects before they were finished.
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue