Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
f093f55
🔥 Rewriting Colorpicker (#81)
Toinane Apr 19, 2021
249e01e
feat: github action first test (#102)
Toinane Apr 19, 2021
e05d6e9
Gh actions (#103)
Toinane Apr 19, 2021
b7e691b
feat: add wip readme
Toinane Apr 19, 2021
348a03e
update commit merge
Toinane Apr 20, 2021
15d48e5
update big sur logo
Toinane Apr 20, 2021
90858e7
feat: update readme & script name
Toinane Apr 23, 2021
8bb4325
feat: update readme & script name
Toinane Apr 23, 2021
2339824
feat: add csp
Toinane May 1, 2021
0e195e6
feat: update webpack configuration
Toinane Apr 26, 2022
ff66ac3
feat: update readme
Toinane Apr 26, 2022
9989759
feat: update readme
Toinane Apr 26, 2022
53de3c6
feat: add e2e test
Toinane Apr 26, 2022
3e5a860
fix: fix e2e test
Toinane Apr 26, 2022
add0156
fix: fix test
Toinane Apr 26, 2022
53b3ae3
fix: fix playwright
Toinane Apr 26, 2022
caec885
feat: add windows bar
Toinane Apr 26, 2022
244fc8b
feat: add app menu
Toinane Apr 28, 2022
33e086b
feat: add store
Toinane Apr 29, 2022
0b57d89
feat: add wip storage
Toinane Apr 29, 2022
a6dbae2
feat: add window manager
Toinane Apr 29, 2022
f383e07
feat: add storage system
Toinane Apr 30, 2022
98876eb
feat: link storage to front
Toinane May 2, 2022
c773955
feat: add colorjs
Toinane May 3, 2022
026db0c
feat: change color dep & add hex input
Toinane May 6, 2022
0041d4f
feat: save color
Toinane May 10, 2022
1f3179f
feat: add blur event
Toinane May 13, 2022
3d333d1
wip
Toinane May 14, 2024
2e3f6ba
WIP: starting fresh
Toinane Oct 5, 2025
07cbf98
WIP: starting fresh
Toinane Oct 5, 2025
4cd83c5
continue rework
Toinane Oct 6, 2025
15cb567
rework window management
Toinane Oct 6, 2025
0757601
QoL
Toinane Oct 6, 2025
4ff72a4
init settings window
Toinane Oct 7, 2025
3797b6f
enhance react code
Toinane Oct 8, 2025
e2ba5de
WIP: init settings window
Toinane Oct 9, 2025
0d9b8d8
update settings UI
Toinane Oct 11, 2025
02e0d11
feat: add settings components and hooks
Toinane Oct 14, 2025
18804b5
update dependencies
Toinane Oct 29, 2025
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
19 changes: 19 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"env": {
"browser": true,
"es6": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:import/recommended",
"plugin:import/electron",
"plugin:import/typescript"
],
"parser": "@typescript-eslint/parser",
"rules": {
"semi": ["error", "never"]
}
}
Binary file removed .github/screenshots/colorpicker.png
Binary file not shown.
Binary file removed .github/screenshots/colorsbook.png
Binary file not shown.
Binary file removed .github/screenshots/focus.png
Binary file not shown.
Binary file removed .github/screenshots/opacity.png
Binary file not shown.
Binary file removed .github/screenshots/picker.png
Binary file not shown.
Binary file removed .github/screenshots/pin.png
Binary file not shown.
Binary file removed .github/screenshots/settings.png
Binary file not shown.
Binary file removed .github/screenshots/tint.png
Binary file not shown.
55 changes: 55 additions & 0 deletions .github/workflows/dev.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Colorpicker Nightly

on:
pull_request:
branches:
- dev
types: [closed]

jobs:
build:
if: github.event.pull_request.merged == true
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16

- name: apt-get update on Ubuntu
run: sudo apt-get update
if: matrix.os == 'ubuntu-latest'

- name: install dependencies
run: yarn install --frozen-lockfile

- name: build Colorpicker Nightly
run: npm run release
env:
APP_ENVIRONNEMENT: production

- name: create artifacts folder
run: mkdir artifacts

- name: move Linux build artifacts
run: mv release/*.deb release/*.AppImage release/*.freebsd release/*.tar.gz ./artifacts
if: matrix.os == 'ubuntu-latest'

- name: move Macos build artifacts
run: mv release/*.dmg ./artifacts
if: matrix.os == 'macos-latest'

- name: move Windows build artifacts
run: move release\*.exe, release\*.msi -Destination artifacts
if: matrix.os == 'windows-latest'

- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.os }}
path: artifacts
56 changes: 56 additions & 0 deletions .github/workflows/master.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: Colorpicker

on:
pull_request:
branches:
- dev
types: [closed]

jobs:
build:
if: github.event.pull_request.merged == true
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16

- name: apt-get update on Ubuntu
run: sudo apt-get update
if: matrix.os == 'ubuntu-latest'

- name: install dependencies
run: yarn install --frozen-lockfile

- name: build Colorpicker Nightly
run: npm run release
env:
APP_ENVIRONNEMENT: production
BUILD_RELEASE: true

- name: create artifacts folder
run: mkdir artifacts

- name: move Linux build artifacts
run: mv release/*.deb release/*.AppImage release/*.freebsd release/*.tar.gz ./artifacts
if: matrix.os == 'ubuntu-latest'

- name: move Macos build artifacts
run: mv release/*.dmg ./artifacts
if: matrix.os == 'macos-latest'

- name: move Windows build artifacts
run: move release\*.exe, release\*.msi -Destination artifacts
if: matrix.os == 'windows-latest'

- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.os }}
path: artifacts
40 changes: 40 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Run tests

on: [pull_request]

jobs:
test:
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16

- name: apt-get update on Ubuntu
run: sudo apt-get update
if: matrix.os == 'ubuntu-latest'

- name: install dependencies
run: yarn install --frozen-lockfile
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1

- name: install playwright
run: yarn playwright install --with-deps chromium

- name: linting
run: yarn lint

- name: run tests on linux
run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- yarn test
if: matrix.os == 'ubuntu-latest'

- name: run tests
run: yarn test
if: matrix.os != 'ubuntu-latest'
95 changes: 90 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,92 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock
.DS_Store

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache

# next.js build output
.next

# nuxt.js build output
.nuxt

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# Webpack
.webpack/

# Vite
.vite/

# Electron-Forge
out/
parts/
stage/
prime/
snap/.snapcraft
*.snap
6 changes: 0 additions & 6 deletions .npmrc

This file was deleted.

1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v24.11.0
8 changes: 8 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"printWidth": 100,
"singleQuote": true,
"tabWidth": 2,
"semi": false,
"endOfLine": "lf",
"trailingComma": "all"
}
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"i18n-ally.localesPaths": ["src/assets/locales"]
}
Loading