Skip to content

Commit 921db77

Browse files
pylappludovic35boosted-bot
authored
Version 0.8.0 (#357)
Release of version 0.8.0 See bellow the full CHANGELOG details. Added: - [Library] New architecture with tokens provider ([#79](#79)) - [DemoApp] Prepare new architecture to add components illustration ([#328](#328)) Changed: - [Tool] Update `net-http` gem from 0.5.0 to 0.6.0 - [Tool] Update `SwiftLint` pod from v0.57.0 to v0.57.1 - [Tool] Update `SwiftFormat/CLI` pod from v0.54.6 to v0.55.3 - [Tool] Update `fastlane` gem from v2.225.0 to v2.226.0 - [Library] Update `FontSemanticTokens` (tokenator *20241213075501*) - [Library] Update `FontSemanticTokens` (tokenator *20241211115813*) - [Library] Update `FontRawTokens` (tokenator *20241211101443*) - [Tool] Migrate from `xcode_install` to `xcodes` in Fastfile, freeze Xcode version (16.0) - [Library] Rename `Typography*` tokens and elements to `Font*` ([#322](#322)) - [Library] Update `ColorSemanticTokens` (tokenator *20241204111709*) - [Library] Update `SpaceSemanticTokens` (tokenator *20241204110127*) - [Library] Rename `opacityTransparent` opacity semantic token to `opacityInvisible` - [Library] Update `OpacitySemanticTokens` and `OpacityRawTokens` tokens (tokenator *20241204110957*) - [Library] Update `OrangeBrandColorRawTokens` tokens (tokenator *20241204111119*) - [Library] Update `SizeSemanticTokens` tokens (tokenator *20241204110236*) - [Library] Rename any `sizeIcon**` size semantic tokens applying "T-shirt sizes" template - [Library] Update `ElevationSemanticTokens` and `ColorRawTokens` tokens (tokenator *20241204111249*) - [Library] Rename any `colorTransparent*` color semantic tokens to `colorOpacity*` - [DemoApp] Reactor UI test to use theme in environment ([#299](#299)) Removed: - [Library] Font raw tokens `fontFamilyBrandDefault`, `fontFamilyBrandTV`, `fontFamilySystemArial`, `fontFamilySystemHelvetica`, `fontFamilySystemNotoSans`, `fontFamilySystemSFPro`, `fontFamilySystemRoboto`, `fontFamilyMonospaceMonaco`, `fontFamilyMonospaceCourierNew`, `fontFamilySystemArial` - [Library] Space semantic tokens `*WithIcon*`, `*WithArrow*` - [Library] Elevation semantic tokens `elevationBlurOverlayDefault`, `elevationBlurOverlayEmphasized`, `elevationXOverlayDefault`, `elevationXOverlayEmphasized`, `elevationYOverlayDefault`, `elevationYOverlayEmphasized`, `elevationColorOverlayDefaultLight`, `elevationColorOverlayEmphasizedLight`, `elevationColorOverlayDefaultDark`, `elevationColorOverlayEmphasizedDark` Co-authored-by: Pierre-Yves Lapersonne <[email protected]> Co-authored-by: Ludovic Pinel <[email protected]> Co-authored-by: boosted-bot <[email protected]>
2 parents 7463f43 + 8c54611 commit 921db77

File tree

3,223 files changed

+20863
-19691
lines changed

Some content is hidden

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

3,223 files changed

+20863
-19691
lines changed

.github/AUTHORS.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010

1111
# Please keep the list sorted.
1212

13-
Orange
13+
Orange SA

.github/CODEOWNERS

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818

1919
/.github/ @pylapp
2020

21-
/OUDS/ @pylapp @ludovic35 @Tayebsed93
22-
/Showcase/ @pylapp @ludovic35 @Tayebsed93
21+
/OUDS/ @pylapp @ludovic35
22+
/Showcase/ @pylapp @ludovic35
2323

2424
/docs_release/ @pylapp @ludovic35
2525

@@ -33,7 +33,7 @@
3333

3434
.swiftlint.yml @pylapp @ludovic35
3535

36-
CHANGELOG.md @ludovic35 @pylapp @Tayebsed93
36+
CHANGELOG.md @ludovic35 @pylapp
3737

3838
Gemfile @pylapp @ludovic35
3939
Gemfile.lock @pylapp @ludovic35

.github/CONTRIBUTING.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ Please take a moment to review this document in order to make the contribution p
77
Following these guidelines helps to communicate that you respect the time of the developers managing and developing this Open Source project.
88
In return, they should reciprocate that respect in addressing your issue or assessing patches and features.
99

10+
You should also have a look on the wiki if you are looking for information about how the project is managed, the releases and tests done, and how to do some actions.
11+
[The wiki define the way to work anyone must agree](https://github.com/Orange-OpenSource/ouds-ios/wiki).
12+
[The Code of Conduct](https://github.com/Orange-OpenSource/ouds-ios/blob/develop/.github/CODE_OF_CONDUCT.md) defines how we should interact together.
13+
1014
## Using the Issue Tracker
1115

1216
The [issue tracker](https://github.com/Orange-OpenSource/ouds-ios/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:
@@ -112,7 +116,7 @@ Adhering to the following process is the best way to get your work included in t
112116

113117
7. [Open a Pull Request](https://help.github.com/articles/about-pull-requests/) with a clear title and description against the `develop` branch.
114118

115-
**IMPORTANT**: By submitting a patch, you agree to allow the project owners to license your work under the terms of the [MIT License](LICENSE).
119+
**IMPORTANT**: By submitting a patch, you agree to allow the project owners to license your work under the terms of the [MIT License](https://github.com/Orange-OpenSource/ouds-ios/blob/develop/LICENSE).
116120

117121
Note that a ruleset based [on task-list-completed tool](https://github.com/marketplace/task-list-completed) is applied on `develop` branch: if any prerequisites are not futfilled in the pull request ticket the merge won't be done.
118122

.github/DEVELOP.md

+15-2
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ brew install swiftlint
4949
# For SwiftFormat (at least 0.52.4)
5050
brew install swiftformat
5151
# or `brew reinstall swiftformat` to get updates if old version installed
52+
53+
# For xcodes (at least 1.5.0)
54+
brew install xcodesorg/made/xcodes
55+
# or `brew reinstall xcodesorg/made/xcodes` to get updates if old version installed
5256
```
5357

5458
Ensure you have the suitable _Ruby_ version. We recommend the use of [rbenv](https://github.com/rbenv/rbenv) to load the suitable version of ruby.
@@ -161,7 +165,7 @@ Any interface modifications require regenerating the illustrations using the too
161165
The snapshot tool fetched the reference image to compare it against the current screen and detected no differences, resulting in a success
162166
163167
5. Run the snapshot test (failure):
164-
- We will deliberately change the image by setting the `OpacityOpaque` token to `OpacityTransparent` in class `OpacityTokenPage.swift`
168+
- We will deliberately change the image by setting the `OpacityOpaque` token to `OpacityInvisible` in class `OpacityTokenPage.swift`
165169
166170
<img width="561" alt="IntentionalTokenModification" src="https://github.com/user-attachments/assets/1d138b7b-2998-40b7-bf39-d9a597ced6c0">
167171
- Test result failure :
@@ -300,6 +304,13 @@ chore(🤖): update `OpacityRawTokens` (tokenator generation 20241021134644) (#2
300304
```
301305

302306
i.e. precise the tokens updated, the *tokenator* generation timestamp and the pull request number.
307+
If you know what is the design kit revision, add it in the commit body, like:
308+
309+
```text
310+
chore(🤖): update `OpacityRawTokens` (tokenator generation 20241021134644) (#225)
311+
312+
Design kit token library V.24.12.18
313+
```
303314

304315
### About release note and changelog
305316

@@ -346,7 +357,7 @@ We use _SwiftLint_ in this project so as to be sure the source code follows defi
346357
You must run _SwiftLint_ in CLI or using _Xcode_ to be sure you don't keep and submit warnings.
347358
**In most of cases you must fix warnings, or explain why in your commtis and pull request comments you choose to disable them.**
348359

349-
Today, only in very few cases some SwiftLint warnings are disabled:
360+
Today, only in very few cases some _SwiftLint_ warnings are disabled at files level:
350361
- in tests classes
351362
- in files containing tokens which will be generated
352363

@@ -362,6 +373,8 @@ The warnings which can be disabled for test classes files and mocks files:
362373
- *line_length*: because of length of tokens names
363374
- *file_length*: because of the amount of tokens to test
364375
- *type_body_length*: because we can have a lot of tests to do
376+
- *function_body_length*: because we can have function with a lot of assertions
377+
- *force_try*: because we can need tod efine some configuration variable we are sure they work (like regxp)
365378
- *required_deinit*: because we do not need to manage init and deinit of test classe
366379
- *implicitly_unwrapped_optional*: because for declaration of themes to test we bang!
367380

.github/ISSUE_TEMPLATE/bug_report.yml

+1-1
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 iOS.
33
title: "[Bug] "
44
labels: ["🐞 bug", "🔍 triage"]
5-
assignees: ["ludovic35", "pylapp", "Tayebsed93"]
5+
assignees: ["ludovic35", "pylapp"]
66
body:
77
- type: checkboxes
88
attributes:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Component Update Request
2+
description: Please fill out the following details for your component update request.
3+
title: "[Component Update] "
4+
labels: ["⚛️ component", "🔍 triage"]
5+
assignees: ["ludovic35", "pylapp"]
6+
body:
7+
- type: textarea
8+
id: description
9+
attributes:
10+
label: Description
11+
description: Describe your need in details
12+
validations:
13+
required: true
14+
- type: textarea
15+
id: motivation_context
16+
attributes:
17+
label: Motivation & Context
18+
description: Why is this change required? What problem does it solve?
19+
- type: checkboxes
20+
attributes:
21+
label: Types of change
22+
description: Please fill the suitable items in the list
23+
options:
24+
- label: Add new component
25+
- label: Update existing component
26+
- type: checkboxes
27+
attributes:
28+
label: Checklist for Core Team
29+
description: Some points to check before any merge
30+
options:
31+
- label: Tokens have been updated
32+
- label: Documentations have been updated
33+
- label: Unit tests have been updated
34+
- label: UI tests have been updated
35+
- label: Demo app have been updated
36+
- label: Retrocompatibility has been checked, or broken API have been flagged as deprecated with a workaround
+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Demo App Update Request
2+
description: Please fill out the following details for your demo app update request.
3+
title: "[Demo App] "
4+
labels: ["📱 demo app", "🔍 triage"]
5+
assignees: ["ludovic35", "pylapp"]
6+
body:
7+
- type: textarea
8+
id: description
9+
attributes:
10+
label: Description
11+
description: Describe your need in details. Which screens? Which tokens, components or modules?
12+
validations:
13+
required: true
14+
- type: checkboxes
15+
attributes:
16+
label: Checklist for Core Team
17+
description: Some points to check before any merge
18+
options:
19+
- label: Tokens have been updated (if needed)
20+
- label: Documentations have been updated (if needed)
21+
- label: Unit tests have been updated and still pass
22+
- label: UI tests have been updated and still pass
23+
- label: Retrocompatibility has been checked, or broken API have been flagged as deprecated with a workaround

.github/ISSUE_TEMPLATE/documentation-update.yml

+1-1
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: ["ludovic35", "pylapp", "Tayebsed93"]
5+
assignees: ["ludovic35", "pylapp"]
66
body:
77
- type: markdown
88
attributes:

.github/ISSUE_TEMPLATE/feature_request.yml

+1-1
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: ["ludovic35", "pylapp", "Tayebsed93"]
5+
assignees: ["ludovic35", "pylapp"]
66
body:
77
- type: checkboxes
88
attributes:
+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Module Update Request
2+
description: Please fill out the following details for your module update request.
3+
title: "[Module Update] "
4+
labels: ["🎇 module", "🔍 triage"]
5+
assignees: ["ludovic35", "pylapp"]
6+
body:
7+
- type: textarea
8+
id: description
9+
attributes:
10+
label: Description
11+
description: Describe your need in details
12+
validations:
13+
required: true
14+
- type: textarea
15+
id: motivation_context
16+
attributes:
17+
label: Motivation & Context
18+
description: Why is this change required? What problem does it solve?
19+
- type: checkboxes
20+
attributes:
21+
label: Types of change
22+
description: Please fill the suitable items in the list
23+
options:
24+
- label: Add new module
25+
- label: Update existing module
26+
- type: checkboxes
27+
attributes:
28+
label: Checklist for Core Team
29+
description: Some points to check before any merge
30+
options:
31+
- label: Documentations have been updated
32+
- label: Tests have been updated if needed
33+
- label: Demo app has been updated if needed
34+
- label: Retrocompatibility has been checked, or broken API have been flagged as deprecated with a workaround

.github/ISSUE_TEMPLATE/token_update.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Token Update Request
22
description: Please fill out the following details for your token update request.
33
title: "[Token Update] "
44
labels: ["📀 token", "🔍 triage"]
5-
assignees: ["ludovic35", "pylapp", "Tayebsed93"]
5+
assignees: ["ludovic35", "pylapp"]
66
body:
77
- type: checkboxes
88
attributes:

.github/workflows/build-and-test.yml

+1
Original file line numberDiff line numberDiff line change
@@ -109,3 +109,4 @@ jobs:
109109
cd Showcase
110110
bundle exec pod install
111111
bundle exec fastlane test_ui
112+
continue-on-error: true # See https://github.com/Orange-OpenSource/ouds-ios/issues/305

CHANGELOG.md

+37-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,41 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [0.8.0](https://github.com/Orange-OpenSource/ouds-ios/compare/0.7.0...0.8.0) - 2024-12-18
8+
9+
### Added
10+
11+
- [Library] New architecture with tokens provider ([#79](https://github.com/Orange-OpenSource/ouds-ios/issues/79))
12+
- [DemoApp] Prepare new architecture to add components illustration ([#328](https://github.com/Orange-OpenSource/ouds-ios/issues/328))
13+
14+
### Changed
15+
16+
- [Tool] Update `net-http` gem from 0.5.0 to 0.6.0
17+
- [Tool] Update `SwiftLint` pod from v0.57.0 to v0.57.1
18+
- [Tool] Update `SwiftFormat/CLI` pod from v0.54.6 to v0.55.3
19+
- [Tool] Update `fastlane` gem from v2.225.0 to v2.226.0
20+
- [Library] Update `FontSemanticTokens` (tokenator *20241213075501*)
21+
- [Library] Update `FontSemanticTokens` (tokenator *20241211115813*)
22+
- [Library] Update `FontRawTokens` (tokenator *20241211101443*)
23+
- [Tool] Migrate from `xcode_install` to `xcodes` in Fastfile, freeze Xcode version (16.0)
24+
- [Library] Rename `Typography*` tokens and elements to `Font*` ([#322](https://github.com/Orange-OpenSource/ouds-ios/issues/322))
25+
- [Library] Update `ColorSemanticTokens` (tokenator *20241204111709*)
26+
- [Library] Update `SpaceSemanticTokens` (tokenator *20241204110127*)
27+
- [Library] Rename `opacityTransparent` opacity semantic token to `opacityInvisible`
28+
- [Library] Update `OpacitySemanticTokens` and `OpacityRawTokens` tokens (tokenator *20241204110957*)
29+
- [Library] Update `OrangeBrandColorRawTokens` tokens (tokenator *20241204111119*)
30+
- [Library] Update `SizeSemanticTokens` tokens (tokenator *20241204110236*)
31+
- [Library] Rename any `sizeIcon**` size semantic tokens applying "T-shirt sizes" template
32+
- [Library] Update `ElevationSemanticTokens` and `ColorRawTokens` tokens (tokenator *20241204111249*)
33+
- [Library] Rename any `colorTransparent*` color semantic tokens to `colorOpacity*`
34+
- [DemoApp] Reactor UI test to use theme in environment ([#299](https://github.com/Orange-OpenSource/ouds-ios/issues/299))
35+
36+
### Removed
37+
38+
- [Library] Font raw tokens `fontFamilyBrandDefault`, `fontFamilyBrandTV`, `fontFamilySystemArial`, `fontFamilySystemHelvetica`, `fontFamilySystemNotoSans`, `fontFamilySystemSFPro`, `fontFamilySystemRoboto`, `fontFamilyMonospaceMonaco`, `fontFamilyMonospaceCourierNew`, `fontFamilySystemArial`
39+
- [Library] Space semantic tokens `*WithIcon*`, `*WithArrow*`
40+
- [Library] Elevation semantic tokens `elevationBlurOverlayDefault`, `elevationBlurOverlayEmphasized`, `elevationXOverlayDefault`, `elevationXOverlayEmphasized`, `elevationYOverlayDefault`, `elevationYOverlayEmphasized`, `elevationColorOverlayDefaultLight`, `elevationColorOverlayEmphasizedLight`, `elevationColorOverlayDefaultDark`, `elevationColorOverlayEmphasizedDark`
41+
742
## [0.7.0](https://github.com/Orange-OpenSource/ouds-ios/compare/0.6.0...0.7.0) - 2024-11-29
843

944
### Added
@@ -15,9 +50,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1550

1651
### Changed
1752

53+
- [DemoApp] Update space tokens screen ([#275](https://github.com/Orange-OpenSource/ouds-ios/issues/275))
54+
- [Library] Update `BorderRawTokens` and `BorderSemanticTokens` tokens (tokenator *20241204110708*)
1855
- [Library] Update `GridSemanticTokens` tokens (tokenator *20241129080807*)
1956
- [Library] Types `GridExtraCompactSemanticToken`, `GridCompactSemanticToken` and `GridRegularSemanticToken` replaced by `GridSemanticToken` to make tokenator updates integration easier
20-
- [DemoApp] Update space tokens screen ([#275](https://github.com/Orange-OpenSource/ouds-ios/issues/275))
2157
- [Library] Update `GridRawTokens` tokens (tokenator *20241128161629*)
2258
- [DemoApp] Update color tokens screen
2359
- [Library] Update `ColorSemanticTokens` tokens (tokenator *20241127112301*)

Gemfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
source "https://rubygems.org"
1515

1616
gem 'cocoapods', '1.16.2'
17-
gem 'fastlane', '2.225.0'
17+
gem 'fastlane', '2.226.0'
1818
gem 'fastlane-plugin-changelog', '0.16.0'
1919
gem 'fastlane-plugin-mattermost', '1.3.2'
20-
gem 'json', '2.8.2'
21-
gem 'net-http', '0.5.0'
20+
gem 'json', '2.9.0'
21+
gem 'net-http', '0.6.0'
2222
gem 'xcode-install', '2.8.1'
2323

2424
plugins_path = File.join(File.dirname(__FILE__), 'Showcase/fastlane', 'Pluginfile')

Gemfile.lock

+10-10
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ GEM
128128
faraday_middleware (1.2.1)
129129
faraday (~> 1.0)
130130
fastimage (2.3.1)
131-
fastlane (2.225.0)
131+
fastlane (2.226.0)
132132
CFPropertyList (>= 2.3, < 4.0.0)
133133
addressable (>= 2.8, < 3.0.0)
134134
artifactory (~> 3.0)
@@ -168,7 +168,7 @@ GEM
168168
tty-spinner (>= 0.8.0, < 1.0.0)
169169
word_wrap (~> 1.0.0)
170170
xcodeproj (>= 1.13.0, < 2.0.0)
171-
xcpretty (~> 0.3.0)
171+
xcpretty (~> 0.4.0)
172172
xcpretty-travis-formatter (>= 0.0.3, < 2.0.0)
173173
fastlane-plugin-changelog (0.16.0)
174174
fastlane-plugin-mattermost (1.3.2)
@@ -231,7 +231,7 @@ GEM
231231
i18n (1.14.6)
232232
concurrent-ruby (~> 1.0)
233233
jmespath (1.6.2)
234-
json (2.8.2)
234+
json (2.9.0)
235235
jwt (2.9.3)
236236
base64
237237
logger (1.6.1)
@@ -244,7 +244,7 @@ GEM
244244
nanaimo (0.4.0)
245245
nap (1.1.0)
246246
naturally (2.2.1)
247-
net-http (0.5.0)
247+
net-http (0.6.0)
248248
uri
249249
netrc (0.11.0)
250250
nkf (0.2.0)
@@ -259,7 +259,7 @@ GEM
259259
uber (< 0.2.0)
260260
retriable (3.1.2)
261261
rexml (3.3.9)
262-
rouge (2.0.7)
262+
rouge (3.28.0)
263263
ruby-macho (2.5.1)
264264
ruby2_keywords (0.0.5)
265265
rubyzip (2.3.2)
@@ -300,8 +300,8 @@ GEM
300300
colored2 (~> 3.1)
301301
nanaimo (~> 0.4.0)
302302
rexml (>= 3.3.6, < 4.0)
303-
xcpretty (0.3.0)
304-
rouge (~> 2.0.7)
303+
xcpretty (0.4.0)
304+
rouge (~> 3.28.0)
305305
xcpretty-travis-formatter (1.0.1)
306306
xcpretty (~> 0.2, >= 0.0.7)
307307

@@ -320,11 +320,11 @@ PLATFORMS
320320

321321
DEPENDENCIES
322322
cocoapods (= 1.16.2)
323-
fastlane (= 2.225.0)
323+
fastlane (= 2.226.0)
324324
fastlane-plugin-changelog (= 0.16.0)
325325
fastlane-plugin-mattermost (= 1.3.2)
326-
json (= 2.8.2)
327-
net-http (= 0.5.0)
326+
json (= 2.9.0)
327+
net-http (= 0.6.0)
328328
xcode-install (= 2.8.1)
329329

330330
BUNDLED WITH

OUDS/Core/Components/README.md

-5
This file was deleted.

0 commit comments

Comments
 (0)