Add support for Conditional Fields (#6864)

* Add conditions field to directus_fields

* Add conditions configuration

* Apply conditional overrides

* Handle conditions in nested groups

* Fix reverse mutating conditions

* Start on filter setup interface

* Move field types/constants to shared

* [WIP] Updated client side filter validation

* Support logical operators in client validation step

* Use new validation util in conditions check

* Add nesting in filter seutp

* Add filter rule setup configurator

* Fixes that should've been done in the merge

* Strip out filter-settings interface

TBD in a new PR

* Move browser to index
This commit is contained in:
Rijk van Zanten
2021-07-27 00:02:24 +02:00
committed by GitHub
parent 47e9d2f1fe
commit 92e1ee77bd
121 changed files with 792 additions and 261 deletions

View File

@@ -1,9 +1,12 @@
edit_field: Edit Field
conditions: Conditions
item_revision: Item Revision
duplicate_field: Duplicate Field
half_width: Half Width
full_width: Full Width
group: Group
and: And
or: Or
fill_width: Fill Width
field_name_translations: Field Name Translations
enter_password_to_enable_tfa: Enter your password to enable Two-Factor Authentication
@@ -511,6 +514,7 @@ upload_files_success: '{count} Files Uploaded'
upload_pending: Upload Pending
drag_file_here: Drag & Drop a File Here
click_to_browse: Click to Browse
interface_options: Interface Options
layout_options: Layout Options
rows: Rows
columns: Columns
@@ -536,6 +540,7 @@ no_results_copy: Adjust or clear search filters to see results.
clear_filters: Clear Filters
saves_automatically: Saves Automatically
role: Role
rule: Rule
user: User
no_presets: No Presets
no_presets_copy: No presets or bookmarks have been saved yet.