-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracker: Issues list view #1313
Conversation
models/tracker/src/index.ts
Outdated
@@ -101,7 +101,7 @@ export class TIssue extends TDoc implements Issue { | |||
@Prop(Collection(attachment.class.Attachment), tracker.string.Attachments) | |||
attachments!: number | |||
|
|||
// @Prop(Collection(core.class.TypeString), tracker.string.Labels) | |||
@Prop(Collection(core.class.TypeString), tracker.string.Labels) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better to declare special LabelType with appropriate presenters.
@@ -0,0 +1,45 @@ | |||
<!-- | |||
// Copyright © 2020, 2021 Anticrm Platform Contributors. | |||
// Copyright © 2021 Hardcore Engineering Inc. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2022 and only second copyright
import view from '@anticrm/view' | ||
import tracker from '../../plugin' | ||
|
||
export let value: Employee |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
export let value: Employee | |
export let value: WithLookup<Employee> | |
// and show value.lookup.assignee |
{ key: '', presenter: tracker.component.TitlePresenter }, | ||
{ key: '', presenter: tracker.component.LabelsPresenter }, | ||
{ key: 'modifiedOn', presenter: tracker.component.ModificationDatePresenter }, | ||
'$lookup.assignee' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{ key: '$lookup.assignee', props: { showText: false } }
Please check view-resources implementation buildModel()
plugins/tracker-resources/src/components/issues/ControlCheckBox.svelte
Outdated
Show resolved
Hide resolved
plugins/tracker-resources/src/components/issues/IssuesList.svelte
Outdated
Show resolved
Hide resolved
plugins/tracker-resources/src/components/issues/ModificationDatePresenter.svelte
Show resolved
Hide resolved
bee02a4
to
169f453
Compare
Signed-off-by: Artyom Grigorovich <grigorovichartyom@gmail.com>
Signed-off-by: Artyom Grigorovich <grigorovichartyom@gmail.com>
Signed-off-by: Artyom Grigorovich <grigorovichartyom@gmail.com>
Signed-off-by: Artyom Grigorovich <grigorovichartyom@gmail.com>
Signed-off-by: Artyom Grigorovich <grigorovichartyom@gmail.com>
Signed-off-by: Artyom Grigorovich <grigorovichartyom@gmail.com>
169f453
to
bb77453
Compare
Signed-off-by: Artyom Grigorovich <grigorovichartyom@gmail.com>
Signed-off-by: Artyom Grigorovich <grigorovichartyom@gmail.com>
…signeePresenter Signed-off-by: Artyom Grigorovich <grigorovichartyom@gmail.com>
Signed-off-by: Artyom Grigorovich <grigorovichartyom@gmail.com>
Signed-off-by: Artyom Grigorovich <grigorovichartyom@gmail.com>
Signed-off-by: Artyom Grigorovich <grigorovichartyom@gmail.com>
Signed-off-by: Artyom Grigorovich <grigorovichartyom@gmail.com>
Signed-off-by: Artyom Grigorovich <grigorovichartyom@gmail.com>
@@ -1,19 +0,0 @@ | |||
{ | |||
"files.exclude": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why?
/> | ||
</Scroller> | ||
<Scroller> | ||
<IssuesList |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probable we should rename IssuesList to ListView and put it inside view/view-resources
Signed-off-by: Artyom Grigorovich <grigorovichartyom@gmail.com> Signed-off-by: budaeva <irina.budaeva@xored.com>
No description provided.