-
Notifications
You must be signed in to change notification settings - Fork 63
chore: disable-beta-feature #35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this 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} /> |
Copilot
AI
Dec 7, 2025
There was a problem hiding this comment.
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.
| <JsonRpc functionName={functionName} jsonRpcResult={jsonRpcResult} preparing={preparing} animated={animated} /> | |
| <JsonRpc | |
| functionName={functionName} | |
| jsonRpcResult={jsonRpcResult} | |
| preparing={preparing} | |
| animated={animated} | |
| /> |
Note
Removes the beta settings import and performs small UI/JSX cleanups across tools and login components.
BetaFeatureSettingsimport inviews/settings/index.tsx.components/message-entry-container/tools/jsonrpc.tsx; minor prop formatting intools.tsx.loading-indicator.tsxandviews/login/index.tsx.index.cssandlibs/overleaf-socket.ts.Written by Cursor Bugbot for commit 81a4220. This will update automatically on new commits. Configure here.