From e8398df9fc4337838facb071c4afb37a47f62606aab93135dcac6420858cceac Mon Sep 17 00:00:00 2001 From: AidarKC Date: Sat, 1 Aug 2026 02:29:11 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9A=D0=B0=D0=BD=D0=B0=D0=BB=D1=8B:=20=D0=B8?= =?UTF-8?q?=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=B8=D1=82=D1=8C=20=D1=80=D0=B5?= =?UTF-8?q?=D0=B4=D0=B0=D0=BA=D1=82=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=20=D0=BF=D1=80=D0=BE=D1=84=D0=B8=D0=BB=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../channels/ChannelsReadSupport.java | 2 +- VERSION.properties | 4 ++-- shine-UI/js/services/auth-service.js | 6 ++++-- shine-UI/styles/components.css | 21 ++++++++++--------- 4 files changed, 18 insertions(+), 15 deletions(-) diff --git a/SHiNE-server/shine-server-net-protocol/src/main/java/server/logic/ws_protocol/JSON/handlers/channels/ChannelsReadSupport.java b/SHiNE-server/shine-server-net-protocol/src/main/java/server/logic/ws_protocol/JSON/handlers/channels/ChannelsReadSupport.java index 80c34b84..35fbfc29 100644 --- a/SHiNE-server/shine-server-net-protocol/src/main/java/server/logic/ws_protocol/JSON/handlers/channels/ChannelsReadSupport.java +++ b/SHiNE-server/shine-server-net-protocol/src/main/java/server/logic/ws_protocol/JSON/handlers/channels/ChannelsReadSupport.java @@ -417,7 +417,7 @@ final class ChannelsReadSupport { event.bchName = rs.getString("bch_name"); event.blockNumber = rs.getInt("block_number"); event.blockHash = rs.getBytes("block_hash"); - event.lineStep = (Integer) rs.getObject("this_line_number"); + event.lineStep = null; try { BchBlockEntry entry = new BchBlockEntry(rs.getBytes("block_bytes")); event.createdAtMs = entry.timestamp * 1000L; diff --git a/VERSION.properties b/VERSION.properties index 1a48d601..68cb34db 100644 --- a/VERSION.properties +++ b/VERSION.properties @@ -1,2 +1,2 @@ -client.version=1.4.12 -server.version=1.4.3 +client.version=1.4.13 +server.version=1.4.4 diff --git a/shine-UI/js/services/auth-service.js b/shine-UI/js/services/auth-service.js index eabc5c29..fd1ec31f 100644 --- a/shine-UI/js/services/auth-service.js +++ b/shine-UI/js/services/auth-service.js @@ -2191,9 +2191,11 @@ export class AuthService { if (Number.isFinite(latestBlockNumber) && latestBlockNumber >= 0 && latestBlockHash) { prevLineNumber = latestBlockNumber; prevLineHashHex = latestBlockHash; - thisLineNumber = Number.isFinite(latestLineStep) + thisLineNumber = latest?.kind === 'created' + ? 0 + : Number.isFinite(latestLineStep) ? Math.max(0, latestLineStep + 1) - : Math.max(1, latestBlockNumber === lineCode ? 1 : 0); + : (latestBlockNumber === lineCode ? 0 : 1); } } catch { // fallback to root anchor diff --git a/shine-UI/styles/components.css b/shine-UI/styles/components.css index 3254a030..d4dbfd0c 100644 --- a/shine-UI/styles/components.css +++ b/shine-UI/styles/components.css @@ -4351,17 +4351,17 @@ textarea.input { font-size: 12px; } - .channel-row { - grid-template-columns: 40px minmax(0, 1fr) 64px; +.channel-row { + grid-template-columns: 64px minmax(0, 1fr) 64px; gap: 10px; padding: 12px; } .channel-row .avatar { - width: 38px; - height: 38px; - min-width: 38px; - min-height: 38px; + width: 64px; + height: 64px; + min-width: 64px; + min-height: 64px; } .channel-row-title { @@ -5034,10 +5034,11 @@ textarea.input { } .channel-row .avatar { - width: 44px; - height: 44px; - min-width: 44px; - min-height: 44px; + width: 68px; + height: 68px; + min-width: 68px; + min-height: 68px; + border-radius: 50%; color: #ffffff; font-weight: 700; }