Skip to content

Commit

Permalink
Update app.placeholder.js
Browse files Browse the repository at this point in the history
  • Loading branch information
lowlighter committed Jan 14, 2021
1 parent 3139a5f commit 26f27f1
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions source/app/web/statics/app.placeholder.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
//Meta-data
meta:{version:set.version, author:"lowlighter"},
//Animated
animated:set.config.animated,
animated:false,
//Config
config:set.config,
//Base elements
Expand Down Expand Up @@ -304,7 +304,7 @@
totalCount:options["projects.limit"]+faker.random.number(10),
list:new Array(Number(options["projects.limit"])).fill(null).map(_ => ({
name:faker.lorem.sentence(),
updated:`${2+faker.date.recent(8)} days ago`,
updated:`${2+faker.random.number(8)} days ago`,
progress:{enabled:true, todo:faker.random.number(50), doing:faker.random.number(50), done:faker.random.number(50), get total() { return this.todo + this.doing + this.done } }
}))
}
Expand Down Expand Up @@ -432,7 +432,7 @@
user:set.user,
mobile:null,
number:faker.random.number(100),
title:faker.lorem.paragraph(),
title:faker.lorem.sentence(),
},
{
type:"comment",
Expand All @@ -442,23 +442,23 @@
user:set.user,
mobile:null,
number:faker.random.number(100),
title:faker.lorem.paragraph(),
title:faker.lorem.sentence(),
},
{
type:"issue",
repo:`${faker.random.word()}/${faker.random.word()}`,
action:faker.random.arrayElement(["opened", "closed", "reopened"]),
user:set.user,
number:faker.random.number(100),
title:faker.lorem.paragraph(),
title:faker.lorem.sentence(),
},
{
type:"pr",
repo:`${faker.random.word()}/${faker.random.word()}`,
action:faker.random.arrayElement(["opened", "closed"]),
user:set.user,
number:faker.random.number(100),
title:faker.lorem.paragraph(),
title:faker.lorem.sentence(),
lines:{added:faker.random.number(1000), deleted:faker.random.number(1000)}, files:{changed:faker.random.number(10)}
},
{
Expand All @@ -475,7 +475,7 @@
repo:`${faker.random.word()}/${faker.random.word()}`,
user:set.user,
number:faker.random.number(100),
title:faker.lorem.paragraph(),
title:faker.lorem.sentence(),
},
{
type:"release",
Expand Down

0 comments on commit 26f27f1

Please sign in to comment.