Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor forms with the Symfony Form component #551

Open
7 of 17 tasks
marien-probesys opened this issue Jan 11, 2024 · 0 comments
Open
7 of 17 tasks

Refactor forms with the Symfony Form component #551

marien-probesys opened this issue Jan 11, 2024 · 0 comments
Labels
technical debt The past will not stop us from moving forward type: technical These are of interest to administrators
Milestone

Comments

@marien-probesys
Copy link
Member

marien-probesys commented Jan 11, 2024

I started working on Bileto by creating forms manually. That was fine for some time, but I introduced the Form component to refactor the contract form. It removes a lot of issues (in particular, I no longer need to check the CSRF token manually).

Some forms would benefit of the same refactoring:

  • new/edit contract
  • new/edit organization
  • new/edit role
  • new/edit user
  • new/edit mailbox
  • new authorization
  • new ticket
  • all the edit forms related to the tickets
    • title
    • status
    • actors
    • priority
    • labels
    • contract
  • answer ticket?
  • profile
  • preferences

This may take some time to refactor all the forms so I plan to refactor them slowly, at each release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
technical debt The past will not stop us from moving forward type: technical These are of interest to administrators
Projects
None yet
Development

No branches or pull requests

1 participant