mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Merge pull request #11331 from Nerdinacan/rename_scroller
Renamed virtualscroller since it is no longer virtual
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
</template>
|
||||
|
||||
<template v-slot:listing>
|
||||
<VirtualScroller
|
||||
<Scroller
|
||||
key-field="element_index"
|
||||
:item-height="36"
|
||||
:items="contents"
|
||||
@@ -44,7 +44,7 @@
|
||||
@viewCollection="$emit('viewCollection', item)"
|
||||
/>
|
||||
</template>
|
||||
</VirtualScroller>
|
||||
</Scroller>
|
||||
</template>
|
||||
</Layout>
|
||||
</ExpandedItems>
|
||||
@@ -61,7 +61,7 @@ import { DscProvider, CollectionContentProvider, ExpandedItems } from "../provid
|
||||
import Layout from "../Layout";
|
||||
import TopNav from "./TopNav";
|
||||
import Details from "./Details";
|
||||
import VirtualScroller from "../../VirtualScroller";
|
||||
import Scroller from "../Scroller";
|
||||
import { CollectionContentItem } from "../ContentItem";
|
||||
|
||||
export default {
|
||||
@@ -71,7 +71,7 @@ export default {
|
||||
Layout,
|
||||
TopNav,
|
||||
Details,
|
||||
VirtualScroller,
|
||||
Scroller,
|
||||
CollectionContentItem,
|
||||
ExpandedItems,
|
||||
},
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
<template v-slot:listing>
|
||||
<HistoryEmpty v-if="history.empty" class="m-2" />
|
||||
|
||||
<VirtualScroller
|
||||
<Scroller
|
||||
v-else
|
||||
:class="{ loadingBackground: loading }"
|
||||
key-field="hid"
|
||||
@@ -83,7 +83,7 @@
|
||||
@viewCollection="$emit('viewCollection', item)"
|
||||
/>
|
||||
</template>
|
||||
</VirtualScroller>
|
||||
</Scroller>
|
||||
</template>
|
||||
|
||||
<template v-slot:modals>
|
||||
@@ -104,7 +104,7 @@ import HistoryDetails from "./HistoryDetails";
|
||||
import HistoryEmpty from "./HistoryEmpty";
|
||||
import ContentOperations from "./ContentOperations";
|
||||
import ToolHelpModal from "./ToolHelpModal";
|
||||
import VirtualScroller from "../VirtualScroller";
|
||||
import Scroller from "./Scroller";
|
||||
import { HistoryContentItem } from "./ContentItem";
|
||||
|
||||
export default {
|
||||
@@ -116,7 +116,7 @@ export default {
|
||||
HistoryEmpty,
|
||||
ContentOperations,
|
||||
ToolHelpModal,
|
||||
VirtualScroller,
|
||||
Scroller,
|
||||
HistoryContentItem,
|
||||
ExpandedItems,
|
||||
SelectedItems,
|
||||
|
||||
+1
-1
@@ -222,7 +222,7 @@ export default {
|
||||
"div",
|
||||
{
|
||||
ref: "container",
|
||||
staticClass: "virtualScroller",
|
||||
staticClass: "historyScroller",
|
||||
directives: [
|
||||
{
|
||||
name: "scroll",
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Had to build a custom virtual scroller to suit our needs.
|
||||
*/
|
||||
|
||||
import Scroller from "./Scroller";
|
||||
|
||||
export { Scroller };
|
||||
export default Scroller;
|
||||
+2
-2
@@ -1,10 +1,10 @@
|
||||
.virtualScroller {
|
||||
.historyScroller {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: auto;
|
||||
}
|
||||
.virtualScroller {
|
||||
.historyScroller {
|
||||
ul {
|
||||
list-style: none;
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
/**
|
||||
* Had to build a custom virtual scroller to suit our needs.
|
||||
*/
|
||||
|
||||
import VirtualScroller from "./VirtualScroller";
|
||||
|
||||
export { VirtualScroller };
|
||||
export default VirtualScroller;
|
||||
Reference in New Issue
Block a user