Skip to content

Improve quality of frontend code #7158

@jordisala1991

Description

@jordisala1991

Feature Request

We have been following a process to integrate our frontend code with webpack encore. However, that process didn't include the refactoring of that code.

Here are some things that came to my mind while doing that process:

  • Split css files into smaller components
  • Reduce specifity of css selectors
  • Split js into smaller components
  • Remove usages of jQuery as much as possible

And of course we didn't intergate the inline javascript: (not sure if we should open another issue for that, for now I will just leave it like this)

I don't know if we code is prepared as it is to be documented on how to customize it. My opinion is that some moves needs to be made BEFORE actually documenting how to customize it:

  • Documentation about the frontend assets for users of the bundle

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions