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

Preact [WIP] #113

Merged
merged 50 commits into from
Apr 3, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
45dc2ec
Merge pull request #1 from workhorsy/preact
btzr-io Jul 23, 2017
dbea198
update welcome screen
btzr-io Mar 29, 2018
8ec3406
add template from index.html
btzr-io Mar 30, 2018
b6afbd4
implement basic redesign
btzr-io Mar 30, 2018
5cc6f46
add css vars
btzr-io Mar 30, 2018
6ac8c79
add file route / update styles
btzr-io Mar 30, 2018
e95dec1
fix file input
btzr-io Mar 30, 2018
274483b
minor fixes
btzr-io Mar 30, 2018
a452eb4
add drag-drop support for files
btzr-io Mar 31, 2018
90a1f96
fix drop zone
btzr-io Mar 31, 2018
7398949
add library route
btzr-io Mar 31, 2018
05f36d2
add emptyState component
btzr-io Mar 31, 2018
970c4b9
minor css fixes
btzr-io Mar 31, 2018
f12ed52
setup prettier
btzr-io Mar 31, 2018
d39f455
move test files
btzr-io Mar 31, 2018
987cbf7
remove unused files
btzr-io Mar 31, 2018
f57c503
fix pretty-quick / format code
btzr-io Mar 31, 2018
250771d
add settings route
btzr-io Mar 31, 2018
71671d0
add simple slider menu
btzr-io Mar 31, 2018
bf09174
update lib/js structure
btzr-io Mar 31, 2018
dc74e00
remove lib
btzr-io Mar 31, 2018
14b49cf
update utils
btzr-io Mar 31, 2018
7b0902a
update dependencies
btzr-io Apr 1, 2018
e72d023
update menu styles
btzr-io Apr 1, 2018
ede7322
update checkbox
btzr-io Apr 1, 2018
7cbf9d7
update settings styles
btzr-io Apr 1, 2018
be0cbd9
update template
btzr-io Apr 1, 2018
5bf26ef
disable unused options in settings
btzr-io Apr 1, 2018
6610249
test browser features
btzr-io Apr 1, 2018
08a1741
drop redux -> unistore
btzr-io Apr 1, 2018
f0b90d4
first attemp to connect settings
btzr-io Apr 1, 2018
c7b6551
test updated settings
btzr-io Apr 1, 2018
6b1b64e
store settings to localStorage
btzr-io Apr 1, 2018
0cfa88f
add all-contributors-cli
btzr-io Apr 1, 2018
ea05220
add / fix contributors section
btzr-io Apr 1, 2018
0615cf1
Update @btzr-io as a contributor
btzr-io Apr 1, 2018
679a16f
Update @workhorsy as a contributor
btzr-io Apr 1, 2018
273b5e4
Update @workhorsy as a contributor
btzr-io Apr 1, 2018
3b95cc2
Update @btzr-io as a contributor
btzr-io Apr 1, 2018
97d3b50
update readme.md
btzr-io Apr 1, 2018
87150e3
add contributors to package.json
btzr-io Apr 1, 2018
9611a1f
update footer copyright
btzr-io Apr 1, 2018
cac6801
rewrite settings
btzr-io Apr 2, 2018
4574672
add switch component
btzr-io Apr 2, 2018
90960c7
auto update settings
btzr-io Apr 2, 2018
499d974
update switch / checkbox styles
btzr-io Apr 2, 2018
542da63
add night mode #102
btzr-io Apr 2, 2018
4d2d517
make state immutable
btzr-io Apr 2, 2018
972b82c
improve theme updates
btzr-io Apr 2, 2018
82b8536
update styles / animations
btzr-io Apr 3, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
34 changes: 34 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"projectOwner": "workhorsy",
"projectName": "comic_book_reader",
"files": ["README.md"],
"imageSize": 100,
"commit": false,
"contributorsPerLine": 4,
"contributors": [
{
"login": "workhorsy",
"name": "Matthew Brennan Jones",
"avatar_url": "https://avatars3.githubusercontent.com/u/2733986?v=4",
"profile": "http://workhorsy.org",
"contributions": [
"code",
"translation",
"bug",
"question"
]
},
{
"login": "btzr-io",
"name": "Baltazar Gomez",
"avatar_url": "https://avatars1.githubusercontent.com/u/14793624?v=4",
"profile": "http://codepen.io/btzr-io",
"contributions": [
"design",
"platform",
"code"
]
}
],
"repoType": "github"
}
5 changes: 5 additions & 0 deletions .huskyrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"hooks": {
"pre-commit": "yarn pretty-quick --staged"
}
}
9 changes: 9 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
node_modules
bin
dist
test
build
/src/assets
/src/lib
*.lock
*.log
6 changes: 6 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"trailingComma": "es5",
"printWidth": 100,
"singleQuote": true,
"semi": false
}
File renamed without changes.
31 changes: 20 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,40 @@
http://comic-book-reader.com

Warning
===================
This branch is a port to Preact, and does not work yet!
> ### :warning: Warning
> This branch is a port to Preact, and does not work yet!

# Comic Book Reader

Comic Book Reader
===================
* Can read CBR, CBZ, CBT, and PDF files
* Runs in the browser as a JavaScript and HTML web page
* Works well on a touch device or desktop
* Saves opened comics in the browser
* Works when offline thanks to Service Workers.
* Regularly tested in Firefox, Chrome, and Internet Explorer

# Install Requirements
### Install Requirements

```bash
npm install
```

# Run for development
### Run for development

```bash
npm start
yarn dev
```


# Install git hooks to automatically generate src/lib/version_date.js file on commit
### Format code
```bash
./bin/install_hooks.sh
yarn format
```

## Contributors

This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification.

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore -->
| [<img src="https://avatars3.githubusercontent.com/u/2733986?v=4" width="100px;"/><br /><sub><b>Matthew Brennan Jones</b></sub>](http://workhorsy.org)<br />[💻](https://github.com/workhorsy/comic_book_reader/commits?author=workhorsy "Code") [🌍](#translation-workhorsy "Translation") [🐛](https://github.com/workhorsy/comic_book_reader/issues?q=author%3Aworkhorsy "Bug reports") [💬](#question-workhorsy "Answering Questions") | [<img src="https://avatars1.githubusercontent.com/u/14793624?v=4" width="100px;"/><br /><sub><b>Baltazar Gomez</b></sub>](http://codepen.io/btzr-io)<br />[🎨](#design-btzr-io "Design") [📦](#platform-btzr-io "Packaging/porting to new platform") [💻](https://github.com/workhorsy/comic_book_reader/commits?author=btzr-io "Code") |
| :---: | :---: |
<!-- ALL-CONTRIBUTORS-LIST:END -->
5 changes: 0 additions & 5 deletions bin/install_hooks.sh

This file was deleted.

4 changes: 0 additions & 4 deletions bin/pre-commit

This file was deleted.

Binary file removed favicon.ico
Binary file not shown.
169 changes: 0 additions & 169 deletions index.html

This file was deleted.

Binary file removed invalid_image.png
Binary file not shown.