17 Commits

Author SHA1 Message Date
Benoit Marty 920ea9a3f5 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 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 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 d19078d3df 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 b3ba0db887 Gh Page: ensure that a row always have the same amount of cells. 2024-04-15 11:29:47 +02:00
Benoit Marty d574602b3c Add a line counter 2024-04-12 12:04:59 +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 b6f091f952 Add id to the table rows. 2024-03-13 17:40:08 +01:00
Benoit Marty 54a3ab6ce1 Update URL parameter according to the form value, to let the user store permalinks. 2024-03-13 17:40:08 +01: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 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 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