Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions modules/site/MANIFEST.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,6 @@ provides: []
# CI compares it with the contracts this module's files read: one read and not declared
# fails (B1), one declared and never read is reported (B4), one nobody provides fails (B6).
consumes:
# The landing promises the export's formats (Markdown, HTML, Word, subtitles): exporting/v1's (D114).
- contract: exporting
version: v1
module: export
# - contract: identity-api
# version: v1
# module: identity
Expand Down
6 changes: 3 additions & 3 deletions modules/site/src/lib/landing.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -98,18 +98,18 @@ const raw = {
["transcript", "Client call", "Find what the client said.", "One search across all your meetings takes you to the exact passage."],
["lock", "Lawyers, doctors, advisers", "Confidential stays in the room.", "One switch, and the call goes through no online service."],
["mic", "Job interview", "Watch the candidate, not your notes.", "Every answer is transcribed and the minutes keep what matters to compare interviews. Tell the candidate you are recording."],
["export", "Export", "As Markdown, HTML, Word or subtitles."],
["export", "Export", "As Markdown."],
["play", "Play back a passage", "Click a line of the transcript to hear that moment again."],
["search", "Your files, at home", "Each meeting stays in Documents/Kitokey, with its recording, its transcript and its minutes."]],
fr: [["summary", "Lancement de projet", "Repartez avec le plan.", "Qui fait quoi, et pour quand. Les actions sont dans le compte rendu et leurs dates vont dans votre agenda."],
["send", "Le point du matin", "Les absents sont à jour.", "Le compte rendu du point d’équipe part à l’équipe d’un geste. Personne n’a eu à prendre de notes."],
["transcript", "Appel client", "Retrouvez ce que le client a dit.", "Une recherche dans toutes vos réunions vous ramène au passage exact."],
["lock", "Avocat, médecin, conseil", "Le secret reste au cabinet.", "Un interrupteur, et l’appel ne passe par aucun service en ligne."],
["mic", "Entretien de recrutement", "Regardez le candidat, pas vos notes.", "Chaque réponse est transcrite et le compte rendu en garde l’essentiel pour comparer les entretiens. Annoncez au candidat que vous enregistrez."],
["export", "Exportez", "En Markdown, HTML, Word ou sous-titres."],
["export", "Exportez", "En Markdown."],
["play", "Réécoutez un passage", "Cliquez sur une phrase de la transcription pour réentendre ce moment."],
["search", "Vos fichiers, chez vous", "Chaque réunion reste dans Documents/Kitokey, avec son enregistrement, sa transcription et son compte rendu."]],
keeps: "minutes/v5's actions and D113's dates; D116, the send; docs/store/listing.md, one search; D110, the confidential switch; exporting/v1, md html docx srt vtt; D26, play from a line; docs/privacy.md, the meetings folder",
keeps: "minutes/v5's actions and D113's dates; D116, the send; docs/store/listing.md, one search; D110, the confidential switch; the window's export, Markdown alone (D108); D26, play from a line; docs/privacy.md, the meetings folder",
},
systems: {
en: ["Systems & price", "Free on Linux. One payment elsewhere.", "No account, no subscription. Linux today, Windows and macOS next.", "No subscription. The price will be announced at launch."],
Expand Down
14 changes: 14 additions & 0 deletions modules/site/tests/landing.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -144,3 +144,17 @@ test("each hardware card says, in both languages, the figures README.md gives it
});
}
});

// The export's card promises only what the window offers today: Markdown, the one format the shell asks the
// export for; HTML, Word, subtitles and PDF come back to the page with the screen that offers them (D121). The
// site declares no contract of the export's (D108).
test("the export card promises Markdown alone, the one format the window offers", () => {
for (const [language, said] of [["en", "As Markdown."], ["fr", "En Markdown."]]) {
const card = landing.cases[language].find(([icon]) => icon === "export");
assert.equal(card[2], said, language);
for (const format of ["HTML", "Word", "subtitles", "sous-titres", "PDF"]) {
assert.ok(!card.join(" ").includes(format), `${language}: ${format}`);
}
}
assert.ok(!/docx|srt|vtt/.test(landing.cases.keeps), landing.cases.keeps);
});