Skip to content

Show asfid on the ballot #93

Description

@tisonkun

This follows https://lists.apache.org/thread/kpt9jpdnktmwlv7w81jbwv8kdgjv3gqg.

... and from the Slack discussion:

tison  [8:14 PM]
Now I saw it at:

+ '<span class="cand-name">' + escapeHtml(candidate.name) + '</span>';

Let me see whether the candidate object has an asfid property that I can use in rendering.

tison  [8:14 PM]
Seems the only information we have for issue's candidates are labelmap but the asfid info has been dropped.

tison  [8:26 PM]
A proper solution may be, when adding labelmap, directly use form like AB: Zili Chen (tison)

gstein  [11:11 AM]
we can get the user ID in there no problem, in a way the template can use.
[11:11 AM]lemme take a quick look
[11:13 AM]oh. shoot. I see the problem here. ... the map has name, not user ID in KV structure. That structure is versioned, so we can extend the structure to include the (userid, name) tuple for each label, and call that v2.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions