Skip to content

firefox extension for summarizing google calendar events on weekly, monthly and annual basis

Notifications You must be signed in to change notification settings

printfdebugging/timepast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TimePast

A simple firefox extension which helps you look at your google calendar from a different perspective. Well.. how many hours am I working, how much time goes to sports and fittness. What's the trend over the last year? Am I sleeping more, or am I neglecting my health.

banner

Development

LSP completions on firefox

Create jsconfig.json file in the root of your extension project, that's all! Once done, the lsp will start providing completions like browser.browserAction.onClicked....

// jsconfig.json
{"typeAcquisition": {"include": ["firefox-webext-browser"]}}

Chromium to Firefox

I was having a hard time setting up extension ID and OAuth2 on chromium. I was getting a wierd error (Unchecked runtime.lastError: The user turned off browser signin) probably because chromium doesn't come with google chrome propriatery stuff..

Also to publish an extension on chrome, I was required to have an account there. That's another reason why IMO firefox is a better choice, not to mention that most of the extensions on firefox add-ons page have a github repo link, so you can easily go to the source and learn about how the extension is doing something. (this is not that common on chrome extensions store)

A very important lesson I learnt as a developer

I felt as if I wasted 2 hours trying to create a new tab (chrome.action.onClicked.addListener(tabs => {...})) when the user clicks on the extension icon. The code was clearly mentioned on the tutorial page but I managed to create a mess somehow. But then it hit me, this is how we learn anything. At first, we are really inefficient, then we start getting a hang of it.. and then as we work on it, we become experts at that thing.

I guess then the only skill required as a beginner is to stick around for some time, to wait for the bud to blossom, when things start clicking. It's important to not have unrealistic expectations when just starting out.

Resources related to extensions

Resources related to javascript

These are really quick tutorials/primers which go over varous aspects of the language like basic syntax, networking (request/response), async/await/promises etc.

About

firefox extension for summarizing google calendar events on weekly, monthly and annual basis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published