Compare commits

...

9 Commits
v0.8 ... master

Author SHA1 Message Date
cupcakearmy 63713faa85
update dependencies and version bump 2022-04-19 14:45:06 +02:00
cupcakearmy e93640b943
put css together and only use utilities 2022-04-19 14:43:57 +02:00
cupcakearmy dd255ba512
layout bug 2022-04-19 14:43:30 +02:00
cupcakearmy 7109f5f49c
version 2021-11-24 16:58:45 +01:00
cupcakearmy a68383ff1a
version 2021-11-24 16:57:32 +01:00
cupcakearmy 2857b50a7b
Merge branch 'master' of github.com:cupcakearmy/ora 2021-11-24 16:50:15 +01:00
cupcakearmy 2d3bc1c742
overflow banner 2021-11-24 16:50:13 +01:00
Nicco e295d7956f
Update README.md 2021-11-23 15:37:05 +01:00
Nicco ff0b7f9d9e
Update README.md 2021-11-23 15:30:54 +01:00
10 changed files with 1283 additions and 3256 deletions

29
.github/workflows/build.yaml vendored Normal file
View File

@ -0,0 +1,29 @@
name: Main
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "16"
- run: npm -g i pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm run dist
- name: Artifacts
uses: actions/upload-artifact@v2
with:
name: Extension
path: web-ext-artifacts/*.zip
- name: Sign
uses: tristan-weil/ghaction-checksum-sign-artifact@v1.0.1
with:
path: web-ext-artifacts/*.zip
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: web-ext-artifacts/*.zip

View File

@ -5,7 +5,19 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [0.8] 2021-11
## [0.8.2] 2022-04-19
### Fixed
- UI Bugs of banner
## [0.8.1] 2021-11-24
### Fixed
- Bug with overflowing banner.
## [0.8] 2021-11-23
### Added

View File

@ -2,12 +2,16 @@
<img width="70%" src="./store/written.png" alt="logo" />
</p>
<br/>
<br/>
<br/>
<p align="center">
<img alt="Firefox Extension Badge" src="https://img.shields.io/amo/users/ora-tracker?label=Firefox" />
<img alt="Chrome Extension Badge" src="https://img.shields.io/chrome-web-store/users/aghpiipfpgdiadkibmddeinngbboajbl?label=Chrome" />
<br/>
<a href="https://addons.mozilla.org/en-US/firefox/addon/ora-tracker/"><img src="./store/download_ff.png" /></a>
<a href="https://chrome.google.com/webstore/detail/ora/aghpiipfpgdiadkibmddeinngbboajbl"><img src="./store/download_chrome.png" /></a>
<a href="https://discord.gg/tNH6ZcDMee">
<img alt="Discord" src="https://img.shields.io/discord/252403122348097536?style=for-the-badge" />
<img alt="Version" src="https://img.shields.io/github/manifest-json/v/cupcakearmy/ora?style=for-the-badge" />
<img alt="Firefox Extension Badge" src="https://img.shields.io/amo/users/ora-tracker?label=Firefox&style=for-the-badge" />
<img alt="Chrome Extension Badge" src="https://img.shields.io/chrome-web-store/users/aghpiipfpgdiadkibmddeinngbboajbl?label=Chrome&style=for-the-badge" />
</a>
</p>
## 🌈 Features
@ -19,6 +23,11 @@
- 100% Open Source & Local
- Set retention policy that deletes all logs older than a user specified number of days.
## 🌏 Installation
<a href="https://addons.mozilla.org/en-US/firefox/addon/ora-tracker/"><img src="./store/download_ff.png" /></a>
<a href="https://chrome.google.com/webstore/detail/ora/aghpiipfpgdiadkibmddeinngbboajbl"><img src="./store/download_chrome.png" /></a>
## 🤔 Motivation
I wanted to see how much time I was spending on each website and set limits for certain ones.

View File

@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "Ora",
"version": "0.8",
"version": "0.8.2",
"description": "See how much time you spend on each website and set limits",
"icons": {

View File

@ -12,9 +12,8 @@
"clean": "rm -rf dist .parcel-cache web-ext-artifacts ora.zip",
"dev": "parcel watch --target dev --no-hmr ./manifest.json",
"build": "parcel build --target prod ./manifest.json",
"dist": "run-s clean build pack:*",
"pack:zip": "zip -r ./ora.zip dist/prod/*",
"pack:ff": "web-ext build -s dist/prod --overwrite-dest"
"pack": "web-ext build -s dist/prod --overwrite-dest",
"dist": "run-s clean build pack"
},
"targets": {
"dev": {
@ -26,28 +25,30 @@
"prod": {}
},
"dependencies": {
"d3": "^7",
"dayjs": "^1.10.7",
"dexie": "^3.2.0",
"d3": "^7.4.4",
"dayjs": "^1.11.1",
"dexie": "^3.2.1",
"dexie-export-import": "^1.0.3",
"faker": "5.5.2",
"file-saver": "^2.0.5",
"joi": "^17.4.2",
"joi": "^17.6.0",
"lodash": "^4.17.21",
"pretty-bytes": "^5.6.0",
"spectre.css": "^0.5.9",
"svelte-spa-router": "^3.2.0",
"tailwindcss": "^2",
"webextension-polyfill": "^0.8.0"
"tailwindcss": "^2.2.19",
"webextension-polyfill": "^0.9.0"
},
"devDependencies": {
"@parcel/config-webextension": "^2.0.1",
"@parcel/core": "^2.0.1",
"@types/lodash": "^4.14.177",
"@parcel/config-webextension": "^2.4.1",
"@parcel/core": "^2.4.1",
"@types/lodash": "^4.14.182",
"buffer": "^6.0.3",
"npm-run-all": "^4.1.5",
"parcel": "^2.0.1",
"parcel": "^2.4.1",
"parcel-transformer-svelte": "^1.2.3",
"svelte": "^3.44.2",
"web-ext": "^6.5.0"
"process": "^0.11.10",
"svelte": "^3.47.0",
"web-ext": "^6.8.0"
}
}

File diff suppressed because it is too large Load Diff

View File

@ -26,11 +26,17 @@
</div>
<style>
:global(*) {
box-sizing: border-box;
}
.wrapper {
position: fixed;
color: #000;
bottom: 0;
left: 0;
top: initial;
right: initial;
width: 100vw;
height: 100vh;
background-color: hsla(0, 0%, 100%, 0.975);

View File

@ -2,7 +2,7 @@
<small>
Made with ❤️ by
<a href="https://nicco.io" target="_blank" rel="noreferrer">🐘</a>
— v0.8 —
— v0.8.1
<a href="https://github.com/cupcakearmy/ora" target="_blank" rel="noreferrer">Source Code</a>
</small>
</footer>

View File

@ -2,8 +2,7 @@
<html>
<head>
<meta charset="UTF-8" />
<link href="../../node_modules/spectre.css/dist/spectre.min.css" rel="stylesheet" />
<link href="../../node_modules/tailwindcss/dist/tailwind.min.css" rel="stylesheet" />
<link href="./main.css" rel="stylesheet" />
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans',

2
src/dashboard/main.css Normal file
View File

@ -0,0 +1,2 @@
@import "../../node_modules/spectre.css/dist/spectre.css";
@import "../../node_modules/tailwindcss/dist/utilities.css";