Skip to content

[EPIC] Symfony Forms simplification using PrestaShop Form Theme #16482

@matks

Description

@matks

Documentation

We need to document

  • it is now possible to use form_widget(form) to render whole symfony forms
  • explain why form_widget() is so much better (especially the fact it can be used to completely reorder/modify template rendering without template override)
  • explain how tu use CustomContentType, when to use it, when not to use it

Uniformize rendering of all forms

And we need to modify the twig templates for all Symfony forms to use a single form_widget() call, instead of rendering each widget in a dedicated manner.

Progress monitoring (last update: 07/05/2021)

  • 50 pages with forms to simplify
  • 47 done ✅
  • 3 WIP

PRs left to be merged

#20243 Invoices form
#22472 Payment preferences

Full roadmap

Page Status PR Refactored in version
Advanced Parameters > Performance #16964 1.7.8.0
Shop parameters > General > General #21219 1.7.8.0
Advanced Parameters > Administration #21243 1.7.8.0
Advanced Parameters > Import (1/2 pages) #21245 1.7.8.0
Shop parameters > General > Maintenance #22379 1.7.8.0
Shop parameters > Product settings #27892 8.0.0
Shop parameters > Customer settings > Customers #21234 1.7.8.0
Advanced Parameters > Logs #21075 1.7.8.0
Orders > Invoices #39203 9.0.1
Orders > Delivery Slips #27851 8.0.0
Carriers > Preferences #21244 1.7.8.0
Payment > Preferences WIP #22472 1.7.8.0
International > Localization > Localization #21338 1.7.8.0
International > Localization > Geolocation #21355 1.7.8.0
International > Translations (Page 1/2) #21527 1.7.8.0
Shop parameters > Order Settings > Order settings #21443 1.7.8.0
Shop parameters > Traffic & SEO > SEO & URLs #21472 1.7.8.0
Advanced Parameters > Email #21553 1.7.8.0
Advanced Parameters > Database > SQL Manager #21652 1.7.8.0
Advanced Parameters > Database > SQL Manager > Add new SQL query #21652 1.7.8.0
Advanced Parameters > Database > DB Backup #21652 1.7.8.0
Advanced Parameters > Webservice #21653 1.7.8.0
Catalog > Categories > Add new / edit category #29951 9.0.0
Catalog > Brand & Suppliers > Brands > Add new brand #22474 1.7.8.0
Catalog > Brand & Suppliers > Brands > Add new brand address #22474 1.7.8.0
Customers > Customers (required fields form below ?) #21679 1.7.8.0
Customers > Customers > View customer #21679 1.7.8.0
Customers > Customers > Add new / edit customer #21679 1.7.8.0
Design > Theme & Logo > Add new theme #23127 1.7.8.0
Design > Email Theme No
Design > Pages > Add new / edit page category #22476 1.7.8.0
Design > Pages > Add new / edit page #22476 1.7.8.0
International > Localization > Languages > Add new / edit language languages #21878 1.7.8.0
International > Localization > Currencies (currency rate form below?) #21923 1.7.8.0
International > Localization > Currencies > Add new / edit currency #21923 1.7.8.0
International > Taxes > Taxes #19866 1.7.8.0
International > Taxes > Taxes > Add new / edit tax #19866 1.7.8.0
Shop parameters > Contact > Contacts > Add new / edit contact #21924 1.7.8.0
Shop parameters >Traffic & SEO > SEO & URL > Add new / edit page #21472 1.7.8.0
Advanced Parameters > Team > Employees #29985 8.1.0
Advanced Parameters > Team > Employees > Add new employee #28465 8.1.0
Advanced Parameters > Team > Employees > Profiles > Add new profile #30359 8.1.0
Advanced Parameters > Webservice > Add new webservice key #21653 1.7.8.0
Orders > Credit Slips #20204 1.7.8.0
Catalog > Brand & Suppliers > Add new / edit supplier #19996 1.7.8.0
Catalog > Files > Add new / edit files #19995 1.7.8.0
Customers > Addresses (required fields form below ?) #22477 1.7.8.0
Customers > Addresses > Add new / edit address #20016 1.7.8.0
Customer Service > Order Messages > Add new / edit order message #20103 1.7.8.0
Customer Service > Merchandise Returns WIP Will be done with the page migration #24421

Metadata

Metadata

Labels

BOCategory: Back OfficeDeveloper FeatureDeveloper-oriented featureEPICMacro-level issue gathering improvements & bugs related to a specific topicKey featureNotable feature to be highlightedNeeds SpecsStatus: issue needs to be specifiedPR availableSolution: issue is being addressedTopwatchersBacklog prioritization: issue reported & followed by +6 peopleWIPStatus: Work In Progressmigrationsymfony migration project

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions