Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/adjustment release #5

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.zip
16 changes: 10 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
<div align="center">
<img src="./docs/test.png">

<img src="./docs/display-cost-in-usd.png" width="30%" />
<p>
<h2> Chrome Extensions for Calculate Meeting Cost</h2>
<label>in calendar.google.com</label>
</p>

<p>
🚧 UNDERCONSTRUCTION
</p>

</div>

Change the Currency by go to the option

<img src="./docs/option-cost.png" width="30%" />

Here is the version in IDR

<img src="./docs/display-cost-in-idr.png" width="30%" />


## Usage

- Download this repository content and go to `chrome://extensions` in your chrome browser
Expand Down
3 changes: 3 additions & 0 deletions compile.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

zip -r ./mCostly.zip background.js chrome.d.ts content.js icons/* manifest.json options.html options.js
Binary file added docs/display-cost-in-idr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/display-cost-in-usd.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/option-cost.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/meeting-mahal-128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/meeting-mahal-16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/meeting-mahal-32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/meeting-mahal-48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 11 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,25 @@
"manifest_version": 3,
"name": "Meeting is COSTLY!",
"author": "r17x",
"version": "1.0.0",
"version": "0.1.0",
"options_page": "options.html",
"description": "simple meeting cost calculation in calendar google",
"content_scripts": [
{
"matches": ["https://calendar.google.com/*"],
"js": ["content.js"]
}
],
"permissions": ["storage", "activeTab", "scripting", "tabs"],
"action": {},
"action": {
"default_icon": "icons/meeting-mahal-32.png"
},
"icons": {
"16": "icons/meeting-mahal-16.png",
"32": "icons/meeting-mahal-32.png",
"48": "icons/meeting-mahal-48.png",
"128": "icons/meeting-mahal-128.png"
},
"background": {
"service_worker": "background.js"
}
Expand Down
4 changes: 2 additions & 2 deletions options.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
const app0 = (f) => f();

const defaultOptions = {
hourlyRate: 560000,
currency: "IDR.id-ID",
hourlyRate: 0,
currency: "",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't changed currency with "" you can use USD.en-US

};

const id = {
Expand Down