Tiberiu Ichim
Tiberiu Ichim
useEffect based application of default form defaults is insufficient.
Facts: - React supports `defaultValue` for inputs. See https://reactjs.org/docs/uncontrolled-components.html#:~:text=In%20the%20React%20rendering%20lifecycle%2C%20the,of%20the%20value%20in%20the%20DOM. - Our InlineForm expects the schemas to specify `default` in the fields - but the `default` is not properly copied/passed down...
On a multilingual site, when saving, I get a crash ``` Cannot read properties of undefined (reading 'translations') at Toolbar (http://localhost:3001/static/js/client.chunk.js:70824:5) ``` Logging the `this.props.content`, I can see that at...
Tested on volto.kitconcept.com ![image](https://user-images.githubusercontent.com/141568/191972080-73a0bbb4-cd77-41a1-a545-1573b9d4275e.png) ![image](https://user-images.githubusercontent.com/141568/191972177-820084fb-f893-4348-9136-43946aa152f3.png) This is how the screen looks like in Plone classic: ![image](https://user-images.githubusercontent.com/141568/191972614-36ee28d1-06bd-49db-9f21-7d5c2c3a913c.png) The problem is that the way the information is displayed in Volto is misleading....
https://github.com/plone/volto/blob/05162223a7c08000f3cf86b8ebdd784cbef04fe7/packages/generator-volto/generators/app/templates/src/routes.js#L7 As you see, in the `routes.js` the generator uses the `default_routes`. But the multilanguage routes are not included in the default routes, which is a problem. All these: https://github.com/plone/volto/blob/05162223a7c08000f3cf86b8ebdd784cbef04fe7/src/routes.js#L272...
I think the way the less theme is handled in Volto is suboptimal. The fact that the Pastanaga theme doesn't follow semantic-ui theming mechanism is setting the wrong direction for...
https://github.com/plone/volto/blob/30c3e3ea762ce4dca7c9d1dcf49d7b3612f59b88/src/components/theme/SearchWidget/SearchWidget.jsx#L94
I want to start a discussion on how to think about the listing block and its templates. The current situation is: each variation controls the layout of the "item listings"...
I think all Pastanaga and Volto theme should have been kept cleaner and strictly as a semantic-ui theme with additional new elements. This would have imposed cleanliness across the CSS...
I'm proposing that we formalize a list of fields that can be stored in Volto blocks and they'd be automatically transformed server-side, or have other positive benefits. For example: block...