@plone/volto 16.0.0-alpha.30 → 16.0.0-alpha.31
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
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 16.0.0-alpha.31 (2022-09-12)
|
|
4
|
+
|
|
5
|
+
### Bugfix
|
|
6
|
+
|
|
7
|
+
- Fix types menu on mobile for many types. Specific menuStyle for 'more' menu. @ksuess
|
|
8
|
+
- Fix types menu on desktop when menu overflows the viewport, adding scroll to it @sneridagh
|
|
9
|
+
|
|
10
|
+
### Documentation
|
|
11
|
+
|
|
12
|
+
- Align `html_static_path` with `plone/documentation` and image path so that images render when docs build in both repos. @stevepiercy
|
|
13
|
+
|
|
3
14
|
## 16.0.0-alpha.30 (2022-09-07)
|
|
4
15
|
|
|
5
16
|
### Breaking
|
|
@@ -12,6 +23,7 @@
|
|
|
12
23
|
- Added placeholder param to widget, to change default placeholder @giuliaghisini
|
|
13
24
|
- Add a headline (`headline` field) to the listing block schema by default @sneridagh
|
|
14
25
|
- Add scroll into view setting to slate @robgietema
|
|
26
|
+
- Use absolute dates instead of "x hours ago" in History view @steffenri
|
|
15
27
|
|
|
16
28
|
### Bugfix
|
|
17
29
|
|
|
@@ -396,146 +408,6 @@ Use next release instead: https://github.com/plone/volto/releases/tag/16.0.0-alp
|
|
|
396
408
|
- Fix field id creation in dexterity control panel to have slugified id @erral
|
|
397
409
|
- Changed to get intl.locale always from state @ionlizarazu
|
|
398
410
|
|
|
399
|
-
### Feature
|
|
400
|
-
|
|
401
|
-
- Updated Brazilian Portuguese translation @ericof
|
|
402
|
-
- Forward `HTTP Range` headers to the backend. @mamico
|
|
403
|
-
- Add default value to color picker, if `default` is present in the widget schema. @sneridagh
|
|
404
|
-
|
|
405
|
-
### Bugfix
|
|
406
|
-
|
|
407
|
-
- fix TokenWidget choices when editing a recently created content. @giuliaghisini
|
|
408
|
-
- Fix color picker defaults implementation #2 @sneridagh
|
|
409
|
-
|
|
410
|
-
### Internal
|
|
411
|
-
|
|
412
|
-
- Update `Cypress` to version 9.6.1 @sneridagh
|
|
413
|
-
|
|
414
|
-
### Documentation
|
|
415
|
-
|
|
416
|
-
- Updated simple.md @MdSahil-oss
|
|
417
|
-
- Fix indentation in nginx configuration in simple.md @stevepiercy
|
|
418
|
-
|
|
419
|
-
## 16.0.0-alpha.3 (2022-05-16)
|
|
420
|
-
|
|
421
|
-
### Breaking
|
|
422
|
-
|
|
423
|
-
- Remove `div` as default if `as` prop from `RenderBlocks`. Now the default is a `React.Fragment` instead. This could lead to CSS inconsistencies if taken this div into account, specially if used in custom add-ons without. In order to avoid them, set the `as` property always in your add-ons. @sneridagh
|
|
424
|
-
|
|
425
|
-
## 16.0.0-alpha.2 (2022-05-16)
|
|
426
|
-
|
|
427
|
-
- Rename `src/components/manage/Widgets/ColorPicker.jsx` component to `src/components/manage/Widgets/ColorPickerWidget.jsx` @sneridagh
|
|
428
|
-
|
|
429
|
-
### Feature
|
|
430
|
-
|
|
431
|
-
- Updated Brazilian Portuguese translation @ericof
|
|
432
|
-
- Forward `HTTP Range` headers to the backend. @mamico
|
|
433
|
-
- Add default value to color picker, if `default` is present in the widget schema. @sneridagh
|
|
434
|
-
- added configurable identifier field for password reset in config.js. @giuliaghisini
|
|
435
|
-
- Add `expandToBackendURL` helper @sneridagh
|
|
436
|
-
|
|
437
|
-
### Bugfix
|
|
438
|
-
|
|
439
|
-
- fix TokenWidget choices when editing a recently created content. @giuliaghisini
|
|
440
|
-
|
|
441
|
-
### Internal
|
|
442
|
-
|
|
443
|
-
### Documentation
|
|
444
|
-
|
|
445
|
-
## 16.0.0-alpha.5 (2022-05-25)
|
|
446
|
-
|
|
447
|
-
### Bugfix
|
|
448
|
-
|
|
449
|
-
- Fix regression, compound lang names (eg. `pt-BR`) no longer working @sneridagh
|
|
450
|
-
|
|
451
|
-
## 16.0.0-alpha.4 (2022-05-22)
|
|
452
|
-
|
|
453
|
-
### Breaking
|
|
454
|
-
|
|
455
|
-
- Removed `date-fns` from dependencies, this was in the build because `Cypress` depended on it. After the `Cypress` upgrade it no longer depends on it. If your project still depends on it, add it as a dependency of your project. @sneridagh
|
|
456
|
-
- Removed all usage of `date-fns` from core. @sneridagh
|
|
457
|
-
|
|
458
|
-
### Feature
|
|
459
|
-
|
|
460
|
-
- Added viewableInBrowserObjects setting to use in alternative to downloadableObjects, if you want to view file in browser intstead downloading. @giuliaghisini
|
|
461
|
-
- Disable already chosen criteria in querystring widget @kreafox
|
|
462
|
-
- Added X-Forwarded-\* headers to superagent requests. @mamico
|
|
463
|
-
|
|
464
|
-
### Bugfix
|
|
465
|
-
|
|
466
|
-
- Fix `withStylingSchemaEnhancer` enhancer mechanism @sneridagh
|
|
467
|
-
- Add correct query parameters to the redirect @robgietema
|
|
468
|
-
- Fix RenderBlocks: path @ksuess
|
|
469
|
-
- Fix field id creation in dexterity control panel to have slugified id @erral
|
|
470
|
-
- Changed to get intl.locale always from state @ionlizarazu
|
|
471
|
-
- fixed view video list from youtube in Video block. @giuliaghisini
|
|
472
|
-
- Fixed ICS URL in event view in seamless mode @sneridagh
|
|
473
|
-
|
|
474
|
-
### Internal
|
|
475
|
-
|
|
476
|
-
- Update `Cypress` to version 9.6.1 @sneridagh
|
|
477
|
-
|
|
478
|
-
### Documentation
|
|
479
|
-
|
|
480
|
-
- Updated simple.md @MdSahil-oss
|
|
481
|
-
- Fix indentation in nginx configuration in simple.md @stevepiercy
|
|
482
|
-
|
|
483
|
-
## 16.0.0-alpha.3 (2022-05-16)
|
|
484
|
-
|
|
485
|
-
### Breaking
|
|
486
|
-
|
|
487
|
-
- Remove `div` as default if `as` prop from `RenderBlocks`. Now the default is a `React.Fragment` instead. This could lead to CSS inconsistencies if taken this div into account, specially if used in custom add-ons without. In order to avoid them, set the `as` property always in your add-ons. @sneridagh
|
|
488
|
-
|
|
489
|
-
## 16.0.0-alpha.2 (2022-05-16)
|
|
490
|
-
|
|
491
|
-
### Feature
|
|
492
|
-
|
|
493
|
-
- Add default widget views for all type of fields and improve the DefaultView @ionlizarazu
|
|
494
|
-
- added configurable identifier field for password reset in config.js. @giuliaghisini
|
|
495
|
-
- Add `expandToBackendURL` helper @sneridagh
|
|
496
|
-
|
|
497
|
-
### Bugfix
|
|
498
|
-
|
|
499
|
-
- fixed view video list from youtube in Video block. @giuliaghisini
|
|
500
|
-
- Fixed ICS URL in event view in seamless mode @sneridagh
|
|
501
|
-
|
|
502
|
-
### Internal
|
|
503
|
-
|
|
504
|
-
- Reintroduce Plone 6 acceptance tests using the latests `plone.app.robotframework` 2.0.0a6 specific Volto fixture. @datakurre @ericof @sneridagh
|
|
505
|
-
- Upgrade all tests to use `plone.app.robotframework` 2.0.0a6 @sneridagh
|
|
506
|
-
- Upgrade Sentry to latest version because of [#3346](https://github.com/plone/volto/issues/3346) @sneridagh
|
|
507
|
-
- Reintroduce Plone 6 acceptance tests using the latests `plone.app.robotframework` 2.0.0a6 specific Volto fixture. @datakurre @ericof @sneridagh
|
|
508
|
-
- Upgrade all tests to use `plone.app.robotframework` 2.0.0a6 @sneridagh
|
|
509
|
-
|
|
510
|
-
### Documentation
|
|
511
|
-
|
|
512
|
-
## 16.0.0-alpha.5 (2022-05-25)
|
|
513
|
-
|
|
514
|
-
### Bugfix
|
|
515
|
-
|
|
516
|
-
- Fix regression, compound lang names (eg. `pt-BR`) no longer working @sneridagh
|
|
517
|
-
|
|
518
|
-
## 16.0.0-alpha.4 (2022-05-22)
|
|
519
|
-
|
|
520
|
-
### Breaking
|
|
521
|
-
|
|
522
|
-
- Removed `date-fns` from dependencies, this was in the build because `Cypress` depended on it. After the `Cypress` upgrade it no longer depends on it. If your project still depends on it, add it as a dependency of your project. @sneridagh
|
|
523
|
-
- Removed all usage of `date-fns` from core. @sneridagh
|
|
524
|
-
|
|
525
|
-
### Feature
|
|
526
|
-
|
|
527
|
-
- Added viewableInBrowserObjects setting to use in alternative to downloadableObjects, if you want to view file in browser intstead downloading. @giuliaghisini
|
|
528
|
-
- Disable already chosen criteria in querystring widget @kreafox
|
|
529
|
-
- Added X-Forwarded-\* headers to superagent requests. @mamico
|
|
530
|
-
|
|
531
|
-
### Bugfix
|
|
532
|
-
|
|
533
|
-
- Fix `withStylingSchemaEnhancer` enhancer mechanism @sneridagh
|
|
534
|
-
- Add correct query parameters to the redirect @robgietema
|
|
535
|
-
- Fix RenderBlocks: path @ksuess
|
|
536
|
-
- Fix field id creation in dexterity control panel to have slugified id @erral
|
|
537
|
-
- Changed to get intl.locale always from state @ionlizarazu
|
|
538
|
-
|
|
539
411
|
### Internal
|
|
540
412
|
|
|
541
413
|
- Update `Cypress` to version 9.6.1 @sneridagh
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@ import { Portal } from 'react-portal';
|
|
|
15
15
|
import { FormattedMessage, defineMessages, injectIntl } from 'react-intl';
|
|
16
16
|
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
FormattedDate,
|
|
19
19
|
Icon as IconNext,
|
|
20
20
|
Toolbar,
|
|
21
21
|
} from '@plone/volto/components';
|
|
@@ -209,7 +209,7 @@ class History extends Component {
|
|
|
209
209
|
</Table.Cell>
|
|
210
210
|
<Table.Cell>{entry.actor.fullname}</Table.Cell>
|
|
211
211
|
<Table.Cell>
|
|
212
|
-
<
|
|
212
|
+
<FormattedDate date={entry.time} includeTime />
|
|
213
213
|
</Table.Cell>
|
|
214
214
|
<Table.Cell>{entry.comments}</Table.Cell>
|
|
215
215
|
<Table.Cell>
|
|
@@ -273,6 +273,14 @@ class Toolbar extends Component {
|
|
|
273
273
|
showMenu: !state.showMenu,
|
|
274
274
|
menuStyle: { bottom: 0 },
|
|
275
275
|
}));
|
|
276
|
+
} else if (selector === 'more') {
|
|
277
|
+
this.setState((state) => ({
|
|
278
|
+
showMenu: !state.showMenu,
|
|
279
|
+
menuStyle: {
|
|
280
|
+
overflow: 'visible',
|
|
281
|
+
top: 0,
|
|
282
|
+
},
|
|
283
|
+
}));
|
|
276
284
|
} else {
|
|
277
285
|
this.setState((state) => ({
|
|
278
286
|
showMenu: !state.showMenu,
|
|
@@ -295,7 +295,7 @@ body:not(.has-sidebar):not(.has-sidebar-collapsed) {
|
|
|
295
295
|
|
|
296
296
|
.toolbar-content {
|
|
297
297
|
z-index: 3;
|
|
298
|
-
overflow:
|
|
298
|
+
overflow: auto;
|
|
299
299
|
box-shadow: 0 1px 2px 0 #c7d5d8;
|
|
300
300
|
}
|
|
301
301
|
|
|
@@ -718,6 +718,18 @@ body:not(.has-sidebar):not(.has-sidebar-collapsed) {
|
|
|
718
718
|
}
|
|
719
719
|
}
|
|
720
720
|
}
|
|
721
|
+
|
|
722
|
+
// Reasoning: This is to allow scrolling inside the types
|
|
723
|
+
// You can't make this to happen in a fixed element that does not have
|
|
724
|
+
// fixed height, so for small viewports height, we are forcing the container
|
|
725
|
+
// to have a full height, then the inner container knows when
|
|
726
|
+
// and how to scroll.
|
|
727
|
+
@media only screen and (max-height: 400px) {
|
|
728
|
+
#toolbar .toolbar-content.show {
|
|
729
|
+
height: 100%;
|
|
730
|
+
}
|
|
731
|
+
}
|
|
732
|
+
|
|
721
733
|
// Orphaned CSS
|
|
722
734
|
.ui.dropdown .menu.left {
|
|
723
735
|
right: 0;
|