Amir Zarrinkafsh
3494353641
refactor(web): use absolute imports with aliases ( #2100 )
...
* refactor(web): use absolute imports with aliases
Refactors all of the TS/JS frontend to utilise absolute imports along with import aliases.
Each of the paths within `src` are represented with their own alias:
* @assets
* @components
* @constants (new)
* @hooks
* @layouts
* @models
* @services
* @themes
* @utils
* @views
`Routes.ts` and `constant.ts` have been relocated to the constants directory for consistency.
2021-06-19 10:20:43 +02:00
Amir Zarrinkafsh
689fd7cb95
[CI] Add linting option for frontend and enforce styling ( #1565 )
...
We now extend the default Eslint configuration and enforce styling with prettier for all of our frontend code.
2021-01-02 21:58:24 +11:00
dependabot-preview[bot]
e6f4768961
[MISC] (deps): Bump react-scripts from 3.4.4 to 4.0.0 in /web ( #1403 )
...
Bumps [react-scripts](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-scripts ) from 3.4.4 to 4.0.0.
- [Release notes](https://github.com/facebook/create-react-app/releases )
- [Changelog](https://github.com/facebook/create-react-app/blob/master/CHANGELOG-3.x.md )
- [Commits](https://github.com/facebook/create-react-app/commits/react-scripts@4.0.0/packages/react-scripts )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Address CRA breaking changes
This is related to [breaking changes](https://github.com/facebook/create-react-app/blob/master/CHANGELOG.md#breaking-changes ) in CRA specific to ESLint.
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-07 13:06:18 +11:00
Clement Michaud
9ae2096d2a
Rewrite authelia frontend to improve user experience.
...
This refactoring simplify the code of the frontend and prepare the
portal for receiving a user settings page and an admin page.
2019-12-05 11:05:24 +01:00