Skip to content

Commit 8eb9a85

Browse files
authored
Merge pull request #8 from lokesh-coder/develop
feat: improve performance, add pattern/image setter, manage blobs, and dark theme
2 parents 4c3a303 + eeff8e3 commit 8eb9a85

File tree

131 files changed

+12282
-6896
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

131 files changed

+12282
-6896
lines changed

.babelrc

Lines changed: 0 additions & 14 deletions
This file was deleted.

.eslintrc.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,17 @@ module.exports = {
33
browser: true,
44
es6: true,
55
},
6-
extends: [
7-
'plugin:react/recommended',
8-
'airbnb',
9-
],
6+
extends: ['plugin:react/recommended', 'airbnb', 'react-app'],
107
settings: {
11-
"import/resolver": {
8+
'import/resolver': {
129
node: {
13-
extensions: ['.js', '.jsx', '.scss', '.css'],
14-
moduleDirectory: ['node_modules', 'src/'],
10+
extensions: ['.js', '.jsx', '.scss', '.css'],
11+
moduleDirectory: ['node_modules', 'src/'],
1512
},
1613
},
1714
},
1815
globals: {
16+
__PATH_PREFIX__: true,
1917
Atomics: 'readonly',
2018
SharedArrayBuffer: 'readonly',
2119
},
@@ -26,9 +24,11 @@ module.exports = {
2624
ecmaVersion: 2018,
2725
sourceType: 'module',
2826
},
29-
plugins: [
30-
'react',
31-
],
27+
plugins: ['react'],
3228
rules: {
29+
'react/jsx-filename-extension': [1, { extensions: ['.js', '.jsx'] }],
30+
'react/prop-types': [0],
31+
'react/jsx-props-no-spreading': [0],
32+
'object-curly-newline': 'off',
3333
},
3434
};

.gitattributes

Lines changed: 0 additions & 2 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ about: Create a report to help us improve
44
title: ''
55
labels: ''
66
assignees: ''
7-
87
---
98

109
**Describe the bug**
1110
A clear and concise description of what the bug is.
1211

1312
**To Reproduce**
1413
Steps to reproduce the behavior:
14+
1515
1. Go to '...'
1616
2. Click on '....'
1717
3. Scroll down to '....'
@@ -24,15 +24,17 @@ A clear and concise description of what you expected to happen.
2424
If applicable, add screenshots to help explain your problem.
2525

2626
**Desktop (please complete the following information):**
27-
- OS: [e.g. iOS]
28-
- Browser [e.g. chrome, safari]
29-
- Version [e.g. 22]
27+
28+
- OS: [e.g. iOS]
29+
- Browser [e.g. chrome, safari]
30+
- Version [e.g. 22]
3031

3132
**Smartphone (please complete the following information):**
32-
- Device: [e.g. iPhone6]
33-
- OS: [e.g. iOS8.1]
34-
- Browser [e.g. stock browser, safari]
35-
- Version [e.g. 22]
33+
34+
- Device: [e.g. iPhone6]
35+
- OS: [e.g. iOS8.1]
36+
- Browser [e.g. stock browser, safari]
37+
- Version [e.g. 22]
3638

3739
**Additional context**
3840
Add any other context about the problem here.

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ about: Suggest an idea for this project
44
title: ''
55
labels: ''
66
assignees: ''
7-
87
---
98

109
**Is your feature request related to a problem? Please describe.**

.gitignore

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,74 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
8+
# Runtime data
9+
pids
10+
*.pid
11+
*.seed
12+
*.pid.lock
13+
14+
# Directory for instrumented libs generated by jscoverage/JSCover
15+
lib-cov
16+
17+
# Coverage directory used by tools like istanbul
18+
coverage
19+
20+
# nyc test coverage
21+
.nyc_output
22+
23+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
24+
.grunt
25+
26+
# Bower dependency directory (https://bower.io/)
27+
bower_components
28+
29+
# node-waf configuration
30+
.lock-wscript
31+
32+
# Compiled binary addons (http://nodejs.org/api/addons.html)
33+
build/Release
34+
35+
# Dependency directories
136
node_modules/
37+
jspm_packages/
38+
39+
# Typescript v1 declaration files
40+
typings/
41+
42+
# Optional npm cache directory
43+
.npm
44+
45+
# Optional eslint cache
46+
.eslintcache
47+
48+
# Optional REPL history
49+
.node_repl_history
50+
51+
# Output of 'npm pack'
52+
*.tgz
53+
54+
# dotenv environment variable files
55+
.env*
56+
57+
# gatsby files
58+
.cache/
59+
public
60+
61+
# Mac files
62+
.DS_Store
63+
64+
# Yarn
65+
yarn-error.log
66+
.pnp/
67+
.pnp.js
68+
# Yarn Integrity file
69+
.yarn-integrity
70+
71+
# app level
272
build/
373
.gitignore
474
coverage/

.prettierignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.cache
2+
package.json
3+
package-lock.json
4+
public

.prettierrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"singleQuote": true,
3+
"trailingComma": "all"
4+
}

.todo

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
2+
✔ add pwa support @done
3+
✔ darkmode @done
4+
✔ animation @done
5+
✔ save settings @done
6+
✘ shortcuts @cancelled
7+
✘ loop @cancelled
8+
✔ clip image @done
9+
✔ save blobs @done
10+
✔ view saved blobs @done
11+
✔ url id @done
12+
✘ reset settigs @cancelled
13+
✔ click logo to reoad to home @done
14+
✔ complexity change no animation @done
15+
✔ Sound from Zapsplat.com @done
16+
✔ resize images @done
17+
✔ add favicon @done
18+
✔ update seo @done
19+
✔ default image @done
20+
✔ image clip fix @done
21+
22+
23+
----
24+
25+
Features:
26+
✔ Dark theme @done
27+
✔ Faster initial load @done
28+
✔ Image clipping @done
29+
✔ Patterns view @done
30+
✔ Save and manage blobs locally @done
31+
✔ tiny sound @done
32+
✔ offline support @done
33+
✔ static url for sharing @done

CONTRIBUTING.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,27 @@ Run unit tests
1515

1616
```
1717
# run test cases
18-
npm run test
18+
npm run test
1919
2020
# watch mode
2121
2222
npm run test:watch
2323
```
2424

2525
### Linting
26+
2627
```
2728
npm run lint
2829
```
30+
2931
It's also a good idea to add an eslint plugin in your editor.
3032

3133
To fix lint errors from the command line:
34+
3235
```
3336
npm run lint
3437
```
3538

3639
## Submitting Pull Requests
40+
3741
This project follows [GitHub's standard forking model.](https://guides.github.com/activities/forking/). Please fork the project to submit pull requests.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy