Warning: session_start(): open(/var/lib/php/sessions/sess_5e6gicjr5f66copl6lldv22km3, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
static JComponent ele_renderSuggestions(S madeFromInput, Iterable suggestions) {
ret jscroll_trackWidth(vstackWithSpacing(map(takeFirst(100, suggestions), s -> {
JComponent c = withSideMargin(jLabelWithButtons(s,
"+", rThread { ele_logItemFeedback(true, s, madeFromInput) },
"-", rThread { ele_logItemFeedback(false, s, madeFromInput) },
"Say", rThread { ele_logItemFeedback(true, s, madeFromInput, button := "Say"); dm_say(s) },
"Submit", rThread {
ele_logItemFeedback(true, s, madeFromInput, button := "Submit");
dm_setAIBarTextAndFireWithInfo(s, "user-chosen in " + dm_moduleLibID());
}));
setToolTip(findButton(c, "Submit"), "Submit as new input");
ret c;
})));
}