Skip to content

Commit e974d00

Browse files
AhmedAmineZrB3nz01dboosted-botAhmed Amine Zribinouha06
authored
Release v1.2.0 (#676)
Release v1.2.0 (#676) Version v1.2.0 (#676) Release of version v1.2.0 See below the full CHANGELOG details. --------- ### Added - [DemoApp][Library] Create component - `Toolbar top` ([#582](#582)) - [DemoApp][Library] Create component - `Top app bar` ([#91](#91)) - [Tool] Add in README OpenSSF scorecard ([#632](#632)) - [DemoApp] Improve theme selections and tuning ([#356](#356)) - [DemoApp][Library] Add french Language ([#638](#638)) - [DemoApp][Library] Update the components definitions where relevant ([#549](#549)) - [Library] Manage Helvetica Neue Arabic font ([#404](#404)) ### Changed - [DemoApp][Library] Downgrade to Flutter SDK 3.35 and update documentation ([#656](#656)) - [DemoApp] Unused dependency detected in Flutter demo app ([#646](#646)) - [DemoApp][Library] Remove OudsTagConfig and add rounded corner into `Tag` ([#598](#598)) - [DemoApp][Library] Update uses icons of status in `badge` and `tag` ([#597](#597)) ### Fixed - [DemoApp] `About` Text Overflow Issue in Arabic language ([#640](#640)) - [Library] `Checkbox` Incorrect accessibility label ([#514](#514)) - [Library] `Input Tag` The whole component should have the role button ([#481](#481)) --------- Signed-off-by: Ahmed Amine Zribi <ahmedamine.zribi@sofrecom> Signed-off-by: Nouha Hammami < nouha.hammami@sofrecom.com > Co-authored-by: Benoit SUZANNE <benoit.suzanne@orange.com> Co-authored-by: OUDS Bot [bot] <130566815+boosted-bot@users.noreply.github.com> Co-authored-by: boosted-bot <boosted-bot@users.noreply.github.com> Co-authored-by: Ahmed Amine Zribi <ahmedamine.zribi@sofrecom> Co-authored-by: Nouha Hammami <nouha.hammami@sofrecom.com>
1 parent 1a12f9a commit e974d00

196 files changed

Lines changed: 10016 additions & 1902 deletions

File tree

Some content is hidden

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

.github/CODEOWNERS.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# CODEOWNERS file for OUDS Android
2+
#
3+
# This file defines code owners for the repository.
4+
# Code owners are automatically requested for review when someone opens a pull request
5+
# that modifies code that they own.
6+
#
7+
# More info: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
8+
9+
# Default owners for everything in the repo
10+
* @nouha06 @AhmedAmineZr

.github/CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ representative at an online or offline event.
6060

6161
Instances of abusive, harassing, or otherwise unacceptable behavior may be
6262
reported to the community leaders responsible for enforcement at
63-
julien.deramond@orange.com.
63+
julien.deramond@orange.com and opensource.contact@orange.com.
6464
All complaints will be reviewed and investigated promptly and fairly.
6565

6666
All community leaders are obligated to respect the privacy and security of the

.github/DEVELOP.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
- [Technical Preconditions](#technical-preconditions)
44
* [Dependency Management](#dependency-management)
55
* [Generation of Localization Files in the app and ouds_core Folders](#generation-of-localization-files-in-the-app-and-ouds_core-folders)
6+
- [Running Tests](#running-tests)
7+
* [Test Suites](#test-suites)
8+
* [Run All Tests](#run-all-tests)
9+
* [Run Tests for a Specific Package](#run-tests-for-a-specific-package)
10+
* [Automated CI Tests](#automated-ci-tests)
611
- [Commits, Changelog, Release Notes, Versioning](#commits-changelog-release-notes-versioning)
712
* [Commit Guidelines](#commit-guidelines)
813
* [Release Notes and Changelog](#release-notes-and-changelog)
@@ -35,6 +40,58 @@ You need to run this command because it generates the necessary localization fil
3540
flutter gen-l10n
3641
```
3742

43+
## Running Tests
44+
45+
The project uses [`flutter_test`](https://api.flutter.dev/flutter/flutter_test/flutter_test-library.html), the official Flutter testing framework (FLOSS, Apache 2.0 license), as its automated test suite.
46+
47+
### Test Suites
48+
49+
Tests are located in each package's `test/` directory:
50+
51+
| Package | Test file |
52+
|---|---|
53+
| `app` | `app/test/widget_test.dart` |
54+
| `ouds_core` | `ouds_core/test/ouds_core_test.dart` |
55+
| `ouds_global_raw_tokens` | `ouds_global_raw_tokens/test/ouds_global_raw_tokens_test.dart` |
56+
| `ouds_theme_contract` | `ouds_theme_contract/test/ouds_theme_contract_test.dart` |
57+
| `ouds_theme_orange` | `ouds_theme_orange/test/ouds_theme_orange_test.dart` |
58+
| `ouds_theme_sosh` | `ouds_theme_sosh/test/ouds_theme_sosh_test.dart` |
59+
| `ouds_theme_wireframe` | `ouds_theme_wireframe/test/ouds_theme_wireframe_test.dart` |
60+
61+
### Run All Tests
62+
63+
From the root of the repository, run the following commands to execute tests for each package:
64+
65+
```bash
66+
cd app && flutter test && cd ..
67+
cd ouds_core && flutter test && cd ..
68+
cd ouds_global_raw_tokens && flutter test && cd ..
69+
cd ouds_theme_contract && flutter test && cd ..
70+
cd ouds_theme_orange && flutter test && cd ..
71+
cd ouds_theme_sosh && flutter test && cd ..
72+
cd ouds_theme_wireframe && flutter test && cd ..
73+
```
74+
75+
### Run Tests for a Specific Package
76+
77+
```bash
78+
cd <package_name>
79+
flutter test
80+
```
81+
82+
For example, to run only the `ouds_core` tests:
83+
84+
```bash
85+
cd ouds_core
86+
flutter test
87+
```
88+
89+
### Automated CI Tests
90+
91+
Tests are automatically executed on every push and pull request to `main` and `develop` branches via the GitHub Actions workflow defined in [`.github/workflows/build.yml`](./workflows/build.yml).
92+
93+
The CI pipeline runs all test suites before any build step, ensuring no broken code is merged.
94+
3895
## Commits, Changelog, Release Notes, Versioning
3996

4097
### Commit Guidelines

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Report a bug
22
description: Tell us about a bug or issue you may have identified in OUDS Flutter.
33
title: "[Bug]: Bug Summary"
44
labels: ["🐞 bug", "🔍 triage"]
5-
assignees: ["Tayebsed93", "nouha06", "AhmedAmineZr"]
5+
assignees: ["nouha06", "AhmedAmineZr"]
66
body:
77
- type: checkboxes
88
attributes:
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Component update
2+
description: Propose a change for a specific component
3+
labels: [ "⚛️ component", "🧰 library", "🔍 triage" ]
4+
assignees: ["nouha06", "AhmedAmineZr"]
5+
projects: [ "⚛️ [OUDS] Project" ]
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
Thanks for helping us improve OUDS Android!
11+
- type: checkboxes
12+
attributes:
13+
label: Prerequisites
14+
description: Take a couple minutes to help our maintainers work faster.
15+
options:
16+
- label: I have [searched the backlog](https://github.com/Orange-OpenSource/ouds-android/issues) for duplicate or closed issues.
17+
required: true
18+
- type: textarea
19+
id: description
20+
attributes:
21+
label: Description
22+
description: Describe your need in details
23+
validations:
24+
required: true
25+
- type: textarea
26+
id: motivation_context
27+
attributes:
28+
label: Motivation & context
29+
description: Why is this change required? What problem does it solve?
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Demo app update
2+
description: Propose a change in the Design Toolbox application
3+
labels: [ "📱 demo app", "🔍 triage" ]
4+
assignees: ["nouha06", "AhmedAmineZr"]
5+
projects: [ "⚛️ [OUDS] Project" ]
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
Thanks for helping us improve the Design Toolbox demo app!
11+
- type: checkboxes
12+
attributes:
13+
label: Prerequisites
14+
description: Take a couple minutes to help our maintainers work faster.
15+
options:
16+
- label: I have [searched the backlog](https://github.com/Orange-OpenSource/ouds-android/issues) for duplicate or closed issues.
17+
required: true
18+
- type: textarea
19+
id: description
20+
attributes:
21+
label: Description
22+
description: Describe your need in details. Which screens? Which tokens, components or modules?
23+
validations:
24+
required: true

.github/ISSUE_TEMPLATE/documentation-update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Documentation Update
22
description: Describe this issue found in the documentation
33
title: "[Doc]: "
44
labels: ["📖 documentation", "🔍 triage"]
5-
assignees: ["Tayebsed93", "nouha06", "AhmedAmineZr"]
5+
assignees: ["nouha06", "AhmedAmineZr"]
66
body:
77
- type: markdown
88
attributes:

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Feature Request
22
description: Suggest a new Epic to be added to the backlog.
33
title: "[feature]: "
44
labels: ["🗳️ feature", "🔍 triage"]
5-
assignees: ["Tayebsed93", "nouha06", "AhmedAmineZr"]
5+
assignees: ["nouha06", "AhmedAmineZr"]
66
body:
77
- type: checkboxes
88
attributes:

.github/MAINTAINERS.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ This document contains a list of maintainers in this repo. If you're interested
1212

1313
| Maintainer | GitHub ID | Email | Affiliation |
1414
| -------------------- | ----------- | ------------------------------------ | -------------- |
15-
| Tayeb SEDRAIA | Tayebsed93 | tayeb.sedraia@orange.com | OAB SA |
1615
| Ahmed Amine ZRIBI | AhmedAmineZr | ahmedamine.zribi@sofrecom.com | SOFRECOM |
1716
| HAMMAMI Nouha | nouha06 | nouha.hammami@sofrecom.com | SOFRECOM |
1817

.github/SECURITY.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
# Security Policy
22

3-
# Reporting Security Issues
3+
## Reporting Security Issues
44

55
We appreciate your efforts to responsibly disclose your findings, and will make every effort to acknowledge your contributions.
6-
Send an e-mail to [opensource.contact@orange.com](mailto:opensource.contact@orange.com) to report a vulnerability and contact all people in CONTRIBUTORS and MAINTAINERS including the word "SECURITY" in the subject line.
6+
To report a vulnerability, send an e-mail to **both**:
7+
- [opensource.contact@orange.com](mailto:opensource.contact@orange.com)
8+
- and [cert.cc@orange.com](mailto:cert.cc@orange.com)
9+
- and all people in MAINTAINERS including the word "SECURITY" in the subject line
710

811
Please allow our team sufficient time to resolve the vulnerability before disclosing it ; we'll remain in contact about the fix and may ask for your assistance to verify it is resolved.
912

0 commit comments

Comments
 (0)