Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project featured flag and spotlight queue #433

Open
jace opened this issue Jun 4, 2019 · 3 comments
Open

Project featured flag and spotlight queue #433

jace opened this issue Jun 4, 2019 · 3 comments
Milestone

Comments

@jace
Copy link
Member

jace commented Jun 4, 2019

Like featured sessions, projects also need a featured flag. However, the flag can only be set by website editors (not profile editors), a site-level membership type that needs to be defined in the membership ticket (#371, #401).

Since multiple projects can be featured but only one project can appear on the home page under the spotlight, a separate mechanism is required to pick the project. Candidate approaches:

  1. The immediate next featured project (as determined by session dates) is always in the spotlight. This is the simplest implementation, but it has the drawback that if a small featured project precedes a large featured project, the small one will take priority even though users may be more interested in the large one.

  2. Like the first, but projects are sorted as a function of both distance into the future (X-axis) and their importance (Y-axis; criteria and unit conversion TBD). The project with the larger angle on the left side of ◿ is sorted first. The lower left in ◿ presents the current moment, lower right the future date of the project, and upper right the Y-axis position of the project. What makes a project important? Participation headcount? Revenue? Past or current work-in-progress (aka "trending") performance? We don't know yet.

  3. Build on the second, but also take into account other factors such as the user's location and the number of travelling participants in a project.

Approach 1 is a simple database query. Approach 2 will require periodic recalculation and caching and can be done every few hours. Approach 3 has an unknown per-user complexity. We may have to start with the first approach and keep the ticket open to achieve the second and third.

@jace
Copy link
Member Author

jace commented Jun 4, 2019

Priority sorting illustration

jace added a commit that referenced this issue Jun 5, 2019
@jace jace added this to the App frame milestone Jun 5, 2019
@qurbat
Copy link
Contributor

qurbat commented Jun 23, 2020

To add to this, featured projects should also make use of a featured_until flag to make it easier to automate and manage featured projects in advance.

@jace
Copy link
Member Author

jace commented Jun 25, 2020

Doesn't this also imply a featured_from? Also, what validations are necessary to ensure featured timestamps don't drift from project session timestamps?

vidya-ram pushed a commit that referenced this issue Nov 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants