Skip to content

[#6672] Implement FiltersField, FiltersEditor, and input#6821

Open
arbron wants to merge 1 commit into5.3.xfrom
filters-input
Open

[#6672] Implement FiltersField, FiltersEditor, and input#6821
arbron wants to merge 1 commit into5.3.xfrom
filters-input

Conversation

@arbron
Copy link
Copy Markdown
Collaborator

@arbron arbron commented Mar 10, 2026

Adds a new FiltersField that extends JSONField for handling filters. When this field is initialized it creates a new Filter object that makes it easy to check the filter and caches the result.

Filter Input

When placed into a form it displays a list of the filters and a button that opens the filter editor. The editor is currently just a <code-mirror> editor which will be replaced with a proper UI in the future.

Closes #6672

Adds a new `FiltersField` that extends `JSONField` for handling
filters. When this field is initialized it creates a new `Filter`
object that makes it easy to check the filter and caches the
result.

When placed into a form it displays a list of the filters and a
button that opens the filter editor. The editor is currently just
a `<code-mirror>` editor which will be replaced with a proper UI
in the future.

Closes #6672
@arbron arbron added this to the D&D5E 6.0.0 milestone Mar 10, 2026
@arbron arbron self-assigned this Mar 10, 2026
@arbron arbron added ui User interface related features or bugs api system: active effects priority: high labels Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api priority: high system: active effects ui User interface related features or bugs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create FiltersField for storing filters data

1 participant