[Clean code and SOLID] Refactor and improvement of artwork pages
Closed this issue · 0 comments
WelisonR commented
Describe the issue
Currently, artworks files (artwork-create.jinja2
, artwork-edit.jinja2
and artwork-list.jinja2
) have a lot of legacy code that is not used, duplications, manual implementation of functions that javascript already has solutions and a confusing javascript functions structure. In addition, these artworks pages is not validating correctly if user agree with Creative Commons License.
Screenshots
Invalid validation:
Expected behavior
Unused code of artworks removed from project, validations working correctly and refactoring to simplify code.