Skip to content

Include tasks in task_list view - #1146

Closed
snewcomer wants to merge 1 commit into
developfrom
include-tasks
Closed

Include tasks in task_list view#1146
snewcomer wants to merge 1 commit into
developfrom
include-tasks

Conversation

@snewcomer

@snewcomersnewcomer commented Nov 2, 2017

Copy link
Copy Markdown
Contributor

Add include key to tasks for the task_list view

References

Fixes #

Progress on: #

end

@preloads [:tasks]
@preloads [{:tasks, [:comments, :github_pull_request, :task_skills, :user_task]}]

@snewcomersnewcomerNov 2, 2017

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

This is using nested preloads. I am not sure if we should just add the whole list of task preloads or not. Was just adding them based on the feedback from the tests. @begedin thoughts?

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

ah these are the ones marked with identifier: always

@snewcomersnewcomerNov 3, 2017

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

@joshsmith would you also include the task's relationships?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The real answer here is that it doesn't much matter what I think, but what the performance implications are. Testing this out in the browser with Scout running and doing more precise benchmarking will combined yield a better answer.

@snewcomer

Copy link
Copy Markdown
ContributorAuthor

Closing this in favor of #1187

@snewcomer
snewcomer deleted the include-tasks branch November 17, 2017 15:09
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@snewcomer@joshsmith