Comments (4)
NOTES:
We limit the list of projects permitted for the storefront to just running ones:
As long as we don't edit the store front items after a selected project is finished it will display the project, this is the intended behavior.
If we edit the storefront after one of the selected projects has finished the projects update and there is now an empty item in the random_items list as a finished project does not fit the 'project_choice_limit' anymore
I think this is whats happening anyway.
@Rineee i mistook this for a frontend problem and am now not sure on the best approach here, I don't know a way to make the storefront snippet know to keep all existing random_items unless formfield is deleted of changed. Unfortunatly the formfield does unset it's self when the project ends but it doesn't register as an empty field, can be seen here in third one down https://meinberlin-dev.liqd.net/admin/snippets/meinberlin_cms/storefront/edit/1/#tab-project_tiles
any pointers would be appreciated but I can also take another hit at it next week as there's a bunch of story related issues before release
from a4-meinberlin.
@philli-m @maxliqd So the desired behaviour would be that finished projects are still shown, right? You can only not add an already finished project to the storefront, but if it finishes later, it should still show?
from a4-meinberlin.
@Rineee Yes, finished projects shall still appear in the storefront if they were added before as a running project. But you cannot add an already finished project, because otherwise the list would be way too long. That's how I understood @philli-m
from a4-meinberlin.
@Rineee also to note in case it wasn't clear, finished projects are still shown as finished tiles until the list is edited in wagtail then they become blank entries
from a4-meinberlin.
Related Issues (20)
- Unify dropdown functionality across all dropdowns
- #8012 [mB] re-design moderator feedback HOT 1
- #7862 [mB] re-design comment search and filter
- Filter, List and Map View and Proposals-List are not shown at all in Webkit Browsers HOT 3
- new item detail dropdown is missing a z-index
- #8039 [mB] re-design component item detail: Dots menu only collapses when clicking the button that originally opened it HOT 1
- #8039 [mB] re-design component item detail: Creation date and reference number are not displayed in grey font
- Filter-Button-Text on Project-Overview is not readable (white text on white button!) on mobile deivces
- in modules with maps: "Pin without Icon" is greyed out although clickable
- #8039 [mB] re-design component item detail
- Navigation icon for open answer in survey module too large HOT 2
- Big images are not shown in Chrome HOT 2
- "Unknow Account"-Email-Template is not showing email adress HOT 7
- #8162 [mB] re-design text commenting module: back-button in paragraph detail view is missing HOT 4
- #8162 [mB] re-design text commenting module: Paragraphs missing before active participation phase HOT 5
- #8162 [mB] re-design text commenting module: Line breaks in Buttons despite sufficient screensize on Iphones with IOS > 17.5
- #8162 [mB] re-design text commenting module
- cannot edit my own subcomment HOT 2
- Comment Form broken HOT 1
- My story
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from a4-meinberlin.