From 8e6c90b3c47db42f0b889ccd67640aa202c0e793 Mon Sep 17 00:00:00 2001 From: shockrah Date: Fri, 5 Mar 2021 17:48:59 -0800 Subject: [PATCH] =?UTF-8?q?=E2=9E=96=20Removing=20superflous=20css=20in=20?= =?UTF-8?q?some=20jquery=20=E2=9C=A8=20Messages=20now=20has=20its=20own=20?= =?UTF-8?q?properly=20named=20type=20exposed=20for=20other=20modules=20to?= =?UTF-8?q?=20use=20if=20it's=20required=20=E2=9E=95=20New=20jquery=20call?= =?UTF-8?q?s=20in=20messages=20to=20actually=20populate=20the=20message=20?= =?UTF-8?q?box=20with=20the=20last=2048=20hours=20worth=20of=20messages?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- freechat-client/main.js | 7 +------ freechat-client/readme.md | 6 ++++++ freechat-client/src/channels.js | 11 ++++++----- freechat-client/src/messages.js | 26 ++++++++++++++++++++++---- 4 files changed, 35 insertions(+), 15 deletions(-) diff --git a/freechat-client/main.js b/freechat-client/main.js index 3a7c2ab..bb53618 100644 --- a/freechat-client/main.js +++ b/freechat-client/main.js @@ -56,12 +56,7 @@ ipcMain.on('config-request', (event, _arg) => { }) ipcMain.on('config-update', (event, data, target) => { - config = data // update memory config first + config = data // update in-memory config-file first cfg.update_config(data, target) }) -ipcMain.on('http-failure', (event, msg) => { - console.log(event, msg) -}) - - diff --git a/freechat-client/readme.md b/freechat-client/readme.md index fb0cfd3..0530796 100644 --- a/freechat-client/readme.md +++ b/freechat-client/readme.md @@ -1,3 +1,9 @@ +# Status + +Working on Linux Debian however other systems are not tested + this +Debian build is somewhat jank and missing support for a lot of the +API. + # Client Build This will be where we keep the code for the web-based-client. diff --git a/freechat-client/src/channels.js b/freechat-client/src/channels.js index 087fc49..7d56d8f 100644 --- a/freechat-client/src/channels.js +++ b/freechat-client/src/channels.js @@ -42,11 +42,12 @@ function update_channels_list(proto, hostname, port, params) { // wack jquery shit $('#channels-list').append( $('
  • ').append( - $('