Skip to content

Commit 813d2d4

Browse files
committed
refactor: Started on the item screen
Also aligned repo with the others
1 parent f5cc074 commit 813d2d4

40 files changed

+1155
-1188
lines changed

.commitlintrc.js

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
module.exports = {
2+
extends: [
3+
'@commitlint/config-conventional',
4+
],
5+
6+
rules: {
7+
'subject-case': [
8+
2,
9+
'always',
10+
'sentence-case',
11+
],
12+
},
13+
}

.github/ISSUE_TEMPLATE.md

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
## Expected Behavior
2+
3+
4+
## Actual Behavior
5+
6+
7+
## Steps to Reproduce the Problem
8+
9+
1.
10+
1.
11+
1.
12+
13+
## Specifications
14+
15+
- Version:
16+
- Platform:
17+
- Subsystem:

.github/ISSUE_TEMPLATE/bug_report.md

-30
This file was deleted.

.github/ISSUE_TEMPLATE/feature_request.md

-17
This file was deleted.

.github/PULL_REQUEST_TEMPLATE.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Fixes #
2+
3+
## Proposed Changes
4+
5+
-
6+
-
7+
-

.github/home-bottom.png

-1.59 MB
Binary file not shown.

.github/home.png

-1.67 MB
Binary file not shown.

.github/movie.png

-872 KB
Binary file not shown.

.github/show.png

-735 KB
Binary file not shown.

.github/workflows/release.yml

-33
This file was deleted.

.huskyrc.js

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
hooks: {
3+
'commit-msg': 'commitlint -E HUSKY_GIT_PARAMS',
4+
},
5+
}

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Change log
2+
3+
All notable changes to this project will be documented in this file. See
4+
[standard-version](https://github.com/conventional-changelog/standard-version)
5+
for commit guidelines.

CODE_OF_CONDUCT.md

+51-23
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,74 @@
11
# Contributor Covenant Code of Conduct
22

3+
- [Our Pledge](#our-pledge)
4+
- [Our Standards](#our-standards)
5+
- [Our Responsibilities](#our-responsibilities)
6+
- [Scope](#scope)
7+
- [Enforcement](#enforcement)
8+
- [Attribution](#attribution)
9+
310
## Our Pledge
411

5-
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
12+
In the interest of fostering an open and welcoming environment, we as
13+
contributors and maintainers pledge to making participation in our project and
14+
our community a harassment-free experience for everyone, regardless of age,
15+
body size, disability, ethnicity, gender identity and expression, level of
16+
experience, nationality, personal appearance, race, religion, or sexual
17+
identity and orientation.
618

719
## Our Standards
820

9-
Examples of behavior that contributes to creating a positive environment include:
10-
11-
* Using welcoming and inclusive language
12-
* Being respectful of differing viewpoints and experiences
13-
* Gracefully accepting constructive criticism
14-
* Focusing on what is best for the community
15-
* Showing empathy towards other community members
21+
Examples of behavior that contributes to creating a positive environment
22+
include:
23+
- Using welcoming and inclusive language
24+
- Being respectful of differing viewpoints and experiences
25+
- Gracefully accepting constructive criticism
26+
- Focusing on what is best for the community
27+
- Showing empathy towards other community members
1628

1729
Examples of unacceptable behavior by participants include:
18-
19-
* The use of sexualized language or imagery and unwelcome sexual attention or advances
20-
* Trolling, insulting/derogatory comments, and personal or political attacks
21-
* Public or private harassment
22-
* Publishing others' private information, such as a physical or electronic address, without explicit permission
23-
* Other conduct which could reasonably be considered inappropriate in a professional setting
30+
- The use of sexualized language or imagery and unwelcome sexual attention or advances
31+
- Trolling, insulting/derogatory comments, and personal or political attacks
32+
- Public or private harassment
33+
- Publishing others' private information, such as a physical or electronic address, without explicit permission
34+
- Other conduct which could reasonably be considered inappropriate in a professional setting
2435

2536
## Our Responsibilities
2637

27-
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
38+
Project maintainers are responsible for clarifying the standards of acceptable
39+
behavior and are expected to take appropriate and fair corrective action in
40+
response to any instances of unacceptable behavior.
2841

29-
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
42+
Project maintainers have the right and responsibility to remove, edit, or
43+
reject comments, commits, code, wiki edits, issues, and other contributions
44+
that are not aligned to this Code of Conduct, or to ban temporarily or
45+
permanently any contributor for other behaviors that they deem inappropriate,
46+
threatening, offensive, or harmful.
3047

3148
## Scope
3249

33-
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
50+
This Code of Conduct applies both within project spaces and in public spaces
51+
when an individual is representing the project or its community. Examples of
52+
representing a project or community include using an official project e-mail
53+
address, posting via an official social media account, or acting as an
54+
appointed representative at an online or offline event. Representation of a
55+
project may be further defined and clarified by project maintainers.
3456

3557
## Enforcement
3658

37-
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [email protected]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
59+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
60+
reported by contacting the project team at `email` or in [Gitter](https://gitter.im/pct-org/Lobby). The
61+
project team will review and investigate all complaints, and will respond in a
62+
way that it deems appropriate to the circumstances. The project team is
63+
obligated to maintain confidentiality with regard to the reporter of an
64+
incident. Further details of specific enforcement policies may be posted
65+
separately.
3866

39-
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
67+
Project maintainers who do not follow or enforce the Code of Conduct in good
68+
faith may face temporary or permanent repercussions as determined by other
69+
members of the project's leadership.
4070

4171
## Attribution
4272

43-
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
44-
45-
[homepage]: http://contributor-covenant.org
46-
[version]: http://contributor-covenant.org/version/1/4/
73+
This Code of Conduct is adapted from the Contributor Covenant, version 1.4,
74+
available at http://contributor-covenant.org/version/1/4

CONTRIBUTING.md

+124
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
1+
# Contributing
2+
3+
So you're interested in giving us a hand? That's awesome! We've put together
4+
some brief guidelines that should help you get started quickly and easily.
5+
6+
There are lots and lots of ways to get involved, this document covers:
7+
- [Raising Issues](#raising-issues)
8+
- [Report A Bug](#report-a-bug)
9+
- [Feature Requests](#feature-requests)
10+
- [Pull Requests](#pull-requests)
11+
- [Commit Messages](#commit-messages)
12+
- [Styleguides](#styleguides)
13+
- [JavaScript Styleguide](#javascript-styleguide)
14+
- [Tests Styleguide](#tests-styleguide)
15+
- [Documentation Styleguide](#documentation-styleguide)
16+
- [Setting up for development](#setting-up-for-development)
17+
- [Yarn scripts](#yarn-scripts)
18+
- [Git hooks](#git-hooks)
19+
20+
## Raising Issues
21+
22+
If you're about to raise an issue because you think that you've found a problem
23+
with the application, or you'd like to make a request for a new feature in the
24+
codebase, or any other reason… please read this first.
25+
26+
The GitHub issue tracker is the preferred channel for
27+
[bug reports](#report-a-bug), [feature requests](#feature-requests), and
28+
[pull requests](#pull-requests) but respect the following restrictions:
29+
30+
* Please **do not** use the issue tracker for personal support requests.
31+
* Please **do not** derail or troll issues. Keep the discussion on topic and
32+
respect the opinions of others.
33+
34+
### Report A Bug
35+
36+
A bug is a _demonstrable problem_ that is caused by the code in the repository.
37+
Good bug reports are extremely helpful - thank you!
38+
39+
Guidelines for bug reports:
40+
1. **Use the [GitHub Issues search]** — check if the issue has already been
41+
reported.
42+
2. **Check if the issue has been fixed** — try to reproduce it using the
43+
latest `master` or look for [closed issues].
44+
3. **Include a screencast if relevant** - Is your issue about a design or front
45+
end feature or bug? The most helpful thing in the world is if we can *see* what
46+
you're talking about. Just drop the picture after writing your issue, it'll be
47+
uploaded and shown to the developers.
48+
3. Use the Issue tab on GitHub to start [creating a bug report].
49+
A good bug report shouldn't leave others needing to chase you up for more
50+
information. Be sure to include all the possible required details and the steps
51+
to take to reproduce the issue.
52+
53+
### Feature Requests
54+
55+
Feature requests are welcome. Before you submit one be sure to:
56+
1. **Use the [GitHub Issues search]** and check the feature hasn't already been requested.
57+
2. Take a moment to think about whether your idea fits with the scope and aims
58+
of the project, or if it might better fit being an app/plugin.
59+
3. Remember, it's up to *you* to make a strong case to convince the project's
60+
leaders of the merits of this feature. Please provide as much detail and
61+
context as possible, this means explaining the use case and why it is likely to
62+
be common.
63+
4. Clearly indicate whether this is a feature request for the application
64+
itself, or for packages like Providers, Metadatas, or other.
65+
66+
### Pull Requests
67+
68+
Pull requests are awesome. If you're looking to raise a PR for something which
69+
doesn't have an open issue, please think carefully about
70+
[raising an issue](#report-a-bug) which your PR can close, especially if you're
71+
fixing a bug. This makes it more likely that there will be enough information
72+
available for your PR to be properly tested and merged. To make sure your PR is
73+
accepted as quickly as possible, you should be sure to have read all the
74+
guidelines on:
75+
76+
* [Commit Messages](#commit-messages)
77+
78+
## Commit Messages
79+
80+
This project uses the [Conventional Commits](https://conventionalcommits.org/)
81+
convention. If you are not familiar with this convention please read about it
82+
first before creating a commit message or a PR.
83+
84+
### Documentation Styleguide
85+
86+
* Use [Markdown](https://daringfireball.net/projects/markdown).
87+
* Reference methods and classes in markdown with the custom `{}` notation:
88+
* Reference classes with `{ClassName}`
89+
* Reference instance methods with `{ClassName.methodName}`
90+
* Reference class methods with `{ClassName#methodName}`
91+
92+
## Setting up for development
93+
94+
Each repo has it's own _Setting up for development_, read that closely before creating new tickets.
95+
96+
### Yarn scripts
97+
98+
The following yarn scripts are available in all repo's in order to help you with the
99+
development of the project. See the README's of the projects for the project specific scripts.
100+
101+
```
102+
$ yarn build # Create production build of the project
103+
$ yarn coveralls # Upload code coverage to Coveralls
104+
$ yarn start:debug # Run the applicaiton in debug mode
105+
$ yarn start:dev # Run the applicaiton in development mode
106+
$ yarn lint # Check linting on the project
107+
$ yarn lint:fix # Fix liting on the project
108+
$ yarn test # Run unit tests of the project
109+
$ yarn test:watch # Run unit tests in watch mode
110+
```
111+
112+
### Git hooks
113+
114+
The following `git` hooks are available to ensure the changes you are about to
115+
make follow the [styleguides](#styleguides) and make sure your changes pass the
116+
tests.
117+
118+
```
119+
commit-msg # Checks commit messages
120+
```
121+
122+
[GitHub Issues search]: https://github.com/popcorn-official/popcorn-api/issues
123+
[closed issues]: https://github.com/pct-org/getting-started/issues?q=is%3Aissue+is%3Aclosed
124+
[creating a bug report]: https://github.com/pct-org/getting-started/issues/new

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2018 Tycho Bokdam
3+
Copyright (c) 2019 Popcorn Time
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)