Skip to content

Conversation

@Junyi-99
Copy link
Member

@Junyi-99 Junyi-99 commented Dec 7, 2025

Note

Removes the beta settings import and performs small UI/JSX cleanups across tools and login components.

  • Frontend:
    • Settings: Remove BetaFeatureSettings import in views/settings/index.tsx.
    • Tools (JSON-RPC): Tidy collapsible content and inline error rendering in components/message-entry-container/tools/jsonrpc.tsx; minor prop formatting in tools.tsx.
    • Loading/Login: Minor JSX/formatting adjustments in loading-indicator.tsx and views/login/index.tsx.
    • Misc: Small CSS and whitespace cleanups in index.css and libs/overleaf-socket.ts.

Written by Cursor Bugbot for commit 81a4220. This will update automatically on new commits. Configure here.

Copilot AI review requested due to automatic review settings December 7, 2025 17:41
@Junyi-99 Junyi-99 changed the title Chore-disable-beta-feature chore: disable-beta-feature Dec 7, 2025
@Junyi-99 Junyi-99 merged commit 0ef3891 into main Dec 7, 2025
3 of 4 checks passed
@Junyi-99 Junyi-99 deleted the chore-disable-beta-feature branch December 7, 2025 17:42
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR disables beta feature settings in the application and applies code formatting improvements across multiple files. The main functional change removes the BetaFeatureSettings component from the settings page, while the remaining changes are purely cosmetic formatting updates to improve code consistency.

  • Removed BetaFeatureSettings component from settings page
  • Applied consistent formatting to JSX elements (proper indentation and line breaks)
  • Cleaned up whitespace and quote style inconsistencies

Reviewed changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
webapp/_webapp/src/views/settings/index.tsx Removed BetaFeatureSettings import and component usage
webapp/_webapp/src/views/login/index.tsx Reformatted JSX with consistent indentation and parentheses placement
webapp/_webapp/src/libs/overleaf-socket.ts Removed trailing whitespace
webapp/_webapp/src/index.css Removed blank line before Chinese comment
webapp/_webapp/src/components/message-entry-container/tools/utils/common.tsx Reformatted with consistent indentation and double quotes
webapp/_webapp/src/components/message-entry-container/tools/tools.tsx Improved JSX formatting with multi-line prop placement
webapp/_webapp/src/components/message-entry-container/tools/jsonrpc.tsx Reformatted JSX elements with consistent indentation and structure
webapp/_webapp/src/components/loading-indicator.tsx Split long conditional return statement across multiple lines

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

if (jsonRpcResult) {
return <JsonRpc functionName={functionName} jsonRpcResult={jsonRpcResult} preparing={preparing} animated={animated} />;
return (
<JsonRpc functionName={functionName} jsonRpcResult={jsonRpcResult} preparing={preparing} animated={animated} />
Copy link

Copilot AI Dec 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Inconsistent JSX formatting: This line should be formatted across multiple lines like the similar JSX element above (lines 49-56) for consistency.

Suggested change
<JsonRpc functionName={functionName} jsonRpcResult={jsonRpcResult} preparing={preparing} animated={animated} />
<JsonRpc
functionName={functionName}
jsonRpcResult={jsonRpcResult}
preparing={preparing}
animated={animated}
/>

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants