The list page now parses the calendar feed and renders each upcoming event (title, date, place) in chronological order, with a button that hands the event over to the town hall form. Sorting, date formatting and the café fallback live in a pure presentation module rather than in liste.js, which touches the DOM and cannot be imported under bun test. The seam to the sibling task's content script lives in transfert.js: a single storage slot, since a content script running on the town hall site has no way to learn a uid. The deposit is awaited before opening the tab, otherwise the content script could read before the write lands. Test timezone is pinned to Europe/Paris: date formatting is the core logic here and would otherwise pass only on machines set to Paris. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
26 lines
689 B
JSON
26 lines
689 B
JSON
{
|
|
"manifest_version": 3,
|
|
"name": "Écho du Huit",
|
|
"version": "0.1.0",
|
|
"description": "Liste autonome agrégeant les infos de l'Atelier du Huit et de la ville de Cugnaux.",
|
|
"browser_specific_settings": {
|
|
"gecko": {
|
|
"id": "echo-du-huit@atelier-huit",
|
|
"strict_min_version": "127.0"
|
|
}
|
|
},
|
|
"background": {
|
|
"scripts": ["background.js"]
|
|
},
|
|
"action": {
|
|
"default_title": "Ouvrir la liste de l'Écho du Huit",
|
|
"default_icon": "icons/icon.svg"
|
|
},
|
|
"permissions": ["storage"],
|
|
"host_permissions": [
|
|
"https://atelier-huit.frama.space/*",
|
|
"https://www.ville-cugnaux.fr/*"
|
|
],
|
|
"icons": { "48": "icons/icon.svg", "96": "icons/icon.svg" }
|
|
}
|