Repository navigation
EzyChat: per-chat figures in the Add dialog before the sign-in; release 0.1.8 - #35
Merged
Merged
Conversation
…nect title; release 0.1.8 The dialog asked for the estimate only when EzyChat was connected, so before the sign-in the choices said "Counting chats..." for ever. It now asks like the Gmail dialog; the server answers without counts until the sign-in. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01J4pmGiYS6KFAWVkaAmk27U
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01J4pmGiYS6KFAWVkaAmk27U
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Problem
Before EzyChat was connected, the Add EzyChat dialog showed "Counting chats..." under every history choice for ever. The page asked the server for the estimate only when EzyChat was already connected, so the value never arrived. It looked like the connector was stuck.
Fix
portal.js: the dialog always asks for the estimate, as the Gmail dialog does. Before the sign-in the server answers without counts (liveSamplereturnsnull), so the choices show the cost per chat.view.js: the note "Chat counts appear once EzyChat is connected" depends on the connection, not on the dialog mode, so the Reconnect dialog no longer shows it.Tests
test/ezychat.test.ts: per-chat figures and the note before the sign-in; no "once connected" note on Reconnect. 381 pass.🤖 Generated with Claude Code
https://claude.ai/code/session_01J4pmGiYS6KFAWVkaAmk27U