Skip to content

Feature Request (size: Large-ish) - REPO cards #19

@hesreallyhim

Description

@hesreallyhim

Description

Repo cards have a kind of "second-class" status in this project, one might argue. They are called "pins" because they tend to reflect statistics about a repo in relation to a user (like the cards that are "pinned" to a user profile.

Feature Proposal

I'd like to have cards that have repo stats - stats that are agnostic with respect to any individual user. What kind of stats? Creation date, date of last commit, stars, forks, open issues/PRs... the API exposes a lot of stats.

Implementation Suggestion

Based on my understanding of the project, the pins endpoint is not really meant for this kind of use case. Rather than try to place more of a burden on /pin/, I think a better approach is a new endpoint, /repo/.

Comments

I implemented some additional repo metrics in order to serve my particular use case. But that's a pretty unusual setup. It's possible that this is not something that would be of general interested. On the other hand, I can imagine some other use cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions