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")
 
(14 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|hours}}}}}}
{{#vardefine:type|{{#urldecode:{{#urlget:type|days}}}}}}
{{#vardefine:hours|{{#ifeq:{{#var:type}}|hours|{{#urlget:hours|{{#switch:{{#timel:N}}|1=72|7=48|#default=24}}}}}}}}
{{#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}}|hours=24}} Last 1 day] | [{{fullurl:{{FULLPAGENAME}}|hours=48}} Last 2 days] | [{{fullurl:{{FULLPAGENAME}}|hours=72}} Last 3 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>




<div style="width:1070px;margin:0 auto;">
<div style="width:1070px;margin:0 auto;">
{{#ifeq:{{#var:type}}|hours|{{#!:
{{#ifeq:{{#var:type}}|days|{{#!:
{|
{|
| 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.5em;" | &#127793; Tasks Created in Last {{#var:hours}} Hours
! 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:hours}} hours}}]]
{{#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.5em;" | &#127919; Tasks Tagged in Last {{#var:hours}} Hours
! 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:hours}} hours}}]]
{{#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.5em;" | &#127881; Tasks Closed in Last {{#var:hours}} Hours
! 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:hours}} hours}}]]
{{#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 58: Line 57:
| 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.5em;" | &#127793; Last 20 Tasks Created
! style="background-color:#D6EAF8;padding:3px;font-size:1.2em;" | &#127793; Last 20 Tasks Created
|-
|-
| 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 74: Line 71:
| 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.5em;" | &#127919; Last 20 Tasks Tagged
! style="background-color:#D6EAF8;padding:3px;font-size:1.2em;" | &#127919; Last 20 Tasks Tagged
|-
|-
| 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 90: Line 85:
| 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.5em;" | &#127881; Last 20 Tasks Closed
! style="background-color:#D6EAF8;padding:3px;font-size:1.2em;" | &#127881; Last 20 Tasks Closed
|-
|-
| 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]