Skip to content

Commit 3505244

Browse files
feat(WebSite): Add term auto-badging to DynamicPricing and reorder roadmap features
Wrap DynamicPricing NameLine, Sub1, Sub2, and Feature text with RichText Terms={true} to auto-badge technology terms with logos from the term dictionary (Element names, tool names, protocols, licenses). Reorder current and future tier features in HomePage.tsx and corresponding En/Home.json to reflect updated roadmap priorities: VS Code Extension Compatibility now leads the current tier features, and new features like gRPC IPC, Cloudflare CDN Distribution, and OXC Source Maps appear in the next tier. Fix RichText SegmentNode image positioning to render logos inline after text with proper vertical alignment. Update Download.astro and index.astro tech badges (CC0, Rust, Tauri) with consistent align-middle styling. Target/ contains regenerated build artifacts.
1 parent 053ee38 commit 3505244

42 files changed

Lines changed: 116 additions & 123 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Source/Component/Dynamic/DynamicPricing.tsx

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ import { useTranslation } from "react-i18next";
55
import { IconTooltip } from "../UI/IconTooltip.js";
66
import { RichText } from "../UI/RichText.js";
77
import { DynamicButton } from "./DynamicButton.js";
8+
9+
// RichText is used with Terms={true} throughout so element names, tool names,
10+
// protocols, and licenses are auto-badged with logos from the term dictionary.
811
import type Property from "./Interface/Property/Pricing.js";
912

1013
/**
@@ -175,16 +178,16 @@ const DynamicPricing = ({ Content, ClassName }: Property) => {
175178
style={{
176179
color: AccentColor,
177180
}}>
178-
{NameLine}
181+
<RichText Text={NameLine} Terms={true} />
179182
</span>
180183
{Sub1 && (
181184
<span className="text-xs text-foreground">
182-
{Sub1}
185+
<RichText Text={Sub1} Terms={true} />
183186
</span>
184187
)}
185188
{Sub2 && (
186189
<span className="text-xs text-muted-foreground">
187-
{Sub2}
190+
<RichText Text={Sub2} Terms={true} />
188191
</span>
189192
)}
190193
</li>
@@ -214,7 +217,7 @@ const DynamicPricing = ({ Content, ClassName }: Property) => {
214217
key={FeatureIndex}
215218
className="flex items-start justify-between gap-2">
216219
<span className="min-w-0 flex-1 text-sm">
217-
{Feature}
220+
<RichText Text={Feature} Terms={true} />
218221
</span>
219222
<IconTooltip
220223
Label="Included"

Source/Component/Dynamic/HomePage.tsx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -278,22 +278,22 @@ const HomePage = ({ Content, ClassName }: Property) => {
278278
],
279279
Features: [
280280
T("home:roadmap.tiers.current.features.1", {
281-
defaultValue: "Native Rust Backend No Electron",
281+
defaultValue: "VS Code Extension Compatibility Zero Rewrites",
282282
}),
283283
T("home:roadmap.tiers.current.features.2", {
284-
defaultValue: "Full VS Code Extension Compatibility",
284+
defaultValue: "Native Rust Backend No Electron",
285285
}),
286286
T("home:roadmap.tiers.current.features.3", {
287-
defaultValue: "Effect-TS Service Layer End to End",
287+
defaultValue: "macOS Windows Linux",
288288
}),
289289
T("home:roadmap.tiers.current.features.4", {
290290
defaultValue: "CC0 Public Domain No Restriction",
291291
}),
292292
T("home:roadmap.tiers.current.features.5", {
293-
defaultValue: "NLnet NGI0 Commons Fund",
293+
defaultValue: "gRPC IPC Sub-Millisecond Communication",
294294
}),
295295
T("home:roadmap.tiers.current.features.6", {
296-
defaultValue: "macOS Windows Linux",
296+
defaultValue: "Effect-TS Architecture Typed Services",
297297
}),
298298
],
299299
CTA: {
@@ -337,22 +337,22 @@ const HomePage = ({ Content, ClassName }: Property) => {
337337
],
338338
Features: [
339339
T("home:roadmap.tiers.future.features.1", {
340-
defaultValue: "Cross-Platform Native Installer",
340+
defaultValue: "Cocoon Extension Compatibility Pass",
341341
}),
342342
T("home:roadmap.tiers.future.features.2", {
343-
defaultValue: "Command Palette (Cmd+K)",
343+
defaultValue: "Cross-Platform Native Installer Tauri",
344344
}),
345345
T("home:roadmap.tiers.future.features.3", {
346-
defaultValue: "Source Map Generation via Rest",
346+
defaultValue: "Command Palette (Cmd+K)",
347347
}),
348348
T("home:roadmap.tiers.future.features.4", {
349-
defaultValue: "Signed Release Distribution",
349+
defaultValue: "gRPC Protocol Finalized Vine",
350350
}),
351351
T("home:roadmap.tiers.future.features.5", {
352-
defaultValue: "Settings Sync via Cloud-Optional Portal",
352+
defaultValue: "Source Map Generation OXC",
353353
}),
354354
T("home:roadmap.tiers.future.features.6", {
355-
defaultValue: "gRPC IPC Protocol Finalized",
355+
defaultValue: "Cloudflare CDN Download Distribution",
356356
}),
357357
],
358358
CTA: {

Source/Component/UI/RichText.tsx

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -232,20 +232,23 @@ const SegmentNode = ({ Segment }: { Segment: Segment }) => {
232232
const Logo = TermLogo[Segment.Value];
233233
return (
234234
<span
235-
className={`inline-flex items-center align-middle gap-1 rounded-none border px-1.5 py-0.5 font-mono text-[0.78em] leading-normal font-medium ${CategoryStyle[Segment.Category]}`}
235+
className={`inline-flex items-center align-middle rounded-none border px-1.5 py-0.5 font-mono text-[0.78em] leading-normal font-medium ${CategoryStyle[Segment.Category]}`}
236236
title={`${CategoryLabel[Segment.Category]}: ${Segment.Value}`}
237237
aria-label={`${CategoryLabel[Segment.Category]} ${Segment.Value}`}>
238+
{Segment.Value}
238239
{Logo && (
239-
<img
240-
src={Logo}
241-
alt=""
242-
width={12}
243-
height={12}
244-
className="opacity-60"
245-
aria-hidden="true"
246-
/>
240+
<>
241+
{" "}
242+
<img
243+
src={Logo}
244+
alt=""
245+
width={12}
246+
height={12}
247+
className="inline-block align-middle opacity-60"
248+
aria-hidden="true"
249+
/>
250+
</>
247251
)}
248-
{Segment.Value}
249252
</span>
250253
);
251254
}

Source/Library/I18n/Locale/En/Home.json

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -118,21 +118,21 @@
118118
"name": "Free",
119119
"description": "Six open-source elements building the editor core. Read, run, and contribute to each today.",
120120
"features": {
121-
"1": "Native Rust Backend No Electron",
122-
"2": "Full VS Code Extension Compatibility",
123-
"3": "Effect-TS Service Layer End to End",
121+
"1": "VS Code Extension Compatibility Zero Rewrites",
122+
"2": "Native Rust Backend No Electron",
123+
"3": "macOS Windows Linux",
124124
"4": "CC0 Public Domain No Restriction",
125-
"5": "NLnet NGI0 Commons Fund",
126-
"6": "macOS Windows Linux"
125+
"5": "gRPC IPC Sub-Millisecond Communication",
126+
"6": "Effect-TS Architecture Typed Services"
127127
},
128128
"button": "View on GitHub",
129129
"elements": {
130-
"mountain": "Mountain ⛰️\nNative Process Manager\nReplaces Electron Main Process",
131-
"cocoon": "Cocoon 🦋\nExtension Host\nVS Code Extensions Run Unchanged",
132-
"wind": "Wind 🍃\nWorkbench Shell\nPanels, Sidebars, Activity Bar",
133-
"sky": "Sky 🌌\nAstro UI Layer\nEvery Panel Is a Component",
134-
"air": "Air 🪁\nBackground Daemon\nSilent Update Crypto-Signed",
135-
"echo": "Echo 📣\nWork-Stealing Scheduler\nEvery CPU Core Saturated"
130+
"mountain": "Mountain⛰️\nNative Process Manager\nReplaces Electron Main Process",
131+
"cocoon": "Cocoon🦋\nExtension Host\nVS Code Extensions Run Unchanged",
132+
"wind": "Wind🍃\nWorkbench Shell\nPanels, Sidebars, Activity Bar",
133+
"sky": "Sky🌌\nAstro UI Layer\nEvery Panel Is a Component",
134+
"air": "Air🪁\nBackground Daemon\nSilent Update Crypto-Signed",
135+
"echo": "Echo📣\nWork-Stealing Scheduler\nEvery CPU Core Saturated"
136136
}
137137
},
138138
"next": {
@@ -150,21 +150,21 @@
150150
"name": "v1.0",
151151
"description": "Active milestones across all fifteen elements. Each item is grounded in an open README or open source commit.",
152152
"features": [
153-
"Cross-Platform Native Installer",
153+
"Cocoon Extension Compatibility Pass",
154+
"Cross-Platform Native Installer Tauri",
154155
"Command Palette (Cmd+K)",
155-
"Source Map Generation via Rest",
156-
"Signed Release Distribution",
157-
"Settings Sync via Cloud-Optional Portal",
158-
"gRPC IPC Protocol Finalized"
156+
"gRPC Protocol Finalized Vine",
157+
"Source Map Generation OXC",
158+
"Cloudflare CDN Download Distribution"
159159
],
160160
"button": "Track Progress",
161161
"elements": {
162-
"vine": "Vine 🌿\nProtocol In Progress\nMountain ↔ Grove Channel Completing",
163-
"cocoon": "Cocoon 🦋\nExtension Compatibility Pass\nHigh-Fidelity VS Code API Coverage",
164-
"grove": "Grove 🌳\nWASM Sandbox Stabilizing\nCapability-Based Extension Isolation",
165-
"rest": "Rest ⛱️\nSource Map Support\nOXC Transformer Integration In Progress",
166-
"echo": "Echo 📣\nScheduler Optimization\nFaster Steal Lower Latency",
167-
"air": "Air 🪁\nSigned CDN Delivery\nCloudflare Workers Distribution"
162+
"vine": "Vine🌿\nProtocol In Progress\nMountain ↔ Grove Channel Completing",
163+
"cocoon": "Cocoon🦋\nExtension Compatibility Pass\nHigh-Fidelity VS Code API Coverage",
164+
"grove": "Grove🌳\nWASM Sandbox Stabilizing\nCapability-Based Extension Isolation",
165+
"rest": "Rest⛱️\nSource Map Support\nOXC Transformer Integration In Progress",
166+
"echo": "Echo📣\nScheduler Optimization\nFaster Steal Lower Latency",
167+
"air": "Air🪁\nSigned CDN Delivery\nCloudflare Workers Distribution"
168168
}
169169
}
170170
}

Source/pages/Download.astro

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -348,23 +348,16 @@ const MetaDescription = T("meta.downloads.description", {
348348
PGP Signed
349349
</span>
350350
<span
351-
class="inline-flex items-center gap-1.5 border border-blue-200 bg-blue-50 px-2.5 py-0.5 font-medium text-blue-700">
352-
<img src="/Image/Rust.svg" alt="" width="14" height="14" class="opacity-70" aria-hidden="true" />
353-
Native Rust&#x2001;<span
354-
class="h-1.5 w-1.5 rounded-none bg-blue-500"
355-
aria-hidden="true"></span>
351+
class="inline-flex items-center align-middle border border-blue-200 bg-blue-50 px-2.5 py-0.5 font-medium text-blue-700">
352+
Native Rust&#x2001;<img src="/Image/Rust.svg" alt="" width="14" height="14" class="inline-block align-middle opacity-70" aria-hidden="true" />
356353
</span>
357354
<span
358-
class="inline-flex items-center gap-1.5 border border-sky-200 bg-sky-50 px-2.5 py-0.5 font-medium text-sky-700">
359-
<img src="/Image/Tauri.svg" alt="" width="14" height="14" class="opacity-70" aria-hidden="true" />
360-
Tauri&#x2001;<span
361-
class="h-1.5 w-1.5 rounded-none bg-sky-500"
362-
aria-hidden="true"></span>
355+
class="inline-flex items-center align-middle border border-sky-200 bg-sky-50 px-2.5 py-0.5 font-medium text-sky-700">
356+
Tauri&#x2001;<img src="/Image/Tauri.svg" alt="" width="14" height="14" class="inline-block align-middle opacity-70" aria-hidden="true" />
363357
</span>
364358
<span
365-
class="inline-flex items-center gap-1.5 border border-purple-200 bg-purple-50 px-2.5 py-0.5 font-medium text-purple-700">
366-
<img src="/Image/EffectTS.svg" alt="" width="14" height="14" class="opacity-70" aria-hidden="true" />
367-
Effect-TS
359+
class="inline-flex items-center align-middle border border-purple-200 bg-purple-50 px-2.5 py-0.5 font-medium text-purple-700">
360+
Effect-TS&#x2001;<img src="/Image/EffectTS.svg" alt="" width="14" height="14" class="inline-block align-middle opacity-70" aria-hidden="true" />
368361
</span>
369362
<span
370363
class="inline-flex items-center border border-[var(--Border)] bg-[var(--Mute)] px-2.5 py-0.5 font-medium">

Source/pages/index.astro

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,12 @@ const MetaDescription = T("meta.home.description", {
9999
aria-hidden="true"></span>
100100
</span>
101101
<span
102-
class="inline-flex items-center border border-[var(--Border)] bg-[var(--Mute)] px-2.5 py-0.5 font-medium">
103-
CC0 Licensed
102+
class="inline-flex items-center align-middle border border-green-200 bg-green-50 px-2.5 py-0.5 font-medium text-green-700">
103+
CC0 Licensed&#x2001;<img src="/Image/CC0.svg" alt="" width="14" height="14" class="inline-block align-middle opacity-70" aria-hidden="true" />
104104
</span>
105105
<span
106-
class="inline-flex items-center border border-[var(--Border)] bg-[var(--Mute)] px-2.5 py-0.5 font-medium">
107-
Rust + Tauri
106+
class="inline-flex items-center align-middle border border-blue-200 bg-blue-50 px-2.5 py-0.5 font-medium text-blue-700">
107+
Rust&#x2001;<img src="/Image/Rust.svg" alt="" width="14" height="14" class="inline-block align-middle opacity-70" aria-hidden="true" />&#x2001;+&#x2001;Tauri&#x2001;<img src="/Image/Tauri.svg" alt="" width="14" height="14" class="inline-block align-middle opacity-70" aria-hidden="true" />
108108
</span>
109109
<span
110110
class="inline-flex items-center border border-[var(--Border)] bg-[var(--Mute)] px-2.5 py-0.5 font-medium">

Target/404.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

Target/Account/ForgotPassword/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

Target/Account/ResetPassword/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

Target/Account/SignIn/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)