forked from web-vision/deepltranslate-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEATURE] Better readable usage stats / silent return on lower severity
Refs web-vision#343 [FEATURE] Make translation limits more readable [FEATURE] Follow up: More readable quota in toolbar [FEATURE] Replace severity numbers with constants [FEATURE] Enable color changes for DeepL action icon Action icons dont have a fixed color set, in order to let TYPO3 set the desired color - black in list actions, white in toolbar infos. Change the DeepL SVG to not use black in all places. [FEATURE] Determine severity based on quota usage Calculate the message severity based on the API quota usage rate. Matching popular quota warning levels if will notify above 90% usage, and shown an error when the limit is exceeded. Hide the flashmessage after a translation if the severity is low. Refs web-vision#343 [FEATURE] Make widget more compact and use severity Use severity levels in widget as well and reduce the height to prevent unused whitespace.
- Loading branch information
1 parent
d82b991
commit 000df87
Showing
7 changed files
with
140 additions
and
53 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 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.