coreymckrill / nearby-wordpress-events

A widget to show nearby WP events in the Dashboard
GNU General Public License v2.0
11 stars 4 forks source link

Add counts to meetup and wordcamp links #27

Open iandunn opened 7 years ago

iandunn commented 7 years ago

Suggested by @mrwweb on the make/Community feedback post:

1b. Even the meetup list could get too crowded in Seattle to let people plan. Maybe there could be some type of “And X more events coming up in the next 30 days” link if there is an overflow events.

Currently the leaning seems to be towards counts rather than an additional "more" link, see https://make.wordpress.org/community/2017/03/23/showing-upcoming-local-events-in-wp-admin/#comment-23296

coreymckrill commented 7 years ago

It seems like this would need to be implemented on the API side. Include in the response something like:

{
    location: {...},
    events: {...},
    counts: {
        wordcamp: 3,
        meetup: 14
    }
}

Not sure what the best way would be to get the News count...

iandunn commented 7 years ago

I don't think we'll need it for News.

I'm gonna punt this to Future Release, since it's not a blocker for v1