Commit Graph

728 Commits

Author SHA1 Message Date
Rijk van Zanten
2897264acb Use variables for default colors in boolean interface/display (#10346)
* Use variables for default colors in boolean interface/display

Fixes #10333

* Fix translations name
2021-12-06 14:19:43 -05:00
Argomix
e629c17fdb Update input-rich-text-html.vue (#10331)
Soft wrap in HTML source code view.
2021-12-06 15:26:21 +00:00
Rijk van Zanten
8881011f55 Add disabled state to translations interface (#10338)
Fixes #10337
2021-12-06 15:24:37 +00:00
Oreille
cf09f6cd21 Fix non-native geometries not visible in map layout (#10308)
* Fix non-native geometries not showing up in map layout
* Don't add bbox to edited and parsed geometries
2021-12-04 23:47:20 +00:00
Rijk van Zanten
a3e127f70f Add integer support to radio and dropdown (#10274)
Fixes #10267
2021-12-03 10:45:11 -05:00
Rijk van Zanten
6e866487d7 Handle unexpected filter formats better in system-filter ui (#10251)
Fixes #9573
2021-12-02 19:42:39 -05:00
rijkvanzanten
4150b3b175 Remove unused attr 2021-12-02 19:11:28 -05:00
rclee91
ca8343b299 Markdown Interface Updates (#9267)
* Markdown Interface Updates
  - "Editor" button text fixed to "Edit"
  - Edit and Preview buttons stay highlighted based on current mode
  - Added interface option for Editor and Preview Font type
  - Copied WYSIWYG CSS correct stylings to Markdown
  - Added custom block option placeholders for each input
  - Changed icon heading to use format_size icon
  - Added toolbar controls

* Refactoring based on review
  - Edit translation string for name in placeholder
  - Wrapped preview hidden toolbars with a <template v-if>
  - Changed .indexOf to .includes
  - Added translation strings for Edit and Preview

* Refactoring - took off uncessary text

* Markdown Interface Updates
  - "Editor" button text fixed to "Edit"
  - Edit and Preview buttons stay highlighted based on current mode
  - Added interface option for Editor and Preview Font type
  - Copied WYSIWYG CSS correct stylings to Markdown
  - Added custom block option placeholders for each input
  - Changed icon heading to use format_size icon
  - Added toolbar controls

* Refactoring based on review
  - Edit translation string for name in placeholder
  - Wrapped preview hidden toolbars with a <template v-if>
  - Changed .indexOf to .includes
  - Added translation strings for Edit and Preview

* Refactoring - took off uncessary text

* Changed to use --family- fonts

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
Co-authored-by: Jose Varela <joselcvarela@gmail.com>
2021-12-02 19:09:38 -05:00
Rijk van Zanten
b1af0a1cf7 Fix token manipulation on alignment change in images (#10234)
* Fix token manipulation on alignment change in images

Fixes #10145

* Update app/src/interfaces/input-rich-text-html/input-rich-text-html.vue

Co-authored-by: Nicola Krumschmidt <nicola.krumschmidt@freenet.de>

Co-authored-by: Nicola Krumschmidt <nicola.krumschmidt@freenet.de>
2021-12-02 14:41:59 -05:00
Dr. Matthias Jung
c16592806d Added Line Wrapping to Codeview of CodeMirror (#9563)
* Added Line Wrapping to Codeview of CodeMirror

In the formated code fields line breaks are not done, which requires
scrolling. This might be configurable in the future.

* Make line-wrapping an opt-in options

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-12-01 17:27:09 -05:00
Azri Kahar
3391ac9f01 Add default values when tracking edits in list interface (#9707)
* add default values when tracking edits in list

* reset edits when drawer is closed
2021-12-01 16:31:03 -05:00
Azri Kahar
0dc0fd4360 Simplify presentation/aliases & accordion setup flow (#9742)
* move title input up for dividers

* WIP

* simplify key id

* add contrast to notices in field configuration

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-12-01 21:29:02 +00:00
Oreille
9c9e2eff5b Fix ability to change M2O field type and prevent incompatible interfaces in advanced mode (#10096)
* Fix ability to change M2O field type and prevent incompatible interfaces in advanced mode

* Removed unused imports

* Rename interface variable
2021-12-01 16:16:37 -05:00
Azri Kahar
c4f8214ad8 Autofocus first input in create item form (#9583)
* autofocus first input in create form

* add autofocus to translations interface

* avoid setting firstEditableField to hidden fields

* Base autofocus on prop

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-12-01 16:09:21 -05:00
Azri Kahar
5feaac88d7 fix tree view interface display template (#9600) 2021-12-01 16:05:24 -05:00
Malte Jürgens
1be8e1cd8d save wysiwyg image size in url params instead of html tags (#10054)
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-12-01 19:30:39 +00:00
Azri Kahar
1bad781db5 fix translation input blur on revert to old value (#10068) 2021-12-01 14:19:08 -05:00
Azri Kahar
646cc3a0d6 Hide options for date type in datetime interface (#10073)
* hide options for date type in datetime interface

* clear options when switching to date
2021-12-01 14:18:35 -05:00
Azri Kahar
1c8181c6c1 add colorOn & colorOff to checkbox interface (#10149) 2021-12-01 14:02:57 -05:00
Azri Kahar
23b9e22344 add text path to autocomplete api input (#10183) 2021-12-01 11:36:05 -05:00
Ben Haynes
59c45c92e2 add crop and contain options, increase full height (#9628)
* add crop and contain options, increase full height

* template literal string tweak

* Update app/src/interfaces/file-image/file-image.vue

Co-authored-by: Azri Kahar <azrikahar@outlook.com>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-12-01 15:38:30 +00:00
Azri Kahar
481d03df7d add dot indicator to groups with modified fields (#10147) 2021-11-30 19:29:38 -05:00
ian
1f9dfb5722 Set isEditorDirty flag before saving changes (#10048) 2021-11-25 10:52:31 -05:00
Oreille
b55abff734 Fix tag interface allowCustom default value to true (#10021) 2021-11-24 17:13:20 -05:00
José Varela
7eb106e229 fix color picker position (#10009) 2021-11-24 17:11:53 -05:00
Azri Kahar
bebea58a88 fix translations input issues (#9803)
Co-authored-by: Jose Varela <joselcvarela@gmail.com>
2021-11-24 16:17:12 -05:00
José Varela
6dc551b7db Fix M2O display inside M2M relations (#9533)
* Fix M2O display inside M2M relations

* Fix fetching every time value changed
2021-11-24 16:02:07 -05:00
Oreille
f669fec5eb Remove geometryFormat from map interface options. (#9750)
* Remove geometryFormat from map interface options.

* resolve lint warnings

Co-authored-by: Azri Kahar <azrikahar@outlook.com>
2021-11-15 10:17:42 -05:00
ian
b9c3e18796 Fix existing files drawer selection (#9609)
Co-authored-by: Jose Varela <joselcvarela@gmail.com>
2021-11-11 14:40:18 -05:00
rijkvanzanten
c0ea45fa05 Prevent system-filter from crashing on unknown field 2021-11-11 14:35:46 -05:00
José Varela
153c3d55a3 Fix missing initialItems added on M2M (#9736)
@rijkvanzanten I am merging this because it was approved on M2M and it's preventing users from selecting files.
2021-11-11 17:24:25 +00:00
Azri Kahar
b1494e8a22 Fix repeater interface template (#9588) 2021-11-09 10:44:32 -05:00
José Varela
528abe4593 Import 'Fira Mono' & 'Merriweather' into WYSIWYG (#9618)
* import 'Fira Mono' into wysiwyg

* use import statements for monospace & serif fonts

Co-authored-by: Azri Kahar <azrikahar@outlook.com>
2021-11-09 10:16:22 -05:00
Azri Kahar
7050a9f489 fix elements z-index higher than app header bar (#9530) 2021-11-06 16:18:25 -04:00
José Varela
bbd6e13e1e Fix lose data on M2M (#9548)
* save initial items of m2m relation

* merge initial, draft and selected on new selection
2021-11-06 16:13:38 -04:00
Adrian Dimitrov
b8fabe46f2 Fix missing and wrong translations (#9537) 2021-11-05 12:30:59 -04:00
Pascal Jufer
111a3ef231 Update package-lock.json & fix warning from eslint (#9509)
* Update package-lock.json

To reflect latest release

* Fix warning from eslint
2021-11-05 09:56:34 -04:00
Azri Kahar
deae8cd929 fix repeater field names title format (#9504) 2021-11-05 09:40:56 -04:00
Oreille
5f43b20ebf Update geometric types and patch new field flow. (#9397)
* Update geometric types and patch new field flow.

* Add migration

* Fixed migrations

* Also fixed migrations

* Update migration ID

* Cleanup type selector a bit

* Add missing fallback interface/display for new types

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-11-04 21:47:54 -04:00
Oreille
ef3da32ab3 Properly handle M2A fields in fieldStore and useFieldTree (#9432)
* Properly handle M2A fields in fieldStore and useFieldTree

* Fix addNode

* Rewrote use-field-tree

* Remember visited paths

* Fix error whith undefined relation.meta
2021-11-04 20:35:05 -04:00
Nicola Krumschmidt
ae15f39091 Clean up interface options type (#9447) 2021-11-04 18:31:31 -04:00
Rijk van Zanten
d3639983df Fix presentation-links interfaces (#9485)
Fixes #9457
2021-11-04 18:57:26 +00:00
Rijk van Zanten
71ec7115c0 Fix nested system-interface-options usage (#9483)
* Improve null check in list

* Fix options syncing in system-interface-options
2021-11-04 18:12:37 +00:00
Rémi Alvergnat
3cd32d533b Fix invalid collection for Interface Display Template for M2M relationships (#9420)
* Fix invalid collection for Interface Display Template (#9419)

* use o2m ollection on m2m interface

* apply same fix on files

Co-authored-by: Jose Varela <joselcvarela@gmail.com>
2021-11-04 13:20:55 -04:00
Rijk van Zanten
65291b95c4 Allow dynamic user variables to be used with filter rules (cont.) (#9376)
* Move permissions extraction to accountability

* Fix permissions retrieval for public user

* Fetch user / role context in permissions middleware

* Remove unnecessary parseFilter

* Rename schemaCache to systemCache

* Add permissions caching

* Add system cache invalidation on permission changes

* Improve caching perf by reducing scope

* Add note to docs

* Clarify compatibility with conditional fields/filters

* Fix lint warning

* Allow nested vars in system-filter-input

* Add custom getter function that resolves arrays

* Add is-dynamic-variable util

* Export new util

* Cleanup parse filter

* Fix build

* Move debounce up to use-items

* Remove unused prop

* 🧹

* Fix input pattern usage w/ vars

* Remove debounce from search-input, increase throttle
2021-11-03 16:56:16 -04:00
Azri Kahar
22d4de7c5b Add placeholder to Language Indicator Field for first Translations setup (#9337)
* Hide Language Indicator Field initially

* fix lint error

* revert hiding languageFIeld & add placeholder
2021-11-03 15:30:59 -04:00
Rémi Alvergnat
1bd43bd25f Fix hover effect on o2m and m2a lists (#9412) (#9414) 2021-11-03 15:12:08 +00:00
d1rOn
ca964b7ac2 Translations interface fix (#9333)
* Translations interface fix

Fixes issue

* Translations interface fix (2)
2021-11-02 09:48:15 -04:00
Azri Kahar
d1a1d73b11 Prevent file input preloading drawer (#9282) 2021-11-01 18:12:28 -04:00
Azri Kahar
fcd3b1e345 fix lint warnings (#9287)
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-11-01 17:34:20 -04:00