-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
32 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ import uniffi.wp_api.UserWithEditContext | |
* This is a temporary object to supply a list of users for the self-hosted user list. | ||
* It will be removed once the network request to retrieve users is implemented. | ||
*/ | ||
@Suppress("MaxLineLength") | ||
object SampleUsers { | ||
private val sampleUserList = ArrayList<UserWithEditContext>() | ||
|
||
|
@@ -14,7 +15,6 @@ object SampleUsers { | |
username = "@sampleUser", | ||
avatarUrls = emptyMap(), | ||
capabilities = emptyMap(), | ||
description = "User description", | ||
email = "[email protected]", | ||
extraCapabilities = emptyMap(), | ||
firstName = "Sample", | ||
|
@@ -27,6 +27,7 @@ object SampleUsers { | |
roles = listOf("admin"), | ||
slug = "sample-user", | ||
url = "example.com", | ||
description = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam non quam viverra, viverra est vel, interdum felis. Pellentesque interdum libero quis metus pharetra ullamcorper. Morbi nec libero ligula. Quisque consectetur, purus sit amet lobortis porttitor, ligula ex imperdiet massa, in ullamcorper augue odio sit amet metus. In sollicitudin mauris et risus mollis commodo. Aliquam vel vehicula ante, nec blandit erat. Aenean non turpis porttitor orci fringilla fringilla nec ac nunc. Nulla ultrices urna ut ipsum posuere blandit. Phasellus mauris nulla, tincidunt at leo at, auctor interdum felis. Sed pharetra risus a ullamcorper dictum. Suspendisse pharetra justo molestie risus lobortis facilisis.", | ||
) | ||
|
||
// TODO remove the avatar url | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters