Fossil SCM

Chat button truncation fix on narrow windows. Updated change log for new chat features.

stephan 2021-10-01 13:40 UTC chat-input-rework
Commit d92a8f07b87c1239e6ddff39f9944dd77c4c0217198cfece20fcaa81657532ba
2 files changed +2 -2 +13 -9
--- src/style.chat.css
+++ src/style.chat.css
@@ -184,11 +184,11 @@
184184
margin-bottom: 0;
185185
}
186186
#chat-input-field {
187187
display: inline-block/*supposed workaround for Chrome weirdness*/;
188188
padding: 0.2em;
189
- flex: 50 1 85%;
189
+ flex: 2 20 auto;
190190
background-color: rgba(156,156,156,0.3);
191191
overflow: auto;
192192
}
193193
#chat-input-field:empty::before {
194194
content: attr(data-placeholder);
@@ -221,11 +221,11 @@
221221
}*/
222222
body.chat #chat-input-line.compact #chat-input-field {
223223
}
224224
225225
body.chat #chat-edit-buttons {
226
- flex: 1 1 auto;
226
+ flex: 0 1 auto;
227227
display: flex;
228228
flex-direction: column;
229229
justify-content: space-between;
230230
min-width: 4em;
231231
min-height: 1.5em;
232232
--- src/style.chat.css
+++ src/style.chat.css
@@ -184,11 +184,11 @@
184 margin-bottom: 0;
185 }
186 #chat-input-field {
187 display: inline-block/*supposed workaround for Chrome weirdness*/;
188 padding: 0.2em;
189 flex: 50 1 85%;
190 background-color: rgba(156,156,156,0.3);
191 overflow: auto;
192 }
193 #chat-input-field:empty::before {
194 content: attr(data-placeholder);
@@ -221,11 +221,11 @@
221 }*/
222 body.chat #chat-input-line.compact #chat-input-field {
223 }
224
225 body.chat #chat-edit-buttons {
226 flex: 1 1 auto;
227 display: flex;
228 flex-direction: column;
229 justify-content: space-between;
230 min-width: 4em;
231 min-height: 1.5em;
232
--- src/style.chat.css
+++ src/style.chat.css
@@ -184,11 +184,11 @@
184 margin-bottom: 0;
185 }
186 #chat-input-field {
187 display: inline-block/*supposed workaround for Chrome weirdness*/;
188 padding: 0.2em;
189 flex: 2 20 auto;
190 background-color: rgba(156,156,156,0.3);
191 overflow: auto;
192 }
193 #chat-input-field:empty::before {
194 content: attr(data-placeholder);
@@ -221,11 +221,11 @@
221 }*/
222 body.chat #chat-input-line.compact #chat-input-field {
223 }
224
225 body.chat #chat-edit-buttons {
226 flex: 0 1 auto;
227 display: flex;
228 flex-direction: column;
229 justify-content: space-between;
230 min-width: 4em;
231 min-height: 1.5em;
232
+13 -9
--- www/changes.wiki
+++ www/changes.wiki
@@ -36,19 +36,23 @@
3636
* The [/help?cmd=wiki|wiki list command] no longer lists "deleted"
3737
pages by default. Use the new <tt>--all</tt> option to include deleted
3838
pages in the output.
3939
* The [/help?cmd=all|fossil all git status] command only shows reports for
4040
the subset of repositories that have a configured Git export.
41
- * Enhanced the [/help?cmd=/chat|/chat page] configuration and added the ability
42
- for a repository administrator to [./chat.md#notifications|extend the
43
- selection of notification sounds via unversioned files].
44
- * The [/help?cmd=/chat|/chat] messages now use fossil's full complement of
45
- markdown features, instead of the prior small subset of markup it
46
- previously supported. This retroactively applies to all chat messages,
47
- as they are markdown-processed when they are sent instead of when they
48
- are saved. Added a preview mode so messages can be previewed before
49
- being sent. See [./chat.md#usage|the chat docs] for more details.
41
+ * The [/help?cmd=/chat|/chat] configuration was reimplemented and
42
+ provides new options, including the ability for a repository
43
+ administrator to
44
+ [./chat.md#notifications|extend the selection of notification sounds]
45
+ using unversioned files.
46
+ * Chat now uses fossil's full complement of markdown features,
47
+ instead of the prior small subset of markup it previously supported.
48
+ This retroactively applies to all chat messages, as they are
49
+ markdown-processed when they are sent instead of when they
50
+ are saved.
51
+ * Added a chat message preview mode so messages can be previewed
52
+ before being sent. Similarly, added a per-message ability to view
53
+ the raw un-parsed message text.
5054
* The hotkey to activate preview mode in [/help?cmd=/wikiedit|/wikiedit],
5155
[/help?cmd=/fileedit|/fileedit], and [/help?cmd=/pikchrshow|/pikchrshow]
5256
was changed from ctrl-enter to shift-enter in order to align with
5357
[/help?cmd=/chat|/chat]'s new preview feature and related future
5458
changes.
5559
--- www/changes.wiki
+++ www/changes.wiki
@@ -36,19 +36,23 @@
36 * The [/help?cmd=wiki|wiki list command] no longer lists "deleted"
37 pages by default. Use the new <tt>--all</tt> option to include deleted
38 pages in the output.
39 * The [/help?cmd=all|fossil all git status] command only shows reports for
40 the subset of repositories that have a configured Git export.
41 * Enhanced the [/help?cmd=/chat|/chat page] configuration and added the ability
42 for a repository administrator to [./chat.md#notifications|extend the
43 selection of notification sounds via unversioned files].
44 * The [/help?cmd=/chat|/chat] messages now use fossil's full complement of
45 markdown features, instead of the prior small subset of markup it
46 previously supported. This retroactively applies to all chat messages,
47 as they are markdown-processed when they are sent instead of when they
48 are saved. Added a preview mode so messages can be previewed before
49 being sent. See [./chat.md#usage|the chat docs] for more details.
 
 
 
 
50 * The hotkey to activate preview mode in [/help?cmd=/wikiedit|/wikiedit],
51 [/help?cmd=/fileedit|/fileedit], and [/help?cmd=/pikchrshow|/pikchrshow]
52 was changed from ctrl-enter to shift-enter in order to align with
53 [/help?cmd=/chat|/chat]'s new preview feature and related future
54 changes.
55
--- www/changes.wiki
+++ www/changes.wiki
@@ -36,19 +36,23 @@
36 * The [/help?cmd=wiki|wiki list command] no longer lists "deleted"
37 pages by default. Use the new <tt>--all</tt> option to include deleted
38 pages in the output.
39 * The [/help?cmd=all|fossil all git status] command only shows reports for
40 the subset of repositories that have a configured Git export.
41 * The [/help?cmd=/chat|/chat] configuration was reimplemented and
42 provides new options, including the ability for a repository
43 administrator to
44 [./chat.md#notifications|extend the selection of notification sounds]
45 using unversioned files.
46 * Chat now uses fossil's full complement of markdown features,
47 instead of the prior small subset of markup it previously supported.
48 This retroactively applies to all chat messages, as they are
49 markdown-processed when they are sent instead of when they
50 are saved.
51 * Added a chat message preview mode so messages can be previewed
52 before being sent. Similarly, added a per-message ability to view
53 the raw un-parsed message text.
54 * The hotkey to activate preview mode in [/help?cmd=/wikiedit|/wikiedit],
55 [/help?cmd=/fileedit|/fileedit], and [/help?cmd=/pikchrshow|/pikchrshow]
56 was changed from ctrl-enter to shift-enter in order to align with
57 [/help?cmd=/chat|/chat]'s new preview feature and related future
58 changes.
59

Keyboard Shortcuts

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