Commit Graph

18 Commits

Author SHA1 Message Date
Benoit Marty eb31505dc7 Copyright: Add Element Creations Ltd. copyright 2025-11-10 11:05:05 +01:00
Benoit Marty f86431e663 Copyright: Add final period 2025-11-10 10:13:41 +01:00
Benoit Marty c4e0370f41 Copyright: run command uv run license-editor --repository ../element-x-android 2025-11-10 10:09:26 +01:00
Benoit Marty 97f3be3dc5 Apply dual licenses: AGPL + Element Commercial to file headers.
2 replace all actions have been performed:
- "SPDX-License-Identifier: AGPL-3.0-only" to "SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial"
- "Please see LICENSE in the repository root for full details." to "Please see LICENSE files in the repository root for full details."
2025-01-07 10:05:04 +01:00
Benoit Marty aa8132227f Add a check for screenshot name duplication. 2024-10-18 15:45:45 +02:00
Benoit Marty 526bebeddf Fix comment block on Python files 2024-09-06 17:21:51 +02:00
Benoit Marty f61df38e55 Migrate license to AGPL.
Run script `uv run license-editor --repository ../element-x-android`
2024-09-06 17:19:19 +02:00
Jorge Martin Espinosa b0cebf5ca0 Improve screenshot testing with ComposablePreviewScanner (#3125)
* Use ComposablePreviewScanner to rework how screenshot testing works
* Add test sharding
* Update screenshots
* Fixes for Element Gallery

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2024-07-03 13:05:06 +02:00
Benoit Marty 5150c77c7c Use today's date for new files. 2024-04-15 11:38:00 +02:00
Benoit Marty 89aa137226 Store day of modification instead of 1 in data.js 2024-04-12 12:04:59 +02:00
Benoit Marty 635843f860 Fix syntax warning. 2024-04-12 10:16:56 +02:00
Benoit Marty 628ccf5e84 Add the Dark version to the data.js file and render it in the webpage. 2024-03-08 12:07:26 +01:00
Benoit Marty d1e7bd257b Use full path, to be compatible both on localhost and on GitHub page. 2024-03-08 10:00:31 +01:00
Benoit Marty d10e43e3e1 Remove stopping the gradle daemon, also it was not done at the correct place. 2024-03-07 15:27:15 +01:00
Benoit Marty 09996a6ae3 Add a script to generate the screenshots for all the available languages.
Change the format of data.js generated file.
Add Fragment to the URL to limit the number of displayed languages.
Add a checkbox to display all screenshots or not.
2024-03-07 14:37:16 +01:00
Benoit Marty cc6aeb057e Add a script to check invalid screenshot(s). 2024-03-07 13:49:58 +01:00
Benoit Marty bc394c2e24 Simple Html page to view all the screenshots.
Do not delete the whole screenshots folder, but just delete per language when the screenshots are generated.

Generate the data.js file regarding the existing screenshots, to be able to add languages.
Also the language will be sorted alphabetically (English still first).
And the screenshot will be sorted alphabetically.

Update the script to generate screenshot for specific language on demand.
2024-03-01 15:10:18 +01:00
Benoit Marty 609abee809 Generate screenshots for foreign languages ("de" and "fr" for now). #2454 2024-02-28 14:30:34 +01:00