In a real Keycloak environment, clicking this link would redirect you to the next step in the authentication process.
However, in this instance, you are using a mock object of the Keycloak FreeMarker context for development purposes.
Changing the language directly within Storybook is not supported.
To preview your component in different languages, create separate stories for each language.
Example:
export const Default: Story = {
render: () => <KcPageStory />
};
export const French: Story = {
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
import { Evt } from "evt"; | |
import { DongleController as Dc } from "chan-dongle-extended-client"; | |
import { Ami, agi } from "ts-ami"; | |
//import * as dcMisc from "chan-dongle-extended-client/dist/lib/misc"; | |
import { phoneNumber } from "phone-number"; | |
import * as types from "./types"; | |
import * as dbSemasim from "./dbSemasim"; | |
import * as messageDispatcher from "./messagesDispatcher"; | |
import * as sip from "ts-sip"; | |
import { logger } from "../tools/logger"; |
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
REACT_APP_WARNING_MESSAGE="**Vendredi 29 janvier**, session kubernetes pour le statisticien sur zoom. Plus d info sur [le canal tchap](https://www.tchap.gouv.fr/#/room/#SSPCloudXDpAw6v:agent.finances.tchap.gouv.fr)" | |
REACT_APP_INFO_MESSAGE="**NOUVEAU** Interface de gestion des variables d'environnement. Découvrez la page [Mes Secrets](/mes-secrets) 🚀" | |
REACT_APP_BASE_API_URL=https://onyxia-preview.lab.sspcloud.fr/api | |
REACT_APP_SERVICES_URL=https://innovation.pages.lab.sspcloud.fr/plateforme-onyxia/services-ressources/services.json | |
REACT_APP_TRAININGS_URL=https://innovation.pages.lab.sspcloud.fr/plateforme-onyxia/services-ressources/formations.json | |
REACT_APP_MONITORING_BASE_URI="https://grafana.lab.sspcloud.fr/d/mZUaipcmk/app-generique?orgId=1&var-id=" | |
# MINIO | |
REACT_APP_MINIO_BASE_URI=https://minio.lab.sspcloud.fr |
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
type Shape = Shape.Circle | Shape.Square; | |
namespace Shape { | |
export type Circle = { | |
type: "CIRCLE"; | |
radius: number; | |
}; | |
export type Square = { |
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
/* | |
* Prerequisite: | |
* You will need a supported Huawei 3G dongle: | |
* https://github.com/bg111/asterisk-chan-dongle/wiki/Requirements-and-Limitations | |
* | |
* You also have to install chan-dongle-extended. | |
* https://garronej.github.io/chan-dongle-extended-pages/ | |
* This tool of mine enable to send SMS via a CLI. | |
* | |
* You then need to run this script on something like a raspberry pi |
const typeGuard_= <U extends T, T>(o: T): o is U => true;
const o: number =33;
assert(typeGuard_<33, typeof o>(o));
o; //<= o is 33
//It would be nice to be able to do:
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
#!/bin/bash | |
cscreen -d 32 -x 1600 -y 900 -r 60 | |
sleep 1 | |
cscreen -d 32 -x 1920 -y 1080 |
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
Hi, | |
We are going to require large quantity of 3G modem and we | |
are looking for establishing a trust relationship with a single supplier. | |
Our hard requirements are: | |
-Modems must implement standard Huawei AT command interface. | |
-It must be possible to place voice calls and send SMSs. | |
-Modems should be unlocked. |
NewerOlder