Monorepo for Tangled tangled.org
856
fork

Configure Feed

Select the types of activity you want to include in your feed.

appview: adds issues into timeline #302

open opened by willdot.net targeting master from willdot.net/tangled-fork: include-issues-timeline

This will add issues being created into the timeline.

I think this is a nice step towards making the timeline be a bit more "custom" because when we get the ability to filter the timeline to be a bit more personalised, this could allow users to see issues being raised in repos they follow / start etc.

If you're happy with this, I can do pull requests next :)

Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:dadhhalkfcq3gucaq25hjqon/sh.tangled.repo.pull/3mkuzc3lcfd22
+3 -2
Interdiff #2 #3
appview/db/timeline.go

This file has not been changed.

appview/models/timeline.go

This file has not been changed.

+3 -2
appview/pages/templates/timeline/fragments/timeline.html
··· 19 19 {{ template "timeline/fragments/starEvent" (list $ $g) }} 20 20 {{ else if $primary.Follow }} 21 21 {{ template "timeline/fragments/followEvent" (list $ $g) }} 22 - { else if $primary.Issue }} 22 + {{ else if $primary.Issue }} 23 23 {{ template "timeline/fragments/issueEvent" (list $ $g) }} 24 24 {{ end }} 25 25 </div> ··· 89 89 90 90 {{ define "timeline/fragments/issueEvent" }} 91 91 {{ $root := index . 0 }} 92 - {{ $event := index . 1 }} 92 + {{ $group := index . 1 }} 93 + {{ $event := $group.Primary }} 93 94 {{ $issue := $event.Issue }} 94 95 {{ with $issue }} 95 96 {{ $repo := .Repo}}

History

4 rounds 0 comments
sign up or login to add to the discussion
1 commit
expand
appview: adds issues into timeline
merge conflicts detected
expand
  • appview/db/timeline.go:1
expand 0 comments
1 commit
expand
appview: adds issues into timeline
expand 0 comments
1 commit
expand
appview: adds issues into timeline
expand 0 comments
1 commit
expand
appview: adds issues into timeline
expand 0 comments