payload: {"action":"created","issue":{"url":"https://api.github.com/repos/storybookjs/storybook/issues/8133","repository_url":"https://api.github.com/repos/storybookjs/storybook","labels_url":"https://api.github.com/repos/storybookjs/storybook/issues/8133/labels{/name}","comments_url":"https://api.github.com/repos/storybookjs/storybook/issues/8133/comments","events_url":"https://api.github.com/repos/storybookjs/storybook/issues/8133/events","html_url":"https://github.com/storybookjs/storybook/pull/8133","id":495931330,"node_id":"MDExOlB1bGxSZXF1ZXN0MzE5Mzg0MzY3","number":8133,"title":"CSF: Allow duplicate kinds","user":{"login":"hipstersmoothie","id":1192452,"node_id":"MDQ6VXNlcjExOTI0NTI=","avatar_url":"https://avatars3.githubusercontent.com/u/1192452?v=4","gravatar_id":"","url":"https://api.github.com/users/hipstersmoothie","html_url":"https://github.com/hipstersmoothie","followers_url":"https://api.github.com/users/hipstersmoothie/followers","following_url":"https://api.github.com/users/hipstersmoothie/following{/other_user}","gists_url":"https://api.github.com/users/hipstersmoothie/gists{/gist_id}","starred_url":"https://api.github.com/users/hipstersmoothie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hipstersmoothie/subscriptions","organizations_url":"https://api.github.com/users/hipstersmoothie/orgs","repos_url":"https://api.github.com/users/hipstersmoothie/repos","events_url":"https://api.github.com/users/hipstersmoothie/events{/privacy}","received_events_url":"https://api.github.com/users/hipstersmoothie/received_events","type":"User","site_admin":false},"labels":[{"id":1479341670,"node_id":"MDU6TGFiZWwxNDc5MzQxNjcw","url":"https://api.github.com/repos/storybookjs/storybook/labels/csf","name":"csf","color":"fbca04","default":false},{"id":343576456,"node_id":"MDU6TGFiZWwzNDM1NzY0NTY=","url":"https://api.github.com/repos/storybookjs/storybook/labels/feature%20request","name":"feature request","color":"9B58D8","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/storybookjs/storybook/milestones/18","html_url":"https://github.com/storybookjs/storybook/milestone/18","labels_url":"https://api.github.com/repos/storybookjs/storybook/milestones/18/labels","id":4458179,"node_id":"MDk6TWlsZXN0b25lNDQ1ODE3OQ==","number":18,"title":"5.3.0","description":"","creator":{"login":"shilman","id":488689,"node_id":"MDQ6VXNlcjQ4ODY4OQ==","avatar_url":"https://avatars2.githubusercontent.com/u/488689?v=4","gravatar_id":"","url":"https://api.github.com/users/shilman","html_url":"https://github.com/shilman","followers_url":"https://api.github.com/users/shilman/followers","following_url":"https://api.github.com/users/shilman/following{/other_user}","gists_url":"https://api.github.com/users/shilman/gists{/gist_id}","starred_url":"https://api.github.com/users/shilman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shilman/subscriptions","organizations_url":"https://api.github.com/users/shilman/orgs","repos_url":"https://api.github.com/users/shilman/repos","events_url":"https://api.github.com/users/shilman/events{/privacy}","received_events_url":"https://api.github.com/users/shilman/received_events","type":"User","site_admin":false},"open_issues":40,"closed_issues":47,"state":"open","created_at":"2019-07-02T10:55:13Z","updated_at":"2019-10-13T10:37:06Z","due_on":null,"closed_at":null},"comments":12,"created_at":"2019-09-19T17:27:09Z","updated_at":"2019-10-14T07:20:39Z","closed_at":"2019-10-07T07:28:30Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/storybookjs/storybook/pulls/8133","html_url":"https://github.com/storybookjs/storybook/pull/8133","diff_url":"https://github.com/storybookjs/storybook/pull/8133.diff","patch_url":"https://github.com/storybookjs/storybook/pull/8133.patch"},"body":"Issue: \r\n\r\n## What I did\r\n\r\nDuplicates story titles used to work and actually work quite easily in the new code.\r\n\r\nFor example a we have a few components that have have multiple storyfiles.\r\n\r\n*Example storybook sidebar:*\r\n\r\n```txt\r\nChoice\r\n-- Checkbox\r\n-- Radio\r\n```\r\n\r\nIn the project these two subcomponent are in separate folders and their stories are in those folders.\r\n\r\nIn the old format you could:\r\n\r\n*Checkbox.stories.js*\r\n\r\n```js\r\nstoriesOf('Choice', module).add('Checkbox', () => <div />)\r\n```\r\n\r\n*Radio.stories.js*\r\n\r\n```js\r\nstoriesOf('Choice', module).add('Radio', () => <div />)\r\n```\r\n\r\nThis would produce the structure i mention (`Example storybook sidebar`). \r\n\r\nIf I try to switch to the new CSF i get the error `Duplicate title`. It suggests combining the files, but in most cases this make the stories harder to read and less focused, it also wouldn't be able to match the structure we use.\r\n\r\nSince it used to be support and works quite well, we shouldn't stop this behavior in CSF.\r\n\r\n## How to test\r\n\r\n- Is this testable with Jest or Chromatic screenshots? yeah?\r\n- Does this need a new example in the kitchen sink apps? no\r\n- Does this need an update to the documentation? no (well maybe)\r\n\r\nIf your answer is yes to any of these, please make sure to include it in your PR.\r\n\r\n<!--\r\n\r\nEverybody: Please submit all PRs to the `next` branch unless they are specific to current release. Storybook maintainers cherry-pick bug and documentation fixes into the `master` branch as part of the release process, so you shouldn't need to worry about this.\r\n\r\nMaintainers: Please tag your pull request with at least one of the following:\r\n`[\"cleanup\", \"BREAKING CHANGE\", \"feature request\", \"bug\", \"documentation\", \"maintenance\", \"dependencies\", \"other\"]`\r\n\r\n-->\r\n"},"comment":{"url":"https://api.github.com/repos/storybookjs/storybook/issues/comments/541529145","html_url":"https://github.com/storybookjs/storybook/pull/8133#issuecomment-541529145","issue_url":"https://api.github.com/repos/storybookjs/storybook/issues/8133","id":541529145,"node_id":"MDEyOklzc3VlQ29tbWVudDU0MTUyOTE0NQ==","user":{"login":"Hypnosphi","id":6651625,"node_id":"MDQ6VXNlcjY2NTE2MjU=","avatar_url":"https://avatars3.githubusercontent.com/u/6651625?v=4","gravatar_id":"","url":"https://api.github.com/users/Hypnosphi","html_url":"https://github.com/Hypnosphi","followers_url":"https://api.github.com/users/Hypnosphi/followers","following_url":"https://api.github.com/users/Hypnosphi/following{/other_user}","gists_url":"https://api.github.com/users/Hypnosphi/gists{/gist_id}","starred_url":"https://api.github.com/users/Hypnosphi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hypnosphi/subscriptions","organizations_url":"https://api.github.com/users/Hypnosphi/orgs","repos_url":"https://api.github.com/users/Hypnosphi/repos","events_url":"https://api.github.com/users/Hypnosphi/events{/privacy}","received_events_url":"https://api.github.com/users/Hypnosphi/received_events","type":"User","site_admin":false},"created_at":"2019-10-14T07:20:39Z","updated_at":"2019-10-14T07:20:39Z","author_association":"MEMBER","body":"@shilman I think, ideally, we should adjust how HMR works in this case. To do that, we need some way to remember, which stories correspond to which kind _declaration_"}}
other: {"actor":{"display_login":"Hypnosphi"}}