-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: import project to public repository (#1)
Co-authored-by: Jacques Lebourgeois <[email protected]>
- Loading branch information
1 parent
b42782f
commit fd24ecb
Showing
164 changed files
with
65,220 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
name: Report a bug | ||
description: Tell us about a bug or issue you may have identified in ODS Charts. | ||
title: "Provide a general summary of the issue" | ||
labels: [bug] | ||
assignees: "-" | ||
body: | ||
- type: checkboxes | ||
attributes: | ||
label: Prerequisites | ||
description: Take a couple minutes to help our maintainers work faster. | ||
options: | ||
- label: I have [searched](https://github.com/Orange-OpenSource/ods-charts/issues?utf8=%E2%9C%93&q=is%3Aissue) for duplicate or closed issues | ||
required: true | ||
- label: I have [validated](https://html5.validator.nu/) any HTML to avoid common problems | ||
required: true | ||
- label: I have read the [contributing guidelines](https://github.com/Orange-OpenSource/ods-charts/blob/main/CONTRIBUTING.md) | ||
required: true | ||
- type: textarea | ||
id: what-happened | ||
attributes: | ||
label: Describe the issue | ||
description: Provide a summary of the issue and what you expected to happen, including specific steps to reproduce. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: reduced-test-case | ||
attributes: | ||
label: Reduced test cases | ||
description: Include links [reduced test case](https://css-tricks.com/reduced-test-cases/) links or suggested fixes using [CodePen](https://codepen.io/). | ||
validations: | ||
required: true | ||
- type: dropdown | ||
id: os | ||
attributes: | ||
label: What operating system(s) are you seeing the problem on? | ||
multiple: true | ||
options: | ||
- Windows | ||
- macOS | ||
- Android | ||
- iOS | ||
- Linux | ||
validations: | ||
required: true | ||
- type: dropdown | ||
id: browser | ||
attributes: | ||
label: What browser(s) are you seeing the problem on? | ||
multiple: true | ||
options: | ||
- Chrome | ||
- Safari | ||
- Firefox | ||
- Microsoft Edge | ||
- Opera | ||
- type: input | ||
id: version | ||
attributes: | ||
label: What version of ODS Charts are you using? | ||
placeholder: "e.g., v1.0.0" | ||
validations: | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
contact_links: | ||
- name: Ask the community | ||
url: https://github.com/Orange-OpenSource/ods-charts/discussions/new | ||
about: Ask and discuss questions with other ODS Charts community members. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Feature request | ||
description: Suggest new or updated features to include in ODS Charts. | ||
title: "Suggest a new feature" | ||
labels: [feature] | ||
assignees: [] | ||
body: | ||
- type: checkboxes | ||
attributes: | ||
label: Prerequisites | ||
description: Take a couple minutes to help our maintainers work faster. | ||
options: | ||
- label: I have [searched](https://github.com/Orange-OpenSource/ods-charts/issues?utf8=%E2%9C%93&q=is%3Aissue) for duplicate or closed feature requests | ||
required: true | ||
- label: I have read the [contributing guidelines](https://github.com/Orange-OpenSource/ods-charts/blob/main/CONTRIBUTING.md) | ||
required: true | ||
- type: textarea | ||
id: proposal | ||
attributes: | ||
label: Proposal | ||
description: Provide detailed information for what we should add, including relevant links to prior art, screenshots, or live demos whenever possible. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: motivation | ||
attributes: | ||
label: Motivation and context | ||
description: Tell us why this change is needed or helpful, and what problems it may help solve. | ||
validations: | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
_Note: Please transform `- [ ]` into `- (NA)` in the description when things are not applicable_ | ||
|
||
### Related issues | ||
|
||
<!-- Please link any related issues here. --> | ||
|
||
### Description | ||
|
||
<!-- Describe your changes in detail --> | ||
|
||
### Motivation & Context | ||
|
||
<!-- Why is this change required? What problem does it solve? --> | ||
|
||
### Types of change | ||
|
||
<!-- What types of changes do your code introduce? --> | ||
<!-- Please remove the unused items in the list --> | ||
|
||
- Bug fix (non-breaking which fixes an issue) | ||
- New feature (non-breaking change which adds functionality) | ||
- Refactoring (non-breaking change) | ||
- Breaking change (fix or feature that would change existing functionality) | ||
|
||
### Test checklist | ||
|
||
Please check that the following tests projects are still working: | ||
|
||
- [ ] `docs/examples` | ||
- [ ] `test/angular` | ||
- [ ] `test/angular-tour-of-heroes` | ||
- [ ] `test/html` | ||
- [ ] `test/react` | ||
- [ ] `test/vue` | ||
- [ ] `test/examples/bar-line-chart` | ||
- [ ] `test/examples/single-line-chart` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/node_modules | ||
/dist | ||
ods-charts*.tgz | ||
/.vscode | ||
/docs/api |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
18.15.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
# Contributing to Orange Design System Charts | ||
|
||
Looking to contribute something to Orange Design System Charts? **Here's how you can help.** | ||
|
||
Please take a moment to review this document in order to make the contribution process easy for everyone involved. | ||
|
||
Following these guidelines helps to communicate that you respect the time of the developers managing and developing this Open Source project. In return, they should reciprocate that respect in addressing your issue or assessing patches and features. | ||
|
||
## Using the Issue Tracker | ||
|
||
The [issue tracker](https://github.com/Orange-OpenSource/ods-charts/issues) is the preferred channel for [bug reports](#bug-reports), [feature requests](#feature-requests) and [submitting pull requests](#pull-requests), but please respect the following restrictions: | ||
|
||
- Please **do not** use the issue tracker for personal support requests. [GitHub Discussions](https://github.com/Orange-OpenSource/ods-charts/discussions/categories/q-a) or our internal Orange communication tools are better places to get help. | ||
|
||
- Please **do not** derail or troll issues. Keep the discussion on topic and respect the opinions of others. | ||
|
||
- Please **do not** post comments consisting solely of "+1" or ":thumbsup:". Use [GitHub's "reactions" feature](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) instead. We reserve the right to delete comments which violate this rule. | ||
|
||
## Issues and Labels | ||
|
||
Our bug tracker utilizes several labels to help organize and identify issues. Here's what they represent and how we use them: | ||
|
||
- `feature` - Issues asking for a new feature to be added, or an existing one to be extended or modified. New features require a minor version bump (e.g., `v1.0.0` to `v1.1.0`). | ||
- `help wanted` - Issues we need or would love help from the community to resolve. | ||
|
||
For a complete look at our labels, see the [project labels page](https://github.com/Orange-OpenSource/ods-charts/labels). | ||
|
||
## Bug Reports | ||
|
||
A bug is a _demonstrable problem_ that is caused by the code in the repository. Good bug reports are extremely helpful, so thanks! | ||
|
||
Guidelines for bug reports: | ||
|
||
1. **Use the GitHub issue search** — check if the issue has already been reported. | ||
|
||
2. **Check if the issue has been fixed** — try to reproduce it using the latest `main` in the repository. | ||
|
||
3. **Isolate the problem** — ideally create a reduced reproducible test case. | ||
|
||
A good bug report shouldn't leave others needing to chase you up for more information. Please try to be as detailed as possible in your report. What is your environment? What steps will reproduce the issue? What device(s) and OS experience the problem? Do other devices show the bug differently? What would you expect to be the outcome? All these details will help people to fix any potential bugs. | ||
|
||
Example: | ||
|
||
> Short and descriptive example bug report title | ||
> | ||
> A summary of the issue and the browser/OS environment in which it occurs. If | ||
> suitable, include the steps required to reproduce the bug. | ||
> | ||
> 1. This is the first step | ||
> 2. This is the second step | ||
> 3. Further steps, etc. | ||
> | ||
> `<url>` - a link to the reduced test case | ||
> | ||
> Any other information you want to share that is relevant to the issue being | ||
> reported. This might include the lines of code that you have identified as | ||
> causing the bug, and potential solutions (and your opinions on their | ||
> merits). | ||
## Feature Requests | ||
|
||
Feature requests are welcome. But take a moment to find out whether your idea fits with the scope and aims of the project. It's up to _you_ to make a strong case to convince the project's developers of the merits of this feature. Please provide as much detail and context as possible. | ||
|
||
## Pull requests | ||
|
||
Good pull requests—patches, improvements, new features—are a fantastic help. They should remain focused in scope and avoid containing unrelated commits. | ||
|
||
**Please ask first** before embarking on any **significant** pull request (e.g. implementing features, refactoring code, porting to a different language), otherwise you risk spending a lot of time working on something that the project's developers might not want to merge into the project. For trivial things, or things that don't require a lot of your time, you can go ahead and make a PR. | ||
|
||
Please adhere to the [coding guidelines](#code-guidelines) used throughout the project (indentation, accurate comments, etc.) and any other requirements (such as test coverage). | ||
|
||
Adhering to the following process is the best way to get your work included in the project: | ||
|
||
1. [Fork](https://help.github.com/articles/fork-a-repo/) the project, clone your fork, and configure the remotes: | ||
|
||
```bash | ||
# Clone your fork of the repo into the current directory | ||
git clone https://github.com/<your-username>/ods-charts.git | ||
# Navigate to the newly cloned directory | ||
cd ods-charts | ||
# Assign the original repo to a remote called "upstream" | ||
git remote add upstream https://github.com/Orange-OpenSource/ods-charts.git | ||
``` | ||
|
||
2. If you cloned a while ago, get the latest changes from upstream: | ||
|
||
```bash | ||
git checkout main | ||
git pull upstream main | ||
``` | ||
|
||
3. Create a new topic branch (off the main project development branch) to contain your feature, change, or fix: | ||
|
||
```bash | ||
git checkout -b <topic-branch-name> | ||
``` | ||
|
||
4. Commit your changes in logical chunks. Use Git's [interactive rebase](https://help.github.com/articles/about-git-rebase/) feature to tidy up your commits before making them public. | ||
|
||
5. Locally merge (or rebase) the upstream development branch into your topic branch: | ||
|
||
```bash | ||
git pull [--rebase] upstream main | ||
``` | ||
|
||
6. Push your topic branch up to your fork: | ||
|
||
```bash | ||
git push origin <topic-branch-name> | ||
``` | ||
|
||
7. [Open a Pull Request](https://help.github.com/articles/about-pull-requests/) with a clear title and description against the `main` branch. | ||
|
||
**IMPORTANT**: By submitting a patch, you agree to allow the project owners to license your work under the terms of the [MIT License](LICENSE). | ||
|
||
## Code Guidelines | ||
|
||
### Checking Coding Style | ||
|
||
Format your code before committing to ensure your changes follow our coding standards. | ||
|
||
## License | ||
|
||
By contributing your code, you agree to license your contribution under the [MIT License](LICENSE). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Developer guide | ||
|
||
## Build the library | ||
|
||
Build the library: | ||
|
||
```bash | ||
npm i | ||
npm run build | ||
|
||
``` | ||
|
||
Build the documentation: | ||
|
||
```bash | ||
npm run typedoc | ||
``` | ||
|
||
Then launch a local server: | ||
|
||
```bash | ||
npm run serve | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2023 Orange | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
The following parts are proprietary information of Orange. | ||
You shall not use or display any trade names, trademarks, service marks, products names, illustrations or designs used within the software | ||
or displayed on this website and owned by Orange SA and its subsidiaries, | ||
in whole or part of, in any medium, except as required for reasonable and customary use in describing the origin of the software | ||
and reproducing the content of the NOTICE and DOCUMENTATION files. | ||
Any use or displaying shall constitute an infringement under intellectual property laws of France and international conventions. | ||
|
||
docs/images/ods-bar-charts.png | ||
docs/images/ods-double-line-charts.png | ||
docs/images/ods-line-charts.png | ||
docs/images/ods-mixed-charts.png | ||
docs/images/ods-stacked-bar-charts.png | ||
docs/images/orange-logo.svg | ||
|
||
End of the parts list under Orange SA Copyright |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,45 @@ | ||
# ods-charts | ||
<h1 align="center">Orange Design System Charts</h1> | ||
|
||
<p align="center"> | ||
ODS Charts provides Orange Charts components to developers. | ||
<br> | ||
<br> | ||
<a href="https://github.com/Orange-OpenSource/ods-charts/issues/new?assignees=-&labels=bug&template=bug_report.yml">Report bug</a> | ||
· | ||
<a href="https://github.com/Orange-OpenSource/ods-charts/issues/new?assignees=&labels=feature&template=feature_request.yml">Request feature</a> | ||
</p> | ||
|
||
## Table of contents | ||
|
||
- [Quick start](#quick-start) | ||
- [Bugs and feature requests](#bugs-and-feature-requests) | ||
- [Contributing](#contributing) | ||
- [Versioning](#versioning) | ||
- [Copyright and license](#copyright-and-license) | ||
|
||
## Quick start | ||
|
||
Several quick start options are available: | ||
|
||
- Clone the repo: `git clone https://github.com/Orange-OpenSource/ods-charts.git` | ||
- Install with [npm](https://www.npmjs.com/): `npm install ods-charts` | ||
|
||
## Bugs and feature requests | ||
|
||
Have a bug or a feature request? Please first read the [issue guidelines](https://github.com/Orange-OpenSource/ods-charts/blob/main/CONTRIBUTING.md#using-the-issue-tracker) and search for existing and closed issues. If your problem or idea is not addressed yet, [please open a new issue](https://github.com/Orange-OpenSource/ods-charts/issues/new/choose). | ||
|
||
## Contributing | ||
|
||
Please read through our [contributing guidelines](https://github.com/Orange-OpenSource/ods-charts/blob/main/CONTRIBUTING.md). Included are directions for opening issues, coding standards, and notes on development. | ||
|
||
Please refer to the [developer guide](https://github.com/Orange-OpenSource/ods-charts/blob/main/DEVELOP.md) for information on how to build the library. | ||
|
||
## Versioning | ||
|
||
For transparency into our release cycle and in striving to maintain backward compatibility, ODS Charts is maintained under [the Semantic Versioning guidelines](https://semver.org/). Sometimes we screw up, but we adhere to those rules whenever possible. | ||
|
||
See [the Releases section of our GitHub project](https://github.com/Orange-OpenSource/ods-charts/releases) for changelogs for each release version of ODS Charts. | ||
|
||
## Copyright and license | ||
|
||
Code released under the MIT License. |
Oops, something went wrong.