10/26/2022 0 Comments Login clicktime![]() ![]() Fields are validated upon entering text, and also upon clicking "save". LOGIN CLICKTIME UPDATEAny edit will result in an update of their inProgressEntry in Chrome sync storage. Once the view is loaded, the user can select entities and make edits to their time entry. It will check local storage first, and if they aren't found, ask the API. Overview: Upon logging in or an existing session is found, controller will use that session to go fetch all entites (clients, jobs, tasks, time entries, user, company). Services: APIService.js, CTService.js, EntityService.js, TimeEntryService.js, StopwatchService.js LOGIN CLICKTIME PASSWORDOnce they have entered email and password (and passed validation checks) they can press enter or click login to be redirected to Time Entry. Otherwise, user will remain on Login view. Overview: Controller checks to see if there is an existing session in Chrome sync storage. Uploader.py: Run this guy to create a zipped chrome extension folder after updating manifest version ready for developer dashboard import.ĭestruct.py: Run this script to create a zipped chrome extension to replace the current one on the Developer Dashboard in case of emergency destruct of the Clicktime extension.Īll views are wrapped by the main.html template. Several services that serve as a layer between a controller and chrome storage or the API. TimeEntr圜ontroller.js: Controller for all things time entry. StopwatchController.js: Controller for the stopwatch. ![]() Options.js: Script for user options page customizability. If session exists and not timeout, then will go on to TimeEntry. ![]() LoginController.js: User is directed here first. Handles the ticking badge in the extension icon and notificationsĬonfig.js: Script that handles the routing for each page of the application.Ĭontent.js: Script injected into each page. A few broadcasts, mostly a parent controller.īackground.js: Script that runs on every page in the background, not the extension. Has a bunch of constants.ĪppController.js: Main wrapper controller. Time_entry.html: Template for time entry.Īpp.js: Main module for the app. Login.html: Everyone goes to login first. Main.html: Wrapper template that has a few broadcast functions and contains all references to scripts and styles. Templates/ List of views for the extension: ![]() Manifest.json: file that encodes basic app information. For existing users who already have the extension, the extension will be updated in the background quietly in the next 6 hours. LOGIN CLICKTIME DOWNLOADOnce it has published, the newest version will become available to anyone who tries to download it. The extension should take some time to publish - usually around 30 minutes - 1 hour.Fill in any information, language settings, etc, and hit "publish". If the extension already exists, just click "edit" and upload a new package. If this is the first time uploading, click "Add new item" -> "Choose File" -> Select your zipped extension -> upload.Login into the Clicktime google account registered to deal with Chrome extension uploading.This will generate a zipped chrome extension folder ready for upload. When ready to deploy, first update the manifest.json attribute "version" to the newest version. Your environment change will persist until logout. This will bring up a dropdown menu with which to select an environment. Switch the developing/testing environment on your extension by navigating to the login screen and clicking the bottom right corner of the extension popup window four times. You will now have an icon in your Chrome tray at the top right, which you can click to see your local extension. Choose the ClickTimeExtension folder root. Just go to chrome://extensions, enable developer mode, and hit "Load unpacked extension". Deployment and Testingĭevelopers and QA can test their local chrome extensions easily. This is a chrome extension, so it's a little different than a regular app, but still fairly similar. Supports the basic operations of ClickTime time entry, including: This is the Chrome Extension for Clicktime. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |