Skip to content

Commit abba912

Browse files
authored
IBX-9947: Rebranded field type identifiers (#1560)
1 parent 1026f2c commit abba912

File tree

163 files changed

+943
-934
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

163 files changed

+943
-934
lines changed

docs/field-type-validator-usage.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@ The `BaseFieldValidator` class has a few required properties. All of them are li
3939

4040
**classInvalid** _{String}_ - CSS class name to be added when field is invalid, example: 'is-invalid'.
4141

42-
**fieldSelector** _{String}_ - CSS selector of the field, example: '.ez-field-edit-ezstring',
42+
**fieldSelector** _{String}_ - CSS selector of the field, example: '.ez-field-edit-ibexa_string',
4343

4444
**eventsMap** _{Array}_ - events config:
45-
- **selector** _{String}_ - CSS selector of input (where to add an event listener), example: '.ez-field-edit-ezstring input'.
45+
- **selector** _{String}_ - CSS selector of input (where to add an event listener), example: '.ez-field-edit-ibexa_string input'.
4646
- **eventName** _{String}_ - event name, example: 'blur'.
4747
- **callback** _{String}_ - callback for event listener, example: 'validateInput', should return object with two params:
4848
- **isError** _{Boolean}_ - indicator of error state (true/false).
4949
- **errorMessage** _{String}_ - text of the error.
50-
- **invalidStateSelectors** {Array} - CSS selectors where to add invalid class, example: ['.ez-field-edit-ezstring'].
50+
- **invalidStateSelectors** {Array} - CSS selectors where to add invalid class, example: ['.ez-field-edit-ibexa_string'].
5151
- **errorNodeSelectors** {Array} - CSS selectors where to append an error message, example: ['.ez-field-edit-text-zone'].
5252

5353
## Useful methods

features/standard/ContentTranslation.feature

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,6 @@ Feature: Content item transation
5151
And content attributes equal
5252
| label | value | fieldTypeIdentifier |
5353
| Name | Folder | |
54-
| Short name | This field is empty | ezstring |
55-
| Short description | This field is empty | ezrichtext |
56-
| Description | This field is empty | ezrichtext |
54+
| Short name | This field is empty | ibexa_string |
55+
| Short description | This field is empty | ibexa_richtext |
56+
| Description | This field is empty | ibexa_richtext |

features/standard/ContentType.feature

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ Feature: Content types management
4444
# | Content name pattern | <name> |
4545
# And content type "Test content type" has proper fields
4646
# | fieldName | fieldType |
47-
# | Name | ezstring |
48-
# | DateField | ezdate |
47+
# | Name | ibexa_string |
48+
# | DateField | ibexa_date |
4949
#
5050
# @javascript @APIUser:admin @broken
5151
# Scenario: Content type can be deleted from content type group
@@ -95,4 +95,4 @@ Feature: Content types management
9595
| Content name pattern | <name> |
9696
And content type "Test content type" has proper fields
9797
| fieldName | fieldType |
98-
| Country field | ezcountry |
98+
| Country field | ibexa_country |

features/standard/fields/contentQuery.feature

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Feature: Content fields setting and editing
1616
Given I am logged as admin
1717
And I'm on Content view Page for "ContentQueryFieldContainer"
1818
When I start creating a new content "<fieldName> CT"
19-
And the "Ezcontentquery" field is noneditable
19+
And the "ibexa_content_query" field is noneditable
2020
And I set content fields
2121
| label | <label1> |
2222
| Name | <fieldName> |
@@ -28,7 +28,7 @@ Feature: Content fields setting and editing
2828
| Field | <value1> | <fieldInternalName> |
2929
Examples:
3030
| fieldInternalName | fieldName | fieldSettings | label1 | value1 |
31-
| ezcontentquery | Content query | QueryType-Folders under media,ContentType-folder,ItemsPerPage-100,Parameters-contentTypeId:folder;locationId:43| value | Images,Files,Multimedia |
31+
| ibexa_content_query | Content query | QueryType-Folders under media,ContentType-folder,ItemsPerPage-100,Parameters-contentTypeId:folder;locationId:43| value | Images,Files,Multimedia |
3232

3333
@javascript @APIUser:admin @contentQuery
3434
Scenario: Edit content item with Content Query
@@ -43,4 +43,4 @@ Feature: Content fields setting and editing
4343
And I should be on Content view Page for "ContentQueryFieldContainer/New Content query"
4444
And content attributes equal
4545
| label | value | fieldTypeIdentifier |
46-
| Field | Images,Files,Multimedia | ezcontentquery |
46+
| Field | Images,Files,Multimedia | ibexa_content_query |

features/standard/fields/date.feature

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ Feature: Content fields setting and editing
2929

3030
Examples:
3131
| fieldInternalName | fieldName | fieldSettings | label1 | value1 | label2 | value2 | label3 | value3 | contentItemName |
32-
| ezdate | Date | | value | 11/23/2019 | | | | | Saturday 23 November 2019 |
33-
| ezdatetime | Date and time | | date | 11/23/2019 | time | 14:45 | | | Sat 2019-23-11 14:45:00 |
34-
| eztime | Time | | value | 14:45 | | | | | 2:45:00 pm |
32+
| ibexa_date | Date | | value | 11/23/2019 | | | | | Saturday 23 November 2019 |
33+
| ibexa_datetime | Date and time | | date | 11/23/2019 | time | 14:45 | | | Sat 2019-23-11 14:45:00 |
34+
| ibexa_time | Time | | value | 14:45 | | | | | 2:45:00 pm |
3535

3636
@javascript @APIUser:admin
3737
Scenario Outline: Edit content item with given field

features/standard/fields/map.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ Feature: Content fields setting and editing
2929

3030
Examples:
3131
| fieldInternalName | fieldName | fieldSettings | label1 | value1 | label2 | value2 | label3 | value3 | contentItemName |
32-
#| ezgmaplocation | Map location | | latitude | 34.1 | longitude | -118.2 | address | Los Angeles | Los Angeles |
33-
| ezcountry | Country | | value | Angola | | | | | Angola |
32+
#| ibexa_gmap_location | Map location | | latitude | 34.1 | longitude | -118.2 | address | Los Angeles | Los Angeles |
33+
| ibexa_country | Country | | value | Angola | | | | | Angola |
3434

3535
@javascript @APIUser:admin
3636
Scenario Outline: Edit content item with given field

features/standard/fields/media.feature

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ Feature: Content fields setting and editing
4848

4949
Examples:
5050
| fieldInternalName | fieldName | fieldSettings | label1 | value1 | label2 | value2 | label3 | value3 | contentItemName |
51-
| ezmedia | Media | | value | video1.mp4 | | | | | video1.mp4 |
52-
| ezimage | Image | | value | image1.png | | | | | image1.png |
53-
| ezbinaryfile | File | | value | binary1.txt | | | | | binary1.txt |
54-
| ezimageasset | Image Asset | | value | imageasset1.png | | | | | imageasset1.png |
51+
| ibexa_media | Media | | value | video1.mp4 | | | | | video1.mp4 |
52+
| ibexa_image | Image | | value | image1.png | | | | | image1.png |
53+
| ibexa_binaryfile | File | | value | binary1.txt | | | | | binary1.txt |
54+
| ibexa_image_asset | Image Asset | | value | imageasset1.png | | | | | imageasset1.png |
5555

5656
@javascript @APIUser:admin
5757
Scenario Outline: Edit content item with given field

features/standard/fields/other.feature

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ Feature: Content fields setting and editing
2929

3030
Examples:
3131
| fieldInternalName | fieldName | fieldSettings | label1 | value1 | contentItemName | fieldTypeIdentifier |
32-
| ezselection | Selection | is_multiple:false,options:A first-Bielefeld-TestValue-Turtles-Zombies | value | TestValue | TestValue | ezselection |
33-
| ezboolean | Checkbox | | value | true | 1 | |
34-
| ezemail | Email address | | value | email@example.com | email@example.com | |
35-
| ezfloat | Float | | value | 11.11 | 11.11 | |
36-
| ezisbn | ISBN | | value | 978-3-16-148410-0 | 978-3-16-148410-0 | |
37-
| ezinteger | Integer | | value | 1111 | 1111 | |
38-
| ezkeyword | Keywords | | value | keyword1 | keyword1 | |
39-
| ezmatrix | Matrix | Min_rows:2,Columns:col1-col2-col3 | value | col1:col2:col3,Ala:miała:kota,Szpak:dziobał:bociana,Bociana:dziobał:szpak | Matrix | |
32+
| ibexa_selection | Selection | is_multiple:false,options:A first-Bielefeld-TestValue-Turtles-Zombies | value | TestValue | TestValue | ibexa_selection |
33+
| ibexa_boolean | Checkbox | | value | true | 1 | |
34+
| ibexa_email | Email address | | value | email@example.com | email@example.com | |
35+
| ibexa_float | Float | | value | 11.11 | 11.11 | |
36+
| ibexa_isbn | ISBN | | value | 978-3-16-148410-0 | 978-3-16-148410-0 | |
37+
| ibexa_integer | Integer | | value | 1111 | 1111 | |
38+
| ibexa_keyword | Keywords | | value | keyword1 | keyword1 | |
39+
| ibexa_matrix | Matrix | Min_rows:2,Columns:col1-col2-col3 | value | col1:col2:col3,Ala:miała:kota,Szpak:dziobał:bociana,Bociana:dziobał:szpak | Matrix | |
4040

4141
@javascript @APIUser:admin
4242
Scenario Outline: Edit content item with given field
@@ -55,7 +55,7 @@ Feature: Content fields setting and editing
5555

5656
Examples:
5757
| label1 | value1 | oldContentItemName | newContentItemName | fieldTypeIdentifier |
58-
| value | Bielefeld | TestValue | Bielefeld | ezselection |
58+
| value | Bielefeld | TestValue | Bielefeld | ibexa_selection |
5959
| value | false | 1 | 0 | |
6060
| value | edited.email@example.com | email@example.com | edited.email@example.com | |
6161
| value | 12.34 | 11.11 | 12.34 | |

features/standard/fields/relations.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ Feature: Content fields setting and editing
2929

3030
Examples:
3131
| fieldInternalName | fieldName | fieldSettings | label1 | value1 | label2 | value2 | label3 | value3 | contentItemName |
32-
| ezobjectrelation | Content relation (single) | | value | Media/Images | | | | | Images |
33-
| ezobjectrelationlist | Content relations (multiple) | | firstItem | Media/Images | secondItem | Media/Files | | | Images Files |
32+
| ibexa_object_relation | Content relation (single) | | value | Media/Images | | | | | Images |
33+
| ibexa_object_relation_list | Content relations (multiple) | | firstItem | Media/Images | secondItem | Media/Files | | | Images Files |
3434

3535
@javascript @APIUser:admin
3636
Scenario Outline: Edit content item with given field

0 commit comments

Comments
 (0)