- Issue created by @G4MBINI
- ๐ซ๐ทFrance pdureau Paris
Thansk you. Indeed, we need to implement CategorizingPluginManagerInterface in StoryPluginManager and use
::getSortedDefinitions()
in::getComponentStories()
- ๐ซ๐ทFrance pdureau Paris
Duplicate: โจ [2.0.1] StoryPluginManager::getComponentStories() must return sorted results Active
So, moved to 2.0.1.
No need to implement the full
CategorizingPluginManagerInterface
because stories are not gorupedSome people also want weighted results, but this will be another task.
- Merge request !347Issue #3507007: Implemented getSortedDefinitions method in StoryPluginManager. โ (Open) created by chhavi.sharma
- ๐ซ๐ทFrance Grimreaper France ๐ซ๐ท
Hi,
Need to introduce a weight key/properties in stories. Automatic sort by machine name or name will not be enough to reproduce official documentation order.
- ๐ฎ๐ณIndia chhavi.sharma
Implemented CategorizingPluginManagerInterface in StoryPluginManager to use ::getSortedDefinitions() in ::getComponentStories(). It needs to be reviewed.