-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WET-boew -> GCWeb ->Simple example pages #2409
Open
SebastianBurke
wants to merge
1
commit into
wet-boew:master
Choose a base branch
from
SebastianBurke:simple-pages
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
{ | ||
"title": "ajax-fetch", | ||
"language": "en", | ||
"description": "Handles Ajax requests and triggers events for success or failure.", | ||
"altLangPage": "ajax-fetch-fr.html", | ||
"dateModified": "2024-08-01" | ||
} | ||
--- | ||
<ul> | ||
<li><a class="btn btn-primary" href="https://github.com/wet-boew/GCWeb/issues/new?title=Ajax%20Fetch">Questions or comments?</a></li> | ||
</ul> | ||
|
||
<p>The ajax-fetch component in WET-BOEW handles Ajax requests by triggering an event, processing the request, and triggering custom events for success or failure to facilitate response handling. The component defines the following events:</p> | ||
|
||
<ul> | ||
<li><strong>ajax-fetch.wb:</strong> Triggered to initiate an Ajax request based on the provided options.</li> | ||
<li><strong>ajax-fetched.wb:</strong> Triggered when the Ajax request is successfully completed, containing the response data and other relevant information.</li> | ||
<li><strong>ajax-failed.wb:</strong> Triggered when the Ajax request fails, containing the error information and the status of the failed request.</li> | ||
</ul> | ||
|
||
<p>It is used in the following components:</p> | ||
|
||
<ul> | ||
<li><a href="https://wet-boew.github.io/gcweb-compiled-demos/wetboew-demos/data-ajax/data-ajax-en.html">Data Ajax</a></li> | ||
<li><a href="https://wet-boew.github.io/gcweb-compiled-demos/wetboew-demos/feeds/feeds-en.html">Feeds</a></li> | ||
<li><a href="https://wet-boew.github.io/gcweb-compiled-demos/wetboew-demos/menu/menu-en.html">Menu</a></li> | ||
<li><a href="https://wet-boew.github.io/gcweb-compiled-demos/wetboew-demos/multimedia/multimedia-audio-en.html">Multimedia Player - Audio-only</a></li> | ||
<li><a href="https://wet-boew.github.io/gcweb-compiled-demos/wetboew-demos/multimedia/multimedia-en.html">Multimedia Player - Video</a></li> | ||
<li><a href="https://wet-boew.github.io/gcweb-compiled-demos/wetboew-demos/multimedia/multimedia-youtube-en.html">Multimedia Player - YouTube</a></li> | ||
<li><a href="https://wet-boew.github.io/wet-boew/demos/datalist/datalist-dynamic-en.html">Datalist polyfill (auto-complete) - Dynamic</a></li> | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
{ | ||
"title": "ajax-fetch", | ||
"language": "fr", | ||
"description": "Gère les requêtes Ajax et déclenche des événements pour le succès ou l'échec.", | ||
"altLangPage": "ajax-fetch-en.html", | ||
"dateModified": "2024-08-01" | ||
} | ||
--- | ||
<ul> | ||
<li><a class="btn btn-primary" href="https://github.com/wet-boew/GCWeb/issues/new?title=Ajax%20Fetch">Questions ou commentaires ?</a></li> | ||
</ul> | ||
|
||
<p>Le composant ajax-fetch dans WET-BOEW gère les requêtes Ajax en déclenchant un événement pour initier la requête, en traitant la requête et en déclenchant des événements personnalisés pour le succès ou l'échec afin de faciliter le traitement des réponses. Le composant définit les événements suivants :</p> | ||
|
||
<ul> | ||
<li><strong>ajax-fetch.wb :</strong> Déclenché pour initier une requête Ajax basée sur les options fournies.</li> | ||
<li><strong>ajax-fetched.wb :</strong> Déclenché lorsque la requête Ajax est complétée avec succès, contenant les données de réponse et d'autres informations pertinentes.</li> | ||
<li><strong>ajax-failed.wb :</strong> Déclenché lorsque la requête Ajax échoue, contenant les informations sur l'erreur et le statut de la requête échouée.</li> | ||
</ul> | ||
|
||
<p>Il est utilisé dans les composants suivants :</p> | ||
|
||
<ul> | ||
<li><a href="https://wet-boew.github.io/gcweb-compiled-demos/wetboew-demos/data-ajax/data-ajax-fr.html">Data Ajax</a></li> | ||
<li><a href="https://wet-boew.github.io/gcweb-compiled-demos/wetboew-demos/feeds/feeds-fr.html">Fils de syndication</a></li> | ||
<li><a href="https://wet-boew.github.io/gcweb-compiled-demos/wetboew-demos/menu/menu-fr.html">Menu</a></li> | ||
<li><a href="https://wet-boew.github.io/gcweb-compiled-demos/wetboew-demos/multimedia/multimedia-audio-fr.html">Lecteur multimédia - Audio seulement</a></li> | ||
<li><a href="https://wet-boew.github.io/gcweb-compiled-demos/wetboew-demos/multimedia/multimedia-fr.html">Lecteur multimédia - Vidéo</a></li> | ||
<li><a href="https://wet-boew.github.io/gcweb-compiled-demos/wetboew-demos/multimedia/multimedia-youtube-fr.html">Lecteur multimédia - YouTube</a></li> | ||
<li><a href="https://wet-boew.github.io/wet-boew/demos/datalist/datalist-dynamic-fr.html">Correctif « datalist » (saisie automatique) - Dynamique</a></li> | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"@context": { | ||
"@version": 1.1, | ||
"dct": "http://purl.org/dc/terms/", | ||
"title": { "@id": "dct:title", "@container": "@language" }, | ||
"description": { "@id": "dct:description", "@container": "@language" }, | ||
"modified": "dct:modified" | ||
}, | ||
"title": { | ||
"en": "ajax-fetch", | ||
"fr": "ajax-fetch" | ||
}, | ||
"description": { | ||
"en": "Handles Ajax requests and triggers events for success or failure.", | ||
"fr": "Gère les requêtes Ajax et déclenche des événements pour le succès ou l'échec." | ||
}, | ||
"modified": "2024-08-01", | ||
"componentName": "ajax-fetch", | ||
"status": "stable", | ||
"pages": { | ||
"examples": [ | ||
{ | ||
"title": "Ajax fetch", | ||
"language": "en", | ||
"path": "./ajax-fetch-en.html" | ||
}, | ||
{ | ||
"title": "Ajax fetch", | ||
"language": "fr", | ||
"path": "./ajax-fetch-fr.html" | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"@context": { | ||
"@version": 1.1, | ||
"dct": "http://purl.org/dc/terms/", | ||
"title": { "@id": "dct:title", "@container": "@language" }, | ||
"description": { "@id": "dct:description", "@container": "@language" }, | ||
"modified": "dct:modified" | ||
}, | ||
"title": { | ||
"en": "json-fetch", | ||
"fr": "json-fetch" | ||
}, | ||
"description": { | ||
"en": "Handles JSON data fetching and triggers events for success or failure.", | ||
"fr": "Gère la récupération de données JSON et déclenche des événements pour le succès ou l'échec." | ||
}, | ||
"modified": "2024-08-01", | ||
"componentName": "json-fetch", | ||
"status": "stable", | ||
"pages": { | ||
"examples": [ | ||
{ | ||
"title": "JSON fetch", | ||
"language": "en", | ||
"path": "./json-fetch-en.html" | ||
}, | ||
{ | ||
"title": "JSON fetch", | ||
"language": "fr", | ||
"path": "./json-fetch-fr.html" | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
{ | ||
"title": "json-fetch", | ||
"language": "en", | ||
"description": "Handles JSON data fetching and triggers events for success or failure.", | ||
"altLangPage": "json-fetch-fr.html", | ||
"dateModified": "2024-08-01" | ||
} | ||
--- | ||
<ul> | ||
<li><a class="btn btn-primary" href="https://github.com/wet-boew/GCWeb/issues/new?title=JSON%20fetch">Questions or comments?</a></li> | ||
</ul> | ||
|
||
<p>The json-fetch component in WET-BOEW manages JSON data retrieval by triggering events to start the fetch operation, process the data, and handle responses. It defines custom events to signal the success or failure of the fetch operation, and can also handle dataset names via the wb-jsonpatch plugin. The component defines the following events:</p> | ||
|
||
<ul> | ||
<li><strong>json-fetch.wb:</strong> Triggered to initiate a JSON fetch operation.</li> | ||
<li><strong>json-fetched.wb:</strong> Triggered when a JSON fetch is successful, providing the fetched response and other related data.</li> | ||
<li><strong>json-failed.wb:</strong> Triggered when a JSON fetch fails, providing error information and status details.</li> | ||
<li><strong>postpone.wb-jsonmanager:</strong> Triggered to postpone handling if a dataset name is encountered, allowing the wb-jsonpatch plugin to manage it.</li> | ||
</ul> | ||
|
||
<p>It is used in the following components:</p> | ||
|
||
<ul> | ||
<li><a href="https://wet-boew.github.io/gcweb-compiled-demos/wetboew-demos/wb-data-json/data-json-en.html">Data JSON</a></li> | ||
<li><a href="https://wet-boew.github.io/gcweb-compiled-demos/wetboew-demos/wb-jsonmanager/jsonmanager-en.html">JSON Manager</a></li> | ||
</ul> |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't believe this is necessary as they are not actual plugins. Do this for all your examples.