NexFlow 1.6.0 — 複製流程、自適應小工具,以及四個只在實機現形的問題 - #11
Merged
Conversation
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
…es not The two get mixed up because their summaries read as the same sentence. The trigger fires once, at the crossing; the condition is checked before every run and starts nothing by itself. Both config dialogs now lead with a note saying so, and a trigger summary reads "Drops to 20% or below" where the condition's reads "While at or below 20%" — instead of both saying "20% below". The section headers and the trigger's "when" label follow the same wording in the three translations. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
…things that only showed up on a real phone Release 1.6.0 (versionCode 11). No new automation; this is the round of "something here is off" that only a light theme, a resized widget and a failing API call could produce. Duplicating a flow (detail screen, ⋮ → Duplicate flow) copies everything and saves the copy DISABLED: carrying the enabled flag over would have the copy register its own triggers the moment it is saved — the same alarm, the same geofence, running twice before the user has changed a thing. Trigger, condition and action ids are regenerated too, because a trigger id is what the engine registers real system resources under, and two flows sharing one would fight over the registration. The three top-bar icons move into that ⋮. The flow name is the only thing on that screen saying which flow is being edited, and three icons cut it down to six characters — a copy could not be told from its original. The widget now lays itself out from its real size (SizeMode.Exact): columns from how wide a card is allowed to be (92dp floor) rather than from screen-width breakpoints, whole rows only, and cards stretched to fill what is left. The old breakpoints put four columns past 430dp — unreachable on a ~400dp phone home screen — while handing out 69dp cards at 180dp. A short widget switches its cards to icon-beside-name, so a 4x1 is one row of two whole cards instead of a row cut in half. Widget state keeps 12 flows (recents first, topped up with the rest) instead of sharing the launcher's four, the header drops out below 150dp, and "2/22" is now "2/22 on". Also replaces the lazy list with a plain Column: a RemoteViews collection loads its rows asynchronously, so every resize flashed an empty widget and left a scrollbar down the side. The grid already works out what fits. Fixed: - The running-flows panel had its drop shadow cut off square. Its popup window was sized to the panel, leaving the shadow nowhere to fall. It now fills the window, which also gives the panel a scrim to sit on. - The executing action was highlighted with primary at 18% alpha over an 8dp shadow. A translucent surface does not hide its own shadow, so in light theme the shadow showed through as a grey smear under the text; dark theme hid it, which is why it lasted. Now primaryContainer/onPrimaryContainer and no shadow, which is how M3 says to render state. - Flicking a flow's switch bumped updated_at, and the list is ordered by it, so the flow shot to the top and out from under the finger. Toggling is not an edit. - Toasts queue rather than replace, so a loop that toasts three times was still popping messages six seconds after the flow had finished. Each one now cancels the one on screen. - Retrying a failed AI turn drew two bubbles on top of each other: retry deletes the error and starts the turn in the same breath, so the indicator landed in the slot the error was still fading out of. The error bubble now leaves without a fade (fadeOutSpec = null); the indicator gains the entry animation it never had. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Same four blocks in every language: the two things the user can see (duplicate, the widget), the battery trigger/condition distinction, then the fixes. English runs to 496 of the 500 characters Play allows, so its sentences are cut shorter than the CJK ones rather than a whole block being dropped. The 1.5.1 copy is no longer in the file; the footnote says which commit to read it out of. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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.
1.6.0(versionCode 11)。沒有新的自動化能力,處理的是「用起來哪裡不對勁」。
新增
SizeMode.Exact):欄數由「一張卡片放得下」決定(92dp 下限),只取整數列並把卡片撐開填滿;矮的時候卡片改橫式,4×1 就是完整的兩張卡。狀態改存 12 個流程;標頭在 150dp 以下隱藏;「2/22」改為「2/22 已啟用」。變更
updated_at—— 清單照它排序,開關一撥流程就從指尖底下飛到第一位。修正
primary18% 透明度擋不住自己的 8dp 陰影,陰影直接透出來壓在文字下(深色模式看不見,所以一直沒被發現)。改用primaryContainer/onPrimaryContainer並移除陰影。驗證
Play 的四語文案已寫進
docs/play-release-notes.md。合併後 release workflow 會建立 tagv1.6.0與 GitHub Release。🤖 Generated with Claude Code