mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-28 04:25:03 +02:00
Fix UI. Update Scroller. (#2270)
Signed-off-by: Alexander Platov <sas_lord@mail.ru>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { Scroller } from '@anticrm/ui'
|
||||
import { Scroller, issueSP, defaultSP } from '@anticrm/ui'
|
||||
import IssuesListBrowser from './IssuesListBrowser.svelte'
|
||||
import tracker from '../../plugin'
|
||||
import { Issue, IssueStatus, ViewOptions } from '@anticrm/tracker'
|
||||
@@ -68,7 +68,7 @@
|
||||
</script>
|
||||
|
||||
<div class="w-full h-full clear-mins">
|
||||
<Scroller tableFade={categories[0] !== undefined} fadeTopOffset={48}>
|
||||
<Scroller fade={categories[0] !== undefined ? issueSP : defaultSP}>
|
||||
<IssuesListBrowser
|
||||
{_class}
|
||||
{currentSpace}
|
||||
|
||||
@@ -18,7 +18,17 @@
|
||||
import { FindOptions } from '@anticrm/core'
|
||||
import presentation, { Card } from '@anticrm/presentation'
|
||||
import { Issue, TimeSpendReport } from '@anticrm/tracker'
|
||||
import { Button, EditBox, EditStyle, eventToHTMLElement, IconAdd, Label, Scroller, showPopup } from '@anticrm/ui'
|
||||
import {
|
||||
Button,
|
||||
EditBox,
|
||||
EditStyle,
|
||||
eventToHTMLElement,
|
||||
IconAdd,
|
||||
Label,
|
||||
Scroller,
|
||||
tableSP,
|
||||
showPopup
|
||||
} from '@anticrm/ui'
|
||||
import { TableBrowser } from '@anticrm/view-resources'
|
||||
import { createEventDispatcher } from 'svelte'
|
||||
import tracker from '../../../plugin'
|
||||
@@ -75,7 +85,7 @@
|
||||
</div>
|
||||
<Label label={tracker.string.ChildEstimation} />:
|
||||
<div class="h-50">
|
||||
<Scroller tableFade>
|
||||
<Scroller fade={tableSP}>
|
||||
<TableBrowser
|
||||
showFilterBar={false}
|
||||
_class={tracker.class.Issue}
|
||||
@@ -91,7 +101,7 @@
|
||||
</div>
|
||||
<Label label={tracker.string.ReportedTime} />:
|
||||
<div class="h-50">
|
||||
<Scroller tableFade>
|
||||
<Scroller fade={tableSP}>
|
||||
<TableBrowser
|
||||
_class={tracker.class.TimeSpendReport}
|
||||
query={{ attachedTo: { $in: [object._id, ...childIds] } }}
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
import { FindOptions } from '@anticrm/core'
|
||||
import presentation, { Card } from '@anticrm/presentation'
|
||||
import { Issue, TimeSpendReport } from '@anticrm/tracker'
|
||||
import { Button, eventToHTMLElement, IconAdd, Scroller, showPopup } from '@anticrm/ui'
|
||||
import { Button, eventToHTMLElement, IconAdd, Scroller, tableSP, showPopup } from '@anticrm/ui'
|
||||
import { TableBrowser } from '@anticrm/view-resources'
|
||||
import tracker from '../../../plugin'
|
||||
import IssuePresenter from '../IssuePresenter.svelte'
|
||||
@@ -54,7 +54,7 @@
|
||||
<IssuePresenter value={issue} disableClick />
|
||||
</svelte:fragment>
|
||||
<div class="h-50">
|
||||
<Scroller tableFade>
|
||||
<Scroller fade={tableSP}>
|
||||
<TableBrowser
|
||||
showFilterBar={false}
|
||||
_class={tracker.class.TimeSpendReport}
|
||||
|
||||
Reference in New Issue
Block a user