This site is no longer actively maintained. It exists for historical purposes as an example of Phabricator integration and Lua scripting.

Difference between revisions of "Main Page"

From cpt
No edit summary
m (Text replacement - "Core Platform Team" to "Platform Engineering")
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="display:none;">
<div style="display:none;">
{{#vardefine:type|{{#urldecode:{{#urlget:type|days}}}}}}
{{#vardefine:type|{{#urldecode:{{#urlget:type|days}}}}}}
{{#vardefine:days|{{#ifeq:{{#var:type}}|days|{{#urlget:days|{{#switch:{{#timel:N}}|1=3|7=42|#default=1}}}}}}}}
{{#vardefine:days|{{#ifeq:{{#var:type}}|days|{{#urlget:days|{{#switch:{{#timel:N}}|1=3|7=4|#default=1}}}}}}}}
</div>
</div>
<div style="text-align:center;font-weight:bold;">[{{fullurl:{{FULLPAGENAME}}|days=1}} Last 1 day] | [{{fullurl:{{FULLPAGENAME}}|days=2}} Last 2 days] | [{{fullurl:{{FULLPAGENAME}}|days=3}} Last 3 days] | [{{fullurl:{{FULLPAGENAME}}|days=7}} Last 7 days] | [{{fullurl:{{FULLPAGENAME}}|type=last}} Last 20]</div>
<div style="text-align:center;font-weight:bold;">[{{fullurl:{{FULLPAGENAME}}|days=1}} Last 1 day] | [{{fullurl:{{FULLPAGENAME}}|days=2}} Last 2 days] | [{{fullurl:{{FULLPAGENAME}}|days=3}} Last 3 days] | [{{fullurl:{{FULLPAGENAME}}|days=7}} Last 7 days] | [{{fullurl:{{FULLPAGENAME}}|type=last}} Last 20]</div>


Line 11: Line 13:
| style="vertical-align:top;" |
| style="vertical-align:top;" |
{| style="border:1px solid #808B96;" width=350  
{| style="border:1px solid #808B96;" width=350  
! style="background-color:#D6EAF8;padding:3px;font-size:1.2em;" | &#127793; Tasks Created in Last {{#var:days}} Day(s) [{{#ask:[[Category:Phabricator Tasks]][[Has subobject.Project::~Core Platform Team*]][[Task Created Timestamp::>{{#time:U|-{{#var:days}} days}}]]|format=count}}]
! style="background-color:#D6EAF8;padding:3px;font-size:1.2em;" | &#127793; Tasks Created in Last {{#var:days}} {{#ifeq:{{#var:days}}|1|Day|Days}} [{{#ask:[[Category:Phabricator Tasks]][[Has subobject.Project::~Platform Engineering*]][[Task Created Timestamp::>{{#time:U|-{{#var:days}} days}}]]|format=count}}]
|-
|-
| style="padding:3px;" |
| style="padding:3px;" |
{{#ask:[[Category:Phabricator Tasks]][[Has subobject.Project::~Core Platform Team*]][[Task Created Timestamp::>{{#time:U|-{{#var:days}} days}}]]
{{#ask:[[Category:Phabricator Tasks]][[Has subobject.Project::~Platform Engineering*]][[Task Created Timestamp::>{{#time:U|-{{#var:days}} days}}]]
|sort=Task Created Timestamp
|sort=Task Created Timestamp
|order=desc
|order=desc
|format=plainlist
|format=ul
|template=Task Link
|link=none
|searchlabel=
|searchlabel=
|limit=500
}}
}}
|}
|}
Line 26: Line 27:
| style="vertical-align:top;" |
| style="vertical-align:top;" |
{| style="border:1px solid #808B96;" width=350  
{| style="border:1px solid #808B96;" width=350  
! style="background-color:#D6EAF8;padding:3px;font-size:1.2em;" | &#127919; Tasks Tagged in Last {{#var:days}} Day(s) [{{#ask:[[Category:Phabricator Tasks]][[Has subobject.Project::~Core Platform Team*]][[Creation date::>{{#time:Y/m/d H:i|-{{#var:days}} days}}]]|format=count}}]
! style="background-color:#D6EAF8;padding:3px;font-size:1.2em;" | &#127919; Tasks Tagged in Last {{#var:days}} {{#ifeq:{{#var:days}}|1|Day|Days}} [{{#ask:[[Category:Phabricator Tasks]][[Has subobject.Project::~Platform Engineering*]][[Creation date::>{{#time:Y/m/d H:i|-{{#var:days}} days}}]]|format=count}}]
|-
|-
| style="padding:3px;" |
| style="padding:3px;" |
{{#ask:[[Category:Phabricator Tasks]][[Has subobject.Project::~Core Platform Team*]][[Creation date::>{{#time:Y/m/d H:i|-{{#var:days}} days}}]]
{{#ask:[[Category:Phabricator Tasks]][[Has subobject.Project::~Platform Engineering*]][[Creation date::>{{#time:Y/m/d H:i|-{{#var:days}} days}}]]
|sort=Creation date
|sort=Creation date
|order=desc
|order=desc
|format=plainlist
|format=ul
|template=Task Link
|link=none
|searchlabel=
|searchlabel=
|limit=500
}}
}}
|}
|}
Line 41: Line 41:
| style="vertical-align:top;" |
| style="vertical-align:top;" |
{| style="border:1px solid #808B96;" width=350  
{| style="border:1px solid #808B96;" width=350  
! style="background-color:#D6EAF8;padding:3px;font-size:1.2em;" | &#127881; Tasks Closed in Last {{#var:days}} Day(s) [{{#ask:[[Category:Phabricator Tasks]][[Has subobject.Project::~Core Platform Team*]][[Task Closed Timestamp::>{{#time:U|-{{#var:days}} days}}]]|format=count}}]
! style="background-color:#D6EAF8;padding:3px;font-size:1.2em;" | &#127881; Tasks Closed in Last {{#var:days}} {{#ifeq:{{#var:days}}|1|Day|Days}} [{{#ask:[[Category:Phabricator Tasks]][[Has subobject.Project::~Platform Engineering*]][[Task Closed Timestamp::>{{#time:U|-{{#var:days}} days}}]]|format=count}}]
|-
|-
| style="padding:3px;" |
| style="padding:3px;" |
{{#ask:[[Category:Phabricator Tasks]][[Has subobject.Project::~Core Platform Team*]][[Task Closed Timestamp::>{{#time:U|-{{#var:days}} days}}]]
{{#ask:[[Category:Phabricator Tasks]][[Has subobject.Project::~Platform Engineering*]][[Task Closed Timestamp::>{{#time:U|-{{#var:days}} days}}]]
|sort=Task Closed Timestamp
|sort=Task Closed Timestamp
|order=desc
|order=desc
|format=plainlist
|format=ul
|template=Task Link
|link=none
|searchlabel=
|searchlabel=
|limit=500
}}
}}
|}
|}
Line 61: Line 60:
|-
|-
| style="padding:3px;" |
| style="padding:3px;" |
{{#ask:[[Category:Phabricator Tasks]][[Has subobject.Project::~Core Platform Team*]]
{{#ask:[[Category:Phabricator Tasks]][[Has subobject.Project::~Platform Engineering*]]
|sort=Task Created Timestamp
|sort=Task Created Timestamp
|order=desc
|order=desc
|format=plainlist
|format=ul
|template=Task Link
|link=none
|limit=20
|limit=20
|searchlabel=
|searchlabel=
Line 77: Line 74:
|-
|-
| style="padding:3px;" |
| style="padding:3px;" |
{{#ask:[[Category:Phabricator Tasks]][[Has subobject.Project::~Core Platform Team*]]
{{#ask:[[Category:Phabricator Tasks]][[Has subobject.Project::~Platform Engineering*]]
|sort=Creation date
|sort=Creation date
|order=desc
|order=desc
|format=plainlist
|format=ul
|template=Task Link
|link=none
|limit=20
|limit=20
|searchlabel=
|searchlabel=
Line 93: Line 88:
|-
|-
| style="padding:3px;" |
| style="padding:3px;" |
{{#ask:[[Category:Phabricator Tasks]][[Has subobject.Project::~Core Platform Team*]]
{{#ask:[[Category:Phabricator Tasks]][[Has subobject.Project::~Platform Engineering*]]
|sort=Task Closed Timestamp
|sort=Task Closed Timestamp
|order=desc
|order=desc
|format=plainlist
|format=ul
|template=Task Link
|link=none
|limit=20
|limit=20
|searchlabel=
|searchlabel=

Latest revision as of 21:41, 29 July 2020




🌱 Tasks Created in Last 1 Day [0]
 
🎯 Tasks Tagged in Last 1 Day [0]
 
🎉 Tasks Closed in Last 1 Day [0]