|
246 | 246 |
|
247 | 247 | 'per_page_options' => [10, 25, 50, 100, 250, 500], |
248 | 248 |
|
| 249 | + /* |
| 250 | + |-------------------------------------------------------------------------- |
| 251 | + | Default settings for Log Viewer |
| 252 | + |-------------------------------------------------------------------------- |
| 253 | + | These settings determine the default behaviour of Log Viewer. |
| 254 | + | Many of these can be persisted for the user in their browser's localStorage, |
| 255 | + | if the `use_local_storage` option is set to true. |
| 256 | + | |
| 257 | + */ |
| 258 | + |
249 | 259 | 'defaults' => [ |
250 | 260 |
|
251 | | - 'store_defaults_in_local_storage' => true, |
| 261 | + // Whether to use browser's localStorage to store user preferences. |
| 262 | + // If true, user preferences saved in the browser will take precedence over the defaults below. |
| 263 | + 'use_local_storage' => true, |
252 | 264 |
|
253 | | - // Other options: `Alphabetical`, `ModifiedTime` |
| 265 | + // Method to sort the folders. Other options: `Alphabetical`, `ModifiedTime` |
254 | 266 | 'folder_sorting_method' => FolderSortingMethod::ModifiedTime, |
255 | 267 |
|
256 | | - // Other options: `Ascending`, `Descending` |
| 268 | + // Order to sort the folders. Other options: `Ascending`, `Descending` |
257 | 269 | 'folder_sorting_order' => SortingOrder::Descending, |
258 | 270 |
|
259 | | - // Must be one of the above `per_page_options` values |
| 271 | + // Number of results per page. Must be one of the above `per_page_options` values |
260 | 272 | 'per_page' => 25, |
261 | 273 |
|
262 | | - // Other options: `System`, `Light`, `Dark` |
| 274 | + // Color scheme for the Log Viewer. Other options: `System`, `Light`, `Dark` |
263 | 275 | 'theme' => Theme::System, |
264 | 276 |
|
265 | | - // Whether to enable `shorter_stack_traces` by default |
| 277 | + // Whether to enable `Shorter Stack Traces` option by default |
266 | 278 | 'shorter_stack_traces' => false, |
267 | 279 |
|
268 | 280 | ], |
|
0 commit comments