Commit Graph

17 Commits

Author SHA1 Message Date
Benoit Marty
e951d188fb Improve element gallery header (#6239)
* Improve header of Element Gallery.

* Add click to copy url to screenshot header and each screenshot row.
2026-02-23 17:58:47 +01:00
Benoit Marty
1292da2a72 Copyright: Add Element Creations Ltd. copyright 2025-11-10 11:05:05 +01:00
Benoit Marty
b748fcc631 Copyright: Add final period 2025-11-10 10:13:41 +01:00
Benoit Marty
0a0224b586 Copyright: run command uv run license-editor --repository ../element-x-android 2025-11-10 10:09:26 +01:00
Benoit Marty
05fc76822a 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
2b016227e9 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
950e502ca6 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
52a2cc2384 Hide the data picker form, let first check how it behaves in prod using the URL parameter only.
I believe this will not work in prod since the file are copied after the data.js is generated.
2024-04-15 11:31:41 +02:00
Benoit Marty
dfccdd465d Gh Page: ensure that a row always have the same amount of cells. 2024-04-15 11:29:47 +02:00
Benoit Marty
c39c010fad Add a line counter 2024-04-12 12:04:59 +02:00
Benoit Marty
b7cca53277 Store day of modification instead of 1 in data.js 2024-04-12 12:04:59 +02:00
Benoit Marty
c00b9c83f0 Add id to the table rows. 2024-03-13 17:40:08 +01:00
Benoit Marty
ad5b973778 Update URL parameter according to the form value, to let the user store permalinks. 2024-03-13 17:40:08 +01:00
Benoit Marty
c7fa94e58f 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
aebef7a60d Use full path, to be compatible both on localhost and on GitHub page. 2024-03-08 10:00:31 +01:00
Benoit Marty
1e13319f95 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
537074bee3 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