From 6e0861c5ddc16ae7633032051385f99cbadf91af Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Sat, 2 May 2026 11:16:32 -0700 Subject: [PATCH] rename "Conservative estimate" to "Projected return" --- src/commands/projections.zig | 4 ++-- src/tui/projections_tab.zig | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/commands/projections.zig b/src/commands/projections.zig index b074e7b..a2b2ad7 100644 --- a/src/commands/projections.zig +++ b/src/commands/projections.zig @@ -198,11 +198,11 @@ pub fn run( try writeReturnRow(out, color, port_row); try cli.reset(out, color); - // Conservative estimate + // Projected return (conservative estimate from benchmark analytics) { var buf: [16]u8 = undefined; const cell = view.fmtReturnCell(&buf, comparison.conservative_return); - try cli.printFg(out, color, cli.CLR_MUTED, "{s: <32}{s: >8}\n", .{ "Conservative estimate", cell.text }); + try cli.printFg(out, color, cli.CLR_MUTED, "{s: <32}{s: >8}\n", .{ "Projected return", cell.text }); } // Target allocation note diff --git a/src/tui/projections_tab.zig b/src/tui/projections_tab.zig index 1500cbd..edbaecf 100644 --- a/src/tui/projections_tab.zig +++ b/src/tui/projections_tab.zig @@ -508,12 +508,12 @@ fn buildHeaderSection(app: *App, arena: std.mem.Allocator, lines: *std.ArrayList const port_row = view.buildReturnRow("Your Portfolio", comparison.portfolio_returns, &port_bufs, true); try appendReturnRow(lines, arena, th, port_row); - // Conservative estimate + // Projected return (conservative estimate from benchmark analytics) { var buf: [16]u8 = undefined; const cell = view.fmtReturnCell(&buf, comparison.conservative_return); try lines.append(arena, .{ - .text = try std.fmt.allocPrint(arena, " {s: <30}{s: >8}", .{ "Conservative estimate", cell.text }), + .text = try std.fmt.allocPrint(arena, " {s: <30}{s: >8}", .{ "Projected return", cell.text }), .style = th.mutedStyle(), }); } @@ -696,12 +696,12 @@ pub fn buildStyledLines(app: *App, arena: std.mem.Allocator) ![]const StyledLine const port_row = view.buildReturnRow("Your Portfolio", comparison.portfolio_returns, &port_bufs, true); try appendReturnRow(&lines, arena, th, port_row); - // Conservative estimate + // Projected return (conservative estimate from benchmark analytics) { var buf: [16]u8 = undefined; const cell = view.fmtReturnCell(&buf, comparison.conservative_return); try lines.append(arena, .{ - .text = try std.fmt.allocPrint(arena, " {s: <30}{s: >8}", .{ "Conservative estimate", cell.text }), + .text = try std.fmt.allocPrint(arena, " {s: <30}{s: >8}", .{ "Projected return", cell.text }), .style = th.mutedStyle(), }); }