update CreateProjectPage.js
What?
When you promote a scene as 'featured' in admin panel it now shows up here.
Why?
Fixing bug #1308
Examples
How to test
- Go to 'demo.hubsfoundation.org'
- Click on 'New Project'
- Scroll down to 'Featured Projects'
- See 'The Featured projects'
Documentation of functionality
Limitations
Alternatives considered
Open questions
Additional details or related context
Thanks! It's nice to squash these annoying bugs.
Unfortunately, I'm not seeing the fix. When I click to switch from All to Featured, the URL changes to https://demo.hubsfoundation.org/spoke/projects/create?filter=featured-remixable
If I manually edit the URL to https://demo.hubsfoundation.org/spoke/projects/create?filter=featured I do see the featured scenes.
Perhaps I'm running into a caching issue.
Hi @hrithikwins Thanks for the PR.
As far as I know, the featured tab on The New Project page should only show featured scenes that are also remixable (if it's not remixable, then you can't create a new project from it). This PR appears to switch it to display any scenes that are featured (regardless of whether they're remixable). While this appears to work, I believe it only sidesteps the problem. If you'll note, the "All" tab has a filter value of "remixable", so as far as I know the "Featured" tab should only show remixable content that is also featured (if the filter value is just featured, then it shows anything that is featured, whether or not it is remixable/can be used to create a new scene.