hashplan / calendar

Apache License 2.0
0 stars 0 forks source link

venue selected by admin for top venue #51

Closed hashplan closed 9 years ago

hashplan commented 9 years ago

Roma, We want to enhance functionality for the top venues that show up on the site now. Since right now they show top 5 venues by count of number of events, by nature of this logic, it could exclude some very important venues or events that are happening. We want the admin to be able to pick a venue (even if it does not fit the top 5 by count of events) and have them show up. This is in addition to the top 5 venues by count. So for example, (very extreme example) if I am holding the Olympic games in my apartment, an event that happens only once every 4 years, my apartment will never make it on the list of top 5 venues by count of events (via current logic), since it will only have 1 event at that particular venue. Enhanced functionality - I would login as admin and select my apartment to be a top venue for NY metro area. What I would then expect the site to show in top venues section is my apartment first (new enhancement) and then the top 5 venues by count of events (current logic). If I pick another venue I consider important in addition to my apartment, I would expect the site to show those 2 venues I select as admin and then the top 5 by count.

I think we could just add a "top venue" column to http://hashplans.com/admin/venues/venues_list and do something similar to what we did for "is excluded" in order to give admin ability to pick which venues they consider important.

This will also help us later promote certain venues or even certain events so that not only venues with largest number of events show up. For example Olympic games are much more important compared to local baseball games at a local stadium (1 events vs 100s).

This will also require some enhancements to admin area, I think sortable columns for the table at least. I think what would also help with venues, maybe even events also, is a quick search. Flipping through 70+ pages of venues to find the one you want would be a pain.

romasolot commented 9 years ago

Management is on the venues page (the is sticky column is added, I took the name from wordpress) http://hashplans.com/admin/venues/venues_list

Depending on the selected metroarea in top venues, venues corresponding to sticky will be displayed first, and then 5 top venues The number of events is for the whole time (not for last 30 days as for other top venue)

hashplan commented 9 years ago

Roma,

This is great. Just a clarification question: What is the dependency to show events for whole time for sticky ones instead of just 30 days like other top venues?

What if a sticky venue does not have any events, will it still show up at the top of the list with 0 events? Maybe we should add a column to http://hashplans.com/admin/venues/venues_list just displaying number of events so that admin knows, because not every venue will always have events in it?

hashplan commented 9 years ago

Roma, somehow this does not update automatically. I cleared my cache etc. As admin I set Madison Square Garden and Beacon Theatre as sticky venues, both of which are in NY. I login as user at user.com pw newpassword. This user has NY as default location, but I don't see Madison Square Garden or Beacon Theatre showing up.

image

It does seem to bring them up if I click on "change location" and select "new york metro", but just logging in or reloading http://hashplans.com/user page does not bring up sticky venues.

romasolot commented 9 years ago

This is great. Just a clarification question: What is the dependency to show events for whole time for sticky ones instead of just 30 days like other top venues?

I did not stick to any rules, it just seemed to me that sticky venu will have more events this way, than usual top venues. The matter is that there can be no events within nearest 30 days, but venue can be moved forward for example due to event that is going to happen in two months. Anyway, I'll do whatever you say.

What if a sticky venue does not have any events, will it still show up at the top of the list with 0 events? Maybe we should add a column to http://hashplans.com/admin/venues/venues_list just displaying number of events so that admin knows, because not every venue will always have events in it?

Yes, 0 will be displayed. Total number can be not displayed at all. Which period should we take to display events for?

Madison Square Garden and Beacon Theatre as sticky venues

Fixed

hashplan commented 9 years ago

will think about how to handle, probably will go with an extra column in admin panel to show # events