v1.2.3: Fix Connect button not working (missing updateSendButton function declaration)

This commit is contained in:
admin
2026-05-19 16:05:14 +04:00
Unverified
parent 4a45fbb5f9
commit 6b2a68be6a
8 changed files with 918 additions and 699 deletions

View File

@@ -631,6 +631,10 @@ data: [DONE]
## Changelog
### v1.2.3 (2026-05-19)
- Fixed: Connect button not working — missing `updateSendButton()` function declaration caused JS parse error
- All UI event handlers now correctly initialized on app start
### v1.2.2 (2026-05-19)
- Fixed: network error on app backgrounding — now auto-retries with reconnect
- Streaming resumes from last saved token after reconnection (context preserved)

View File

@@ -7,8 +7,8 @@ android {
applicationId "ai.z.chat"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 4
versionName "1.2.2"
versionCode 5
versionName "1.2.3"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
aaptOptions {
ignoreAssetsPattern = '!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~'

1605
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
{
"name": "zai-chat",
"version": "1.2.2",
"version": "1.2.3",
"description": "Z.AI Chat - Full stack AI chat powered by GLM Coding Plan",
"main": "index.js",
"scripts": {

Binary file not shown.

View File

@@ -197,13 +197,21 @@
</div>
<div class="settings-section">
<h3>About</h3>
<p class="about-text">Z.AI Chat v1.2.2</p>
<p class="about-text">Z.AI Chat v1.2.3</p>
<p class="about-text">Built with Z.AI SDK &amp; GLM-5.1</p>
<p class="about-text">Compatible with Android 15/16</p>
</div>
<div class="settings-section">
<h3>Changelog</h3>
<ul class="changelog-list">
<li>
<span class="changelog-version">v1.2.3</span>
<span class="changelog-date">2026-05-19</span>
<ul>
<li>Fixed: Connect button not working — missing function declaration caused JS parse error</li>
<li>All UI event handlers now correctly initialized on app start</li>
</ul>
</li>
<li>
<span class="changelog-version">v1.2.2</span>
<span class="changelog-date">2026-05-19</span>

View File

@@ -675,6 +675,8 @@
}
});
}
function updateSendButton() {
var input = $('#message-input');
var sendBtn = $('#send-btn');
var stopBtn = $('#stop-btn');