Skip to content

Commit 722573d

Browse files
clickable boxrenderer translation
1 parent a0bc683 commit 722573d

37 files changed

+686
-237
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ license = "MIT"
9292
name = "boxmux"
9393
readme = "README.md"
9494
repository = "https://github.com/jowharshamshiri/boxmux"
95-
version = "0.227.273087"
95+
version = "0.228.277519"
9696

9797
[package.metadata.deb]
9898
assets = [["target/release/boxmux", "usr/bin/", "755"], ["README.md", "usr/share/doc/boxmux/README", "644"], ["examples/*", "usr/share/doc/boxmux/examples/", "644"]]

layouts/auto_scroll_demo.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ app:
2828
Line 15
2929
This content does not auto-scroll.
3030
Use arrow keys to scroll manually.
31-
border: true
3231
3332
- id: "auto_scroll_box"
3433
title: "Auto-Scroll Logs (auto_scroll_bottom: true)"
@@ -44,7 +43,6 @@ app:
4443
- "echo 'Processing...'"
4544
- "echo 'Status: Running'"
4645
- "echo '---'"
47-
border: true
4846

4947
- id: "auto_scroll"
5048
title: "Auto-Scroll with Script"
@@ -61,4 +59,3 @@ app:
6159
echo "$(date '+%H:%M:%S') - line $i"
6260
sleep 0.5
6361
done
64-
border: true

layouts/chart_demo.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ app:
88
- id: 'bar_chart'
99
title: 'Sales Data (Bar Chart)'
1010
position: {x1: 5%, y1: 5%, x2: 48%, y2: 45%}
11-
border: true
1211
border_color: 'cyan'
1312
fg_color: 'green'
1413
chart_type: 'bar'
@@ -22,7 +21,6 @@ app:
2221
- id: 'line_chart'
2322
title: 'Growth Trend (Line Chart)'
2423
position: {x1: 52%, y1: 5%, x2: 95%, y2: 45%}
25-
border: true
2624
border_color: 'cyan'
2725
fg_color: 'yellow'
2826
chart_type: 'line'
@@ -38,7 +36,6 @@ app:
3836
- id: 'histogram'
3937
title: 'Distribution (Histogram)'
4038
position: {x1: 5%, y1: 50%, x2: 48%, y2: 90%}
41-
border: true
4239
border_color: 'cyan'
4340
fg_color: 'blue'
4441
chart_type: 'histogram'
@@ -56,7 +53,6 @@ app:
5653
- id: 'line_detail'
5754
title: 'CPU Trend (Line Detail)'
5855
position: {x1: 52%, y1: 50%, x2: 95%, y2: 90%}
59-
border: true
6056
border_color: 'cyan'
6157
fg_color: 'red'
6258
chart_type: 'line'

layouts/choice_overflow_demo.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ app:
1010
y1: "0%"
1111
x2: "45%"
1212
y2: "90%"
13-
border: true
1413
border_color: white
1514
bg_color: black
1615
fg_color: white
@@ -58,7 +57,6 @@ app:
5857
y1: "0%"
5958
x2: "100%"
6059
y2: "90%"
61-
border: true
6260
border_color: yellow
6361
bg_color: black
6462
fg_color: white
@@ -86,7 +84,6 @@ app:
8684
y1: "90%"
8785
x2: "100%"
8886
y2: "100%"
89-
border: true
9087
border_color: green
9188
bg_color: black
9289
fg_color: green

layouts/database_admin.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ app:
2121
y1: "0%"
2222
x2: "100%"
2323
y2: "6%"
24-
border: true
2524
border_color: 'bright_magenta'
2625
bg_color: 'black'
2726
fg_color: 'bright_magenta'
@@ -38,7 +37,6 @@ app:
3837
x2: "30%"
3938
y2: "50%"
4039
tab_order: 1
41-
border: true
4240
border_color: 'cyan'
4341
choices:
4442
- id: 'mysql_status'
@@ -183,7 +181,6 @@ app:
183181
y1: "8%"
184182
x2: "65%"
185183
y2: "50%"
186-
border: true
187184
border_color: 'yellow'
188185
bg_color: 'black'
189186
fg_color: 'bright_yellow'
@@ -227,7 +224,6 @@ app:
227224
x2: "99%"
228225
y2: "50%"
229226
tab_order: 2
230-
border: true
231227
border_color: 'green'
232228
choices:
233229
- id: 'backup_status'
@@ -382,7 +378,6 @@ app:
382378
y1: "52%"
383379
x2: "99%"
384380
y2: "95%"
385-
border: true
386381
border_color: 'white'
387382
bg_color: 'black'
388383
fg_color: 'bright_white'

layouts/developer_workspace.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ app:
2121
y1: "0%"
2222
x2: "100%"
2323
y2: "6%"
24-
border: true
2524
border_color: 'bright_green'
2625
bg_color: 'black'
2726
fg_color: 'bright_green'
@@ -38,7 +37,6 @@ app:
3837
x2: "25%"
3938
y2: "50%"
4039
tab_order: 1
41-
border: true
4240
border_color: 'blue'
4341
choices:
4442
- id: 'project_structure'
@@ -113,7 +111,6 @@ app:
113111
y1: "8%"
114112
x2: "75%"
115113
y2: "50%"
116-
border: true
117114
border_color: 'yellow'
118115
bg_color: 'black'
119116
fg_color: 'bright_white'
@@ -128,7 +125,6 @@ app:
128125
x2: "99%"
129126
y2: "50%"
130127
tab_order: 2
131-
border: true
132128
border_color: 'magenta'
133129
choices:
134130
- id: 'build_project'
@@ -211,7 +207,6 @@ app:
211207
y1: "52%"
212208
x2: "48%"
213209
y2: "95%"
214-
border: true
215210
border_color: 'cyan'
216211
refresh_interval: 10000
217212
script:
@@ -244,7 +239,6 @@ app:
244239
y1: "52%"
245240
x2: "99%"
246241
y2: "95%"
247-
border: true
248242
border_color: 'red'
249243
bg_color: 'black'
250244
fg_color: 'bright_yellow'

layouts/devops_control_center.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ app:
2121
y1: "0%"
2222
x2: "100%"
2323
y2: "8%"
24-
border: true
2524
border_color: 'bright_cyan'
2625
bg_color: 'black'
2726
fg_color: 'bright_cyan'
@@ -38,7 +37,6 @@ app:
3837
x2: "20%"
3938
y2: "95%"
4039
tab_order: 1
41-
border: true
4240
border_color: 'green'
4341
choices:
4442
- id: 'docker_status'
@@ -85,7 +83,6 @@ app:
8583
y1: "10%"
8684
x2: "60%"
8785
y2: "60%"
88-
border: true
8986
border_color: 'yellow'
9087
bg_color: 'black'
9188
fg_color: 'bright_white'
@@ -99,7 +96,6 @@ app:
9996
y1: "10%"
10097
x2: "99%"
10198
y2: "60%"
102-
border: true
10399
border_color: 'magenta'
104100
refresh_interval: 3000
105101
script:
@@ -126,7 +122,6 @@ app:
126122
y1: "62%"
127123
x2: "99%"
128124
y2: "95%"
129-
border: true
130125
border_color: 'red'
131126
bg_color: 'black'
132127
fg_color: 'bright_yellow'
@@ -158,7 +153,6 @@ app:
158153
x2: "20%"
159154
y2: "95%"
160155
tab_order: 2
161-
border: true
162156
border_color: 'bright_red'
163157
choices:
164158
- id: 'system_info'

layouts/hotkey_demo.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ app:
1818
y1: "0"
1919
x2: "40"
2020
y2: "100"
21-
border: true
2221
choices:
2322
# F0081: These choices can be triggered by hot keys
2423
- id: "deploy"
@@ -52,7 +51,6 @@ app:
5251
y1: "0"
5352
x2: "100"
5453
y2: "70"
55-
border: true
5654
content: "Press Ctrl+d, F2, F3, or Ctrl+r to trigger commands\nOutput will appear here"
5755
auto_scroll_bottom: true # Auto-scroll to see new output
5856

@@ -63,7 +61,6 @@ app:
6361
y1: "70"
6462
x2: "100"
6563
y2: "100"
66-
border: true
6764
content: |
6865
FEATURES DEMONSTRATED:
6966

layouts/mouse_click_demo.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ app:
1919
3. Click on any element with keypress enter defined → Triggers enter action
2020
2121
Try clicking on boxes and menu items below to see the features in action!
22-
border: true
2322
border_color: 'bright_cyan'
2423

2524
# Selectable boxes for testing box selection
@@ -37,7 +36,6 @@ app:
3736
Click anywhere on this box to select it.
3837
3938
Notice how the selection changes when you click different boxes.
40-
border: true
4139
border_color: 'green'
4240
selected_border_color: 'bright_green'
4341

@@ -55,7 +53,6 @@ app:
5553
Click here to select this box instead.
5654
5755
Selected boxes have different border colors.
58-
border: true
5956
border_color: 'yellow'
6057
selected_border_color: 'bright_yellow'
6158

@@ -73,7 +70,6 @@ app:
7370
Mouse clicks provide intuitive selection.
7471
7572
Much faster than Tab navigation!
76-
border: true
7773
border_color: 'cyan'
7874
selected_border_color: 'bright_cyan'
7975

@@ -114,7 +110,6 @@ app:
114110
script: ["echo 'Output cleared!'"]
115111
redirect_output: "output_box"
116112

117-
border: true
118113
border_color: 'magenta'
119114
selected_border_color: 'bright_magenta'
120115

@@ -139,6 +134,5 @@ app:
139134
140135
Click away!
141136
auto_scroll_bottom: true
142-
border: true
143137
border_color: 'blue'
144138
selected_border_color: 'bright_blue'

layouts/multi_stream_tabs_demo.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ app:
1111
y1: "5%"
1212
x2: "95%"
1313
y2: "60%"
14-
border: true
1514
border_color: "cyan"
1615
selected_border_color: "bright_cyan"
1716
content: "This box will show multiple tabs when it has multiple input streams"
@@ -53,7 +52,6 @@ app:
5352
y1: "65%"
5453
x2: "45%"
5554
y2: "95%"
56-
border: true
5755
border_color: "yellow"
5856
selected_border_color: "bright_yellow"
5957
tab_order: "1"
@@ -73,7 +71,6 @@ app:
7371
y1: "65%"
7472
x2: "95%"
7573
y2: "95%"
76-
border: true
7774
border_color: "green"
7875
content: |
7976
F0203: Multi-Stream Input Tabs Demo

0 commit comments

Comments
 (0)