cedar-embeddable-editor 1.3.4 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +225 -0
- package/README.md +2 -2
- package/cedar-embeddable-editor.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
## [1.4.0]
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
- ORCID and ROR fields.
|
|
11
|
+
- Preferences menu and read-only mode toggle under it.
|
|
12
|
+
- Version number under the logo.
|
|
13
|
+
|
|
14
|
+
### Fixed
|
|
15
|
+
- Non-empty attribute key/value fields being incorrectly hidden in read-only mode.
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
- Rendering style of section breaks.
|
|
19
|
+
|
|
20
|
+
## [1.3.5]
|
|
21
|
+
|
|
22
|
+
### Fixed
|
|
23
|
+
- Instance load issue that appears when instance and template passed in different times
|
|
24
|
+
|
|
25
|
+
## [1.3.4]
|
|
26
|
+
|
|
27
|
+
### Changed
|
|
28
|
+
- Pagination on multi instances are not shown if the instance count is less than the page size
|
|
29
|
+
|
|
30
|
+
## [1.3.3]
|
|
31
|
+
|
|
32
|
+
### Changed
|
|
33
|
+
- Removed outer border of fields for a cleaner look
|
|
34
|
+
- Representation of BioPortal, ORCID and ROR iris
|
|
35
|
+
- Added icons for expand and collapse all. These buttons are also repositioned to top right corner.
|
|
36
|
+
|
|
37
|
+
### Fixed
|
|
38
|
+
- Some internal errors that appear in the stand-alone mode
|
|
39
|
+
- Some border color to comply with accessibility requirements
|
|
40
|
+
|
|
41
|
+
## [1.3.2]
|
|
42
|
+
|
|
43
|
+
### Added
|
|
44
|
+
- Link to BioPortal controlled terms
|
|
45
|
+
- Link to ORCID and ROR ids
|
|
46
|
+
|
|
47
|
+
### Fixed
|
|
48
|
+
- Hiding state of nested empty elements
|
|
49
|
+
|
|
50
|
+
## [1.3.1]
|
|
51
|
+
|
|
52
|
+
### Added
|
|
53
|
+
- New property to set template and instance together
|
|
54
|
+
- Option to hide empty fields in viewer mode
|
|
55
|
+
- Configuration option to display template description
|
|
56
|
+
|
|
57
|
+
### Changed
|
|
58
|
+
- Fields that have HTML as their value will be rendered in readOnlyMode
|
|
59
|
+
|
|
60
|
+
### Fixed
|
|
61
|
+
- Not making terminology calls in viewer mode
|
|
62
|
+
|
|
63
|
+
## [1.2.1] - 2024-02-20
|
|
64
|
+
|
|
65
|
+
### Fixed
|
|
66
|
+
- https://github.com/metadatacenter/cedar-embeddable-editor/issues/102 Updating required fields with value constraints does not update validation status.
|
|
67
|
+
|
|
68
|
+
## [1.2.0] - 2024-02-14
|
|
69
|
+
|
|
70
|
+
### Added
|
|
71
|
+
- Viewer mode
|
|
72
|
+
- Configuration option to display template description
|
|
73
|
+
|
|
74
|
+
### Changed
|
|
75
|
+
- Name of linked static fields are rendered
|
|
76
|
+
- Better accessibility support
|
|
77
|
+
|
|
78
|
+
## [1.1.0] - 2024-02-08
|
|
79
|
+
|
|
80
|
+
This version contains only fixes and non-breaking changes related to the language map handling for the UI.
|
|
81
|
+
|
|
82
|
+
However, there was a new feature introduced in 1.0.14 - the data quality report. Because of this, we are changing the minor version number.
|
|
83
|
+
|
|
84
|
+
### Added
|
|
85
|
+
- `CustomEvent` with `type`:`'change'` is emitted when a multi instance operation is performed (add, copy, delete)
|
|
86
|
+
|
|
87
|
+
### Fixed
|
|
88
|
+
- Load built-in `en` language map if nothing is specified in the config
|
|
89
|
+
|
|
90
|
+
### Changed
|
|
91
|
+
- Better language map related logging
|
|
92
|
+
- If no external or internal language map can be found based on the config, still use the built-in `en` map
|
|
93
|
+
- Allow uppercase in domain names of Link components
|
|
94
|
+
|
|
95
|
+
## [1.0.16] - 2024-02-07
|
|
96
|
+
|
|
97
|
+
### Added
|
|
98
|
+
- Language map loading configuration option `languageMapPathPrefix` + docs
|
|
99
|
+
|
|
100
|
+
### Fixed
|
|
101
|
+
- Data Quality Report in case of mandatory fields with 0..n cardinality
|
|
102
|
+
- Fixed bug regarding required value of multi-instance fields
|
|
103
|
+
|
|
104
|
+
## [1.0.15] - 2024-02-05
|
|
105
|
+
|
|
106
|
+
### Added
|
|
107
|
+
- Added naive throttling prevention to the `/integrated-search` calls (random delay < 2000 ms)
|
|
108
|
+
- Added validation error message for links
|
|
109
|
+
|
|
110
|
+
### Fixed
|
|
111
|
+
- Fixed null reference in Data Quality Report builder
|
|
112
|
+
- Fixed required symbol for multi instance fields
|
|
113
|
+
|
|
114
|
+
## [1.0.14] - 2024-01-26
|
|
115
|
+
|
|
116
|
+
### Added
|
|
117
|
+
|
|
118
|
+
- Data Quality Report feature.
|
|
119
|
+
|
|
120
|
+
## [1.0.13] - 2024-01-25
|
|
121
|
+
|
|
122
|
+
### Added
|
|
123
|
+
|
|
124
|
+
- showAllMultiInstanceValues flag is added.
|
|
125
|
+
Now it's possible to hide "All Values" section of multi instance fields by adding showAllMultiInstanceValues : false to config.
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
## [1.0.12] - 2024-01-19
|
|
129
|
+
|
|
130
|
+
### Changed
|
|
131
|
+
|
|
132
|
+
- Allow empty string value representing an empty attribute-value field
|
|
133
|
+
|
|
134
|
+
## [1.0.11] - 2024-01-18
|
|
135
|
+
|
|
136
|
+
### Changed
|
|
137
|
+
|
|
138
|
+
- Material Icons and Roboto font embedded in package
|
|
139
|
+
|
|
140
|
+
## [1.0.10] - 2024-01-11
|
|
141
|
+
|
|
142
|
+
### Added
|
|
143
|
+
- A randomly generated UUID together with the trailing path is assigned as to @id is to nested element instances for model validation
|
|
144
|
+
|
|
145
|
+
## [1.0.9] - UNPUBLISHED
|
|
146
|
+
|
|
147
|
+
## [1.0.8] - 2023-11-20
|
|
148
|
+
|
|
149
|
+
### Changed
|
|
150
|
+
- Added some error-tolerance to instances that don't align with the template
|
|
151
|
+
|
|
152
|
+
## [1.0.7] - 2023-11-20
|
|
153
|
+
|
|
154
|
+
### Fixed
|
|
155
|
+
- Fixed null reference
|
|
156
|
+
|
|
157
|
+
### Changed
|
|
158
|
+
- Language map loading logging
|
|
159
|
+
|
|
160
|
+
## [1.0.6] - 2023-11-17
|
|
161
|
+
|
|
162
|
+
### Fixed
|
|
163
|
+
- Fixed empty link value handling in the model
|
|
164
|
+
|
|
165
|
+
## [1.0.5] - 2023-11-16
|
|
166
|
+
|
|
167
|
+
### Fixed
|
|
168
|
+
- Fixed null/undefined references
|
|
169
|
+
- Added prettier as dev dependency
|
|
170
|
+
|
|
171
|
+
## [1.0.4] - 2023-11-08
|
|
172
|
+
|
|
173
|
+
### Fixed
|
|
174
|
+
- Fixed same density style multiple generation
|
|
175
|
+
- Removed `console.log` debug messages
|
|
176
|
+
|
|
177
|
+
## [1.0.3] - 2023-11-07
|
|
178
|
+
|
|
179
|
+
### Fixed
|
|
180
|
+
- Default `en` and `hu` language maps embedded in production build
|
|
181
|
+
- Removed `console.log` debug messages
|
|
182
|
+
|
|
183
|
+
### Added
|
|
184
|
+
- `Load metadata` checkbox added to the sample template loader
|
|
185
|
+
|
|
186
|
+
### Changed
|
|
187
|
+
- Dev mode config changed to compact initial view (hidden sample template links, hidden core metadata)
|
|
188
|
+
- Dependency version updates
|
|
189
|
+
|
|
190
|
+
## [1.0.2] - 2023-11-03
|
|
191
|
+
|
|
192
|
+
### Fixed
|
|
193
|
+
- Stylesheet not properly rendering
|
|
194
|
+
- Multi-instance field add bug
|
|
195
|
+
|
|
196
|
+
### Changed
|
|
197
|
+
- Refactoring: eslint + prettier added
|
|
198
|
+
|
|
199
|
+
## [1.0.1] - 2023-11-03
|
|
200
|
+
|
|
201
|
+
### Added
|
|
202
|
+
- Changelog
|
|
203
|
+
- Code of conduct
|
|
204
|
+
|
|
205
|
+
### Fixed
|
|
206
|
+
- Controlled term field UI update on invalid data
|
|
207
|
+
- Model update when date is entered from input (see 'Changed' below)
|
|
208
|
+
- Default value selection for dropdowns
|
|
209
|
+
|
|
210
|
+
### Changed
|
|
211
|
+
- Date can only be selected with date picker (no keyboard input)
|
|
212
|
+
- Refactored component initialization
|
|
213
|
+
|
|
214
|
+
### Removed
|
|
215
|
+
- Removed extra style inclusion causing duplicate style generation
|
|
216
|
+
|
|
217
|
+
## [1.0.0] - 2023-09-08
|
|
218
|
+
|
|
219
|
+
### Added
|
|
220
|
+
|
|
221
|
+
### Fixed
|
|
222
|
+
|
|
223
|
+
### Changed
|
|
224
|
+
|
|
225
|
+
### Removed
|
package/README.md
CHANGED
|
@@ -287,7 +287,7 @@ In order to use an external language file, specify the config as follows:
|
|
|
287
287
|
}
|
|
288
288
|
```
|
|
289
289
|
|
|
290
|
-
In the example above we want to use a `German` language file, which is located in the specified directory. Starting the path with `/` makes the path absolute.
|
|
290
|
+
In the example above we want to use a `German` language file, which is located in the specified directory. Starting the path with `/` makes the path absolute.
|
|
291
291
|
|
|
292
292
|
In our case the `/assets/i18n-cee/de.json` will be loaded if present.
|
|
293
293
|
|
|
@@ -295,7 +295,7 @@ If the file is missing, the `/assets/i18n-cee/en.json` will be used.
|
|
|
295
295
|
|
|
296
296
|
If that file is also missing, the built-in `de` map would be the next. As this does not exist at this moment, the last option, the built-in `en` map will be used.
|
|
297
297
|
|
|
298
|
-
Information about the loading process is logged onto the console with the `CEE TRACE` prefix.
|
|
298
|
+
Information about the loading process is logged onto the console with the `CEE TRACE` prefix.
|
|
299
299
|
|
|
300
300
|
### Listening for changes
|
|
301
301
|
|