Fossil SCM
Reordered two config menu entries. Removed the enter/ctrl-enter toggle toast because that info is now in the edit widget's placeholder text and the toast can block access to config view entries for a few seconds.
Commit
b2d55ec9475ad0041a2d08fab97da4b79e9f4e8e68b934bf4617ac7700b93e2e
Parent
bca3d7f405f754c…
1 file changed
+2
-4
+2
-4
| --- src/fossil.page.chat.js | ||
| +++ src/fossil.page.chat.js | ||
| @@ -1370,16 +1370,15 @@ | ||
| 1370 | 1370 | boolValue: 'chat-only-mode' |
| 1371 | 1371 | },{ |
| 1372 | 1372 | label: "Show images inline", |
| 1373 | 1373 | hint: "Whether to show images inline or as a hyperlink.", |
| 1374 | 1374 | boolValue: 'images-inline' |
| 1375 | - },{ | |
| 1375 | + },namedOptions.activeUsers,{ | |
| 1376 | 1376 | label: "Timestamps in active users list", |
| 1377 | 1377 | hint: "Whether to show last-message timestamps.", |
| 1378 | 1378 | boolValue: 'active-user-list-timestamps' |
| 1379 | - }, | |
| 1380 | - namedOptions.activeUsers]; | |
| 1379 | + }]; | |
| 1381 | 1380 | |
| 1382 | 1381 | /** Set up selection list of notification sounds. */ |
| 1383 | 1382 | if(1){ |
| 1384 | 1383 | const selectSound = D.select(); |
| 1385 | 1384 | D.option(selectSound, "", "(no audio)"); |
| @@ -1506,11 +1505,10 @@ | ||
| 1506 | 1505 | Chat.settings.addListener('edit-ctrl-send',function(s){ |
| 1507 | 1506 | const label = (s.value ? "Ctrl-" : "")+"Enter submits messages."; |
| 1508 | 1507 | const eInput = Chat.inputElement(); |
| 1509 | 1508 | eInput.dataset.placeholder = eInput.dataset.placeholder0 + " " +label; |
| 1510 | 1509 | Chat.e.btnSubmit.title = label; |
| 1511 | - F.toast.message(label); | |
| 1512 | 1510 | }); |
| 1513 | 1511 | const valueKludges = { |
| 1514 | 1512 | /* Convert certain string-format values to other types... */ |
| 1515 | 1513 | "false": false, |
| 1516 | 1514 | "true": true |
| 1517 | 1515 |
| --- src/fossil.page.chat.js | |
| +++ src/fossil.page.chat.js | |
| @@ -1370,16 +1370,15 @@ | |
| 1370 | boolValue: 'chat-only-mode' |
| 1371 | },{ |
| 1372 | label: "Show images inline", |
| 1373 | hint: "Whether to show images inline or as a hyperlink.", |
| 1374 | boolValue: 'images-inline' |
| 1375 | },{ |
| 1376 | label: "Timestamps in active users list", |
| 1377 | hint: "Whether to show last-message timestamps.", |
| 1378 | boolValue: 'active-user-list-timestamps' |
| 1379 | }, |
| 1380 | namedOptions.activeUsers]; |
| 1381 | |
| 1382 | /** Set up selection list of notification sounds. */ |
| 1383 | if(1){ |
| 1384 | const selectSound = D.select(); |
| 1385 | D.option(selectSound, "", "(no audio)"); |
| @@ -1506,11 +1505,10 @@ | |
| 1506 | Chat.settings.addListener('edit-ctrl-send',function(s){ |
| 1507 | const label = (s.value ? "Ctrl-" : "")+"Enter submits messages."; |
| 1508 | const eInput = Chat.inputElement(); |
| 1509 | eInput.dataset.placeholder = eInput.dataset.placeholder0 + " " +label; |
| 1510 | Chat.e.btnSubmit.title = label; |
| 1511 | F.toast.message(label); |
| 1512 | }); |
| 1513 | const valueKludges = { |
| 1514 | /* Convert certain string-format values to other types... */ |
| 1515 | "false": false, |
| 1516 | "true": true |
| 1517 |
| --- src/fossil.page.chat.js | |
| +++ src/fossil.page.chat.js | |
| @@ -1370,16 +1370,15 @@ | |
| 1370 | boolValue: 'chat-only-mode' |
| 1371 | },{ |
| 1372 | label: "Show images inline", |
| 1373 | hint: "Whether to show images inline or as a hyperlink.", |
| 1374 | boolValue: 'images-inline' |
| 1375 | },namedOptions.activeUsers,{ |
| 1376 | label: "Timestamps in active users list", |
| 1377 | hint: "Whether to show last-message timestamps.", |
| 1378 | boolValue: 'active-user-list-timestamps' |
| 1379 | }]; |
| 1380 | |
| 1381 | /** Set up selection list of notification sounds. */ |
| 1382 | if(1){ |
| 1383 | const selectSound = D.select(); |
| 1384 | D.option(selectSound, "", "(no audio)"); |
| @@ -1506,11 +1505,10 @@ | |
| 1505 | Chat.settings.addListener('edit-ctrl-send',function(s){ |
| 1506 | const label = (s.value ? "Ctrl-" : "")+"Enter submits messages."; |
| 1507 | const eInput = Chat.inputElement(); |
| 1508 | eInput.dataset.placeholder = eInput.dataset.placeholder0 + " " +label; |
| 1509 | Chat.e.btnSubmit.title = label; |
| 1510 | }); |
| 1511 | const valueKludges = { |
| 1512 | /* Convert certain string-format values to other types... */ |
| 1513 | "false": false, |
| 1514 | "true": true |
| 1515 |