-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable limiting the number of stories in flexible general containers (#…
…1746) * use maxitemstodisplay to set flex story limit * scalafmt * rename label * Add min/max attr to input * set min to 0 * implement feedback * refactor such that maxItemsToDisplay reflects the total number of stories rather than just standard * scalafmt * bump min maxItemsToDisplay from 0 to 1 * cConfigJson refactor * consistenly handle options for standard story limit * Simplify flexible general stories visible logic * refactor getStoriesVisibleByStage using a for comprehension Co-authored-by: David Furey <david.furey@guardian.co.uk> * update flex gen stories visible to remove reference to standard story limit --------- Co-authored-by: David Furey <david.furey@guardian.co.uk>
- Loading branch information
1 parent
592b7e9
commit f667038
Showing
5 changed files
with
50 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters