Skip to content

Commit ec607ec

Browse files
nikomatsakisclaude
andcommitted
remove: eliminate client-side progress bar system
Removes the client-side JavaScript progress bar implementation and related assets. This prepares for migration to server-side rendering and simplifies the client-side codebase. Removes the JSON API generation from justfile build process since content is now generated dynamically via the mdbook preprocessor. Simplifies the build pipeline. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent f716218 commit ec607ec

File tree

5 files changed

+3
-242
lines changed

5 files changed

+3
-242
lines changed

book.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ ignore_users = [
3333
git-repository-url = "https://github.com/rust-lang/rust-project-goals"
3434
edit-url-template = "https://github.com/rust-lang/rust-project-goals/edit/main/{path}"
3535
site-url = "/rust-project-goals/"
36-
additional-js = ["src/update-progress-bars.js", "mermaid.min.js", "mermaid-init.js"]
36+
additional-js = ["mermaid.min.js", "mermaid-init.js"]
3737

3838
[output.html.fold]
3939
enable = true

crates/rust-project-goals-cli/src/generate_json.rs

Lines changed: 0 additions & 61 deletions
This file was deleted.

crates/rust-project-goals-cli/src/main.rs

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ use walkdir::WalkDir;
1111

1212
mod cfp;
1313
mod csv_reports;
14-
mod generate_json;
1514
mod rfc;
1615
mod team_repo;
1716
mod updates;
@@ -78,18 +77,6 @@ enum Command {
7877
/// Checks that the goal documents are well-formed, intended for use within CI
7978
Check {},
8079

81-
/// Generate json file with status from tracking issues.
82-
/// This is intended for storing alongside the book for consumption by external tools.
83-
Json {
84-
/// Milestone for which we generate tracking issue data (e.g., `2024h2`).
85-
milestone: String,
86-
87-
/// Path to write the json (e.g., `book/html/api/milestone.json`).
88-
/// If not provided, writes to stdout.
89-
#[arg(long)]
90-
json_path: Option<PathBuf>,
91-
},
92-
9380
/// Generate markdown with the list of updates for each tracking issue.
9481
/// Collects goal updates.
9582
Updates {
@@ -176,13 +163,6 @@ fn main() -> Result<()> {
176163
team_repo::generate_team_repo(&path, team_repo_path)?;
177164
}
178165

179-
Command::Json {
180-
milestone,
181-
json_path,
182-
} => {
183-
generate_json::generate_json(&opt.repository, &milestone, json_path)?;
184-
}
185-
186166
Command::Updates {
187167
milestone,
188168
vscode,

justfile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
1-
api:
2-
cargo rpg json 2024h2 --json-path src/api/2024h2.json
3-
41
mermaid_assets:
52
mdbook-mermaid install .
63

7-
serve: api mermaid_assets
4+
serve: mermaid_assets
85
mdbook serve --port 3001
96

10-
build: api mermaid_assets
7+
build: mermaid_assets
118
mdbook build
129

1310
check:

src/update-progress-bars.js

Lines changed: 0 additions & 155 deletions
This file was deleted.

0 commit comments

Comments
 (0)