aboutsummaryrefslogtreecommitdiffstats
path: root/src/webview/badge.ts
Commit message (Collapse)AuthorAge
* Minor refactoringLibravatar Vijay A2022-12-26
|
* Use default exports instead of named exportsLibravatar Vijay A2022-07-02
|
* Preload safe debug shim (#29)Libravatar Kristóf Marussy2022-04-22
| | | | | | | | | | | | | | | | In https://github.com/ferdium/ferdium-app/pull/23 we removed usages of the debug package due to an electron bug. This patch aims to restore some debug functionality by introducing a shim. The shim detect whether if it is being introduced in a preload script where the electron but would be triggered, and falls back to a simple replacement for debug. However, in the main and renderer processes, where a preload script is not being used, we still get full debug functionality. In this way, a module can be used both in a preload script and outside of it, while still preserving debug functionality whenever possible. Signed-off-by: Kristóf Marussy <kristof@marussy.com>
* Turn off usage of 'debug' npm package using with electron-16 (fixes #17)Libravatar Vijay Aravamudhan2022-04-22
|
* Matched casing for almost all replacementsLibravatar Aditya Mangalampalli2022-04-16
|
* fix: Remove 'counterCache' which was precluding from resetting the badge ↵Libravatar Vijay Aravamudhan2021-10-23
| | | | once the counts reached zero (#2113)
* chore: update eslint setup (#2074)Libravatar Markus Hatvan2021-10-15
|
* feat: add eslint-plugin-unicorn (#1936)Libravatar Markus Hatvan2021-09-14
|
* refactor: defensive programming to avoid javascript error for unread badgesLibravatar Vijay A2021-09-14
|
* refactor: expose safeParseInt so that all recipes can use the same for ↵Libravatar Vijay A2021-08-31
| | | | consistent error handling
* fix: allow the recipe to pass a string for the badge, ferdi can parse it ↵Libravatar Vijay A2021-08-27
| | | | correctly
* chore: typescript conversionLibravatar Vijay A2021-08-21