mirror of
https://github.com/getpaseo/paseo.git
synced 2026-10-22 17:22:47 +00:00
* fix(app): restore character-paced streaming reveal Restore the v0.8 character reveal model and remove the word-level fade implementation so streamed assistant and reasoning text remains opaque, grapheme-safe, and immediately completes when a turn ends. * fix(android): preserve inverted timeline selection React Native's prebuilt Android library does not consume source patches under node_modules. Register the compiled scroll manager before the core package so inverted child-reveal calculations leave focus and text selection in place while normal and explicit scrolling remain unchanged.
21 lines
786 B
TypeScript
21 lines
786 B
TypeScript
import { describe, expect, it } from "vitest";
|
|
|
|
const { configureScrollPackage } = require("./app.plugin");
|
|
|
|
describe("Android scroll registration", () => {
|
|
it("gives the app scroll manager precedence over the prebuilt React Native manager", () => {
|
|
const source = "PackageList(this).packages.apply {\n}";
|
|
const result = configureScrollPackage(source);
|
|
expect(result).toBe(
|
|
"PackageList(this).packages.apply {\n add(0, sh.paseo.scroll.PaseoScrollPackage())\n}",
|
|
);
|
|
expect(configureScrollPackage(result)).toBe(result);
|
|
});
|
|
|
|
it("fails prebuild when the template no longer supports registration", () => {
|
|
expect(() => configureScrollPackage("changed template")).toThrow(
|
|
"Could not register Android scroll behavior",
|
|
);
|
|
});
|
|
});
|