Skip to content
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

Merged
merged 14 commits into from
Apr 8, 2022
Merged

Tracker: Issues list view #1313

merged 14 commits into from
Apr 8, 2022

Conversation

agrigorovich-xored
Copy link
Contributor

@agrigorovich-xored agrigorovich-xored commented Apr 7, 2022

No description provided.

@@ -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)
Copy link
Member

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.
Copy link
Member

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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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'
Copy link
Member

@haiodo haiodo Apr 7, 2022

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()

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>
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": {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why?

/>
</Scroller>
<Scroller>
<IssuesList
Copy link
Member

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

@haiodo haiodo merged commit de0a5fc into main Apr 8, 2022
@haiodo haiodo deleted the feature-1268 branch April 8, 2022 18:05
budaeva pushed a commit that referenced this pull request Apr 13, 2022
Signed-off-by: Artyom Grigorovich <grigorovichartyom@gmail.com>
Signed-off-by: budaeva <irina.budaeva@xored.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants