Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wagtail-deprecated/wagtail-condensedinlinepanel
Fast, drop-in replacement for Wagtail's inline panel with drag and drop
https://github.com/wagtail-deprecated/wagtail-condensedinlinepanel
wagtail
Last synced: 7 days ago
JSON representation
Fast, drop-in replacement for Wagtail's inline panel with drag and drop
- Host: GitHub
- URL: https://github.com/wagtail-deprecated/wagtail-condensedinlinepanel
- Owner: wagtail-deprecated
- License: bsd-3-clause
- Archived: true
- Created: 2016-04-11T22:16:27.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-10-05T11:17:31.000Z (about 2 years ago)
- Last Synced: 2024-05-21T13:52:05.803Z (6 months ago)
- Topics: wagtail
- Language: TypeScript
- Homepage:
- Size: 1.78 MB
- Stars: 84
- Watchers: 10
- Forks: 22
- Open Issues: 27
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.txt
- License: LICENSE
Awesome Lists containing this project
- awesome-wagtail - Wagtail Condensed Inline Panel - Drop-in replacement for Wagtail's InlinePanel suited for large number of inlines (collapsible with drag and drop support). (Apps / Misc)
README
> :warning: **No longer maintained**: This package's functionality is largely covered by the Wagtail 3.0 - 4.0 page editor redesign.
# Condensed InlinePanel for Wagtail CMS
This repository contains a drop-in replacement for Wagtail's ``InlinePanel``.
It's designed with a lighter interface that's suitable for cases where there
may be hundreds of items in the panel.![Screenshot](screenshot.png)
## Features
- Fast, react-based UI which hides away forms that aren't being used
- Drag and drop reordering
- Add a new item at any point## Installation
Firstly, install the module with PIP:
```shell
pip install wagtail-condensedinlinepanel==0.5.2
```Then, add ``condensedinlinepanel`` to your ``INSTALLED_APPS``:
```python
# settings.pyINSTALLED_APPS = [
...'condensedinlinepanel',
...
]
```Then, finally, import the edit handler and use it. ``CondensedInlinePanel`` can be used as a drop-in replacement for Wagtail's built-in ``InlinePanel``:
```python
# models.py...
from condensedinlinepanel.edit_handlers import CondensedInlinePanel
...
class MyPage(Page):
...content_panels = [
...CondensedInlinePanel('carousel_items', label="Carousel items", card_header_from_field="title"),
]