{"id":13530799,"url":"https://github.com/hminnovation/wagtailclearstream","last_synced_at":"2025-04-01T19:30:41.099Z","repository":{"id":46165637,"uuid":"85677030","full_name":"hminnovation/wagtailclearstream","owner":"hminnovation","description":"A work-in-progress app to make Wagtail's StreamField more modular","archived":false,"fork":false,"pushed_at":"2019-12-16T19:45:06.000Z","size":699,"stargazers_count":34,"open_issues_count":8,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-05-21T13:50:42.871Z","etag":null,"topics":["streamfield","wagtail"],"latest_commit_sha":null,"homepage":null,"language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hminnovation.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-21T08:29:00.000Z","updated_at":"2023-11-07T12:44:59.000Z","dependencies_parsed_at":"2022-09-23T06:12:34.751Z","dependency_job_id":null,"html_url":"https://github.com/hminnovation/wagtailclearstream","commit_stats":null,"previous_names":["heymonkeyriot/wagtailclearstream"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hminnovation%2Fwagtailclearstream","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hminnovation%2Fwagtailclearstream/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hminnovation%2Fwagtailclearstream/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hminnovation%2Fwagtailclearstream/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hminnovation","download_url":"https://codeload.github.com/hminnovation/wagtailclearstream/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246700068,"owners_count":20819818,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["streamfield","wagtail"],"created_at":"2024-08-01T07:00:55.431Z","updated_at":"2025-04-01T19:30:40.412Z","avatar_url":"https://github.com/hminnovation.png","language":"CSS","funding_links":[],"categories":["Apps"],"sub_categories":["StreamField"],"readme":"Note: this project hasn't been updated since 2017 and is no longer maintained. It is likely to break with the latest version of Wagtail.\n\nWagtail Clear StreamField\n============================\nThis is an amended version of Wagtail's StreamField interface that introduces a new class called `ClearField`\n\n - Improved UI for nested StreamFields\n - Always visible help text\n - Confirmation on delete of StreamField items \n\n![Screenshot](screenshot1.png)\n![Screenshot](screenshot2.png)\n\nInstall\n-------\n\n - `pip install wagtailclearstream`\n - Add `wagtailclearstream` to your installed apps\n - Use `from wagtailclearstream import ClearBlock` to import\n - Replace `StreamBlock` with `ClearBlock`\n\n\nExamples\n--------\n\n### Separate blocks.py file\n\n```\n#blocks.py\nfrom wagtailclearstream import ClearBlock\n\n class GlobalStreamBlock(ClearBlock):\n    paragraph = RichTextBlock(\n        icon=\"pilcrow\",\n        template=\"blocks/paragraph.html\"\n    )\n    ...\n\n#models.py\nfrom .blocks import GlobalStreamBlock\n\nclass ExamplePage(Page):\n    body = StreamField(\n        GlobalStreamBlock(), blank=True\n        )\n\ncontent_panels = Page.content_panels + [\n        StreamFieldPanel('body'),\n        ]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhminnovation%2Fwagtailclearstream","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhminnovation%2Fwagtailclearstream","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhminnovation%2Fwagtailclearstream/lists"}