-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GDB-10926: TTYG View is Broken After Production Build (#1562)
## What - All icons are not displayed; - The readableTimestamp filter has issues (in production build only); - All CSS links in TTYG templates are broken. ## Why - We use the paid package "@awesome.me/kit-94ffd2fc4a" and have an authentication token. However, for some reason, the CSS classes are not imported into the output vendor.js file, despite adding the required configuration as explained [here](https://docs.fontawesome.com/web/setup/packages); - The filter was not injected properly; - All links are version-dependent, and the version string was not correctly replaced during the build process. ## How - Copied the necessary files after installation and modified vendor.js to use them; - Moved the functionality that transforms the date timestamp to a human-readable string into the main TTYG controller; - Added a "replaceVersion" transformation to all TTYG templates during the build process.
- Loading branch information
1 parent
946f297
commit 97bf06f
Showing
7 changed files
with
10 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters