FeatureRequestItem

data class FeatureRequestItem(val id: String, val appId: String, val title: String, val description: String, val status: String, val columnId: String?, val columnSlug: String?, val columnName: String?, val columnColor: String? = null, val versionId: String?, val versionLabel: String?, val releasedVersion: String?, val requesterName: String?, val requesterAvatarUrl: String? = null, val requesterClerkId: String? = null, val approved: Boolean, val voteCount: Int, val hasVoted: Boolean, val isOwnRequest: Boolean, val recentCommenters: List<RecentCommenter> = emptyList(), val hasMoreCommenters: Boolean = false, val createdAt: String, val updatedAt: String)(source)

A public feature request, as returned by FeedbackClient.fetchFeatureRequests.

Includes live vote counts, the current user's vote state, roadmap column placement, moderation status, and recent commenter avatars.

Example:

val result = client.fetchFeatureRequests(userToken = token)
result.requests.forEach { item ->
println("${item.title} - ${item.voteCount} votes (Voted: ${item.hasVoted})")
}

Constructors

Link copied to clipboard
constructor(id: String, appId: String, title: String, description: String, status: String, columnId: String?, columnSlug: String?, columnName: String?, columnColor: String? = null, versionId: String?, versionLabel: String?, releasedVersion: String?, requesterName: String?, requesterAvatarUrl: String? = null, requesterClerkId: String? = null, approved: Boolean, voteCount: Int, hasVoted: Boolean, isOwnRequest: Boolean, recentCommenters: List<RecentCommenter> = emptyList(), hasMoreCommenters: Boolean = false, createdAt: String, updatedAt: String)

Properties

Link copied to clipboard

Identifier of the owning application.

Link copied to clipboard

Whether a moderator has approved this request for public display.

Link copied to clipboard

Optional accent color of the associated column.

Link copied to clipboard

Associated roadmap BoardColumn ID, or null if uncategorized.

Link copied to clipboard

Display name of the associated roadmap column, or null.

Link copied to clipboard

Slug of the associated roadmap column, or null.

Link copied to clipboard

ISO 8601 creation timestamp.

Link copied to clipboard

Detailed description; may contain inline Markdown formatting rendered by dev.cupthread.feedback.ui.MarkdownText.

Link copied to clipboard

Whether additional commenters exist beyond recentCommenters.

Link copied to clipboard

Whether the current user (identified by userToken) has upvoted this request.

Link copied to clipboard
val id: String

Unique identifier for the feature request; used in FeedbackClient.toggleVote and comments.

Link copied to clipboard

Whether the current user created this request (users cannot vote on their own requests).

Link copied to clipboard

Up to 3 most recent commenters for rendering avatar stacks.

Link copied to clipboard

Actual release version label once shipped, or null.

Link copied to clipboard

Hosted avatar image URL of the requester, or null.

Link copied to clipboard

User account ID of the requester if signed in, or null.

Link copied to clipboard

Display name of the user who submitted the request, or null.

Link copied to clipboard

Display name of the roadmap stage: returns columnName when on the board, otherwise falls back to the raw status slug.

Link copied to clipboard

Workflow status slug (e.g., "backlog", "planned", "completed").

Link copied to clipboard

Brief summary of the proposed feature.

Link copied to clipboard

ISO 8601 last update timestamp.

Link copied to clipboard

Target AppVersion ID where this feature is scheduled to ship, or null.

Link copied to clipboard

Display label of the target release version, or null.

Link copied to clipboard

Total number of upvotes.

Functions

Link copied to clipboard

Creates a copy of this item with updated vote state.