Skip to content

refactor: improve chat scroll behavior and reorganize platform constants

796bf9c
Select commit
Loading
Failed to load commit list.
Merged

refactor: improve chat scroll behavior and reorganize platform constants #324

refactor: improve chat scroll behavior and reorganize platform constants
796bf9c
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Jun 27, 2025 in 1s

13.92% of diff hit (target 64.12%)

View this Pull Request on Codecov

13.92% of diff hit (target 64.12%)

Annotations

Check warning on line 6 in packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts#L6

Added line #L6 was not covered by tests

Check warning on line 18 in packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts#L18

Added line #L18 was not covered by tests

Check warning on line 23 in packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts#L22-L23

Added lines #L22 - L23 were not covered by tests

Check warning on line 26 in packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts#L26

Added line #L26 was not covered by tests

Check warning on line 31 in packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts#L29-L31

Added lines #L29 - L31 were not covered by tests

Check warning on line 35 in packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts#L33-L35

Added lines #L33 - L35 were not covered by tests

Check warning on line 40 in packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts#L38-L40

Added lines #L38 - L40 were not covered by tests

Check warning on line 44 in packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts#L43-L44

Added lines #L43 - L44 were not covered by tests

Check warning on line 49 in packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts#L47-L49

Added lines #L47 - L49 were not covered by tests

Check warning on line 53 in packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts#L52-L53

Added lines #L52 - L53 were not covered by tests

Check warning on line 60 in packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts#L60

Added line #L60 was not covered by tests

Check warning on line 64 in packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts#L64

Added line #L64 was not covered by tests

Check warning on line 69 in packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts#L68-L69

Added lines #L68 - L69 were not covered by tests

Check warning on line 76 in packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts#L72-L76

Added lines #L72 - L76 were not covered by tests

Check warning on line 80 in packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts#L78-L80

Added lines #L78 - L80 were not covered by tests

Check warning on line 85 in packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts#L83-L85

Added lines #L83 - L85 were not covered by tests

Check warning on line 88 in packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts#L87-L88

Added lines #L87 - L88 were not covered by tests

Check warning on line 92 in packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts#L91-L92

Added lines #L91 - L92 were not covered by tests

Check warning on line 94 in packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts#L94

Added line #L94 was not covered by tests

Check warning on line 97 in packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts#L97

Added line #L97 was not covered by tests

Check warning on line 102 in packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts#L99-L102

Added lines #L99 - L102 were not covered by tests

Check warning on line 107 in packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts#L105-L107

Added lines #L105 - L107 were not covered by tests

Check warning on line 110 in packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts#L109-L110

Added lines #L109 - L110 were not covered by tests

Check warning on line 115 in packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts#L113-L115

Added lines #L113 - L115 were not covered by tests

Check warning on line 118 in packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-cloudflare/src/client/hooks/use-scroll-to-bottom.ts#L117-L118

Added lines #L117 - L118 were not covered by tests