Fossil SCM

Document the timeline-default-style setting so that it can be viewed and changed on the /setup_settings page and by the "fossil setting" command.

drh 2025-10-19 10:33 timeline-enhance-2025
Commit c9c17a81a9e95d4b5fb261995a6abda876ee979140ad49d727ddfb1fd9b77fb0
1 file changed +16
--- src/timeline.c
+++ src/timeline.c
@@ -1316,10 +1316,26 @@
13161316
}
13171317
if( i>2 ){
13181318
style_submenu_multichoice("y", i/2, az, isDisabled);
13191319
}
13201320
}
1321
+
1322
+/*
1323
+** SETTING: timeline-default-style width=5 default=m
1324
+**
1325
+** This setting determines the default "view style" for timelines.
1326
+** The setting should be a single character, one of the following:
1327
+**
1328
+** c Compact
1329
+** j Columnar
1330
+** m Modern
1331
+** s Simple
1332
+** v Verbose
1333
+** x Classic
1334
+**
1335
+** The default value is m (Modern).
1336
+*/
13211337
13221338
/*
13231339
** Return the default value for the "ss" cookie or query parameter.
13241340
** The "ss" cookie determines the graph style. See the
13251341
** timeline_view_styles[] global constant for a list of choices.
13261342
--- src/timeline.c
+++ src/timeline.c
@@ -1316,10 +1316,26 @@
1316 }
1317 if( i>2 ){
1318 style_submenu_multichoice("y", i/2, az, isDisabled);
1319 }
1320 }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1321
1322 /*
1323 ** Return the default value for the "ss" cookie or query parameter.
1324 ** The "ss" cookie determines the graph style. See the
1325 ** timeline_view_styles[] global constant for a list of choices.
1326
--- src/timeline.c
+++ src/timeline.c
@@ -1316,10 +1316,26 @@
1316 }
1317 if( i>2 ){
1318 style_submenu_multichoice("y", i/2, az, isDisabled);
1319 }
1320 }
1321
1322 /*
1323 ** SETTING: timeline-default-style width=5 default=m
1324 **
1325 ** This setting determines the default "view style" for timelines.
1326 ** The setting should be a single character, one of the following:
1327 **
1328 ** c Compact
1329 ** j Columnar
1330 ** m Modern
1331 ** s Simple
1332 ** v Verbose
1333 ** x Classic
1334 **
1335 ** The default value is m (Modern).
1336 */
1337
1338 /*
1339 ** Return the default value for the "ss" cookie or query parameter.
1340 ** The "ss" cookie determines the graph style. See the
1341 ** timeline_view_styles[] global constant for a list of choices.
1342

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button