-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Web version pt.5 #1747
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
Web version pt.5 #1747
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.
❌ Changes requested. Reviewed everything up to 2c2e29c in 3 minutes and 16 seconds
More details
- Looked at
1036
lines of code in19
files - Skipped
0
files when reviewing. - Skipped posting
19
drafted comments based on config settings.
1. apps/web/client/src/app/project/[id]/_components/right-panel/chat/panel-dropdown.tsx:117
- Draft comment:
setIsChatHistoryOpen is used but not defined. Introduce a state hook or remove this call. - Reason this comment was not posted:
Comment was not on a location in the diff, so it can't be submitted as a review comment.
2. apps/studio/src/lib/user/subscription.ts:15
- Draft comment:
Casting the cached plan to UsagePlanType without parsing may cause errors if the stored value is a string. Consider converting or validating the value. - Reason this comment was not posted:
Comment was on unchanged code.
3. apps/web/client/src/app/project/[id]/_components/canvas/overlay/elements/chat.tsx:61
- Draft comment:
Using document.getElementById directly in functional components can lead to mismatches between the virtual DOM and the actual DOM. Consider using a ref for the element if possible. - Reason this comment was not posted:
Confidence changes required:50%
<= threshold50%
None
4. apps/studio/src/lib/user/subscription.ts:14
- Draft comment:
Consider verifying that 'cachedPlan' (retrieved from localStorage) is valid before casting to UsagePlanType. If null or an unexpected value, a proper default or conversion method might be needed. - Reason this comment was not posted:
Confidence changes required:50%
<= threshold50%
None
5. apps/web/client/src/app/layout.tsx:29
- Draft comment:
The element includes a hardcoded 'dark' class. Confirm if dark mode should be enabled by default or be user‐configurable. - Reason this comment was not posted:
Confidence changes required:30%
<= threshold50%
None
6. apps/web/client/src/app/project/[id]/_components/bottom-bar/index.tsx:80
- Draft comment:
There is a large block of commented-out drag-and-drop code. Consider removing it if it’s not intended for current functionality. - Reason this comment was not posted:
Confidence changes required:20%
<= threshold50%
None
7. apps/web/client/src/app/project/[id]/_components/canvas/frame/right-click.tsx:57
- Draft comment:
The right-click menu action now sets 'rightPanelTab' instead of 'editorPanelTab'. Confirm that this change—and the corresponding UI updates—are intentional and consistent across the codebase. - Reason this comment was not posted:
Confidence changes required:20%
<= threshold50%
None
8. apps/web/client/src/app/project/[id]/_components/canvas/hotkeys/index.tsx:75
- Draft comment:
AI chat hotkeys have been updated to set rightPanelTab. Ensure this change is consistently reflected throughout related components. - Reason this comment was not posted:
Confidence changes required:20%
<= threshold50%
None
9. apps/web/client/src/app/project/[id]/_components/canvas/index.tsx:22
- Draft comment:
The Canvas component no longer accepts 'children' and now renders directly. Confirm that removing the children prop is intentional and that downstream usage is adjusted accordingly. - Reason this comment was not posted:
Confidence changes required:30%
<= threshold50%
None
10. apps/web/client/src/app/project/[id]/_components/canvas/overlay/elements/chat.tsx:90
- Draft comment:
OverlayChat now sets 'rightPanelTab' on submit. Verify that this change correctly triggers the intended UI update for the chat panel. - Reason this comment was not posted:
Confidence changes required:20%
<= threshold50%
None
11. apps/web/client/src/app/project/[id]/_components/left-panel/index.tsx:84
- Draft comment:
LeftPanel implements mouse hover and lock functionality. Ensure that the mouse leave logic (using isMouseInContentPanel) is robust across edge cases. - Reason this comment was not posted:
Confidence changes required:10%
<= threshold50%
None
12. apps/web/client/src/app/project/[id]/_components/right-panel/chat/panel-dropdown.tsx:21
- Draft comment:
PanelDropdown uses updateChatSettings with a Partial object but the ChatSettings type isn’t imported. Consider importing or defining ChatSettings for clarity. - Reason this comment was not posted:
Confidence changes required:40%
<= threshold50%
None
13. apps/web/client/src/app/project/[id]/page.tsx:23
- Draft comment:
The overall page layout has been restructured to include Canvas, TopBar, EditorBar, StagingToggle, LeftPanel, RightPanel, and BottomBar. Verify that the layering and absolute positioning match the design requirements. - Reason this comment was not posted:
Confidence changes required:20%
<= threshold50%
None
14. apps/web/client/src/components/store/editor/engine/index.ts:43
- Draft comment:
StateManager is now instantiated without an engine parameter. Ensure that removing the engine dependency here won’t affect any functionalities that previously relied on it. - Reason this comment was not posted:
Confidence changes required:20%
<= threshold50%
None
15. packages/models/src/editor/index.ts:30
- Draft comment:
New enums 'LeftPanelTabValue' and 'BrandTabValue' have been added. Make sure that all references across the project are updated accordingly. - Reason this comment was not posted:
Confidence changes required:10%
<= threshold50%
None
16. packages/ui-v4/src/components/icons/index.tsx:1650
- Draft comment:
SVG attribute names have been updated to camelCase (e.g. fillRule, clipRule) which is correct for JSX. - Reason this comment was not posted:
Confidence changes required:0%
<= threshold50%
None
17. apps/web/client/src/app/layout.tsx:38
- Draft comment:
There is an extra space in the closing tag (line 38). Consider removing the extra whitespace so it becomes '' for consistency. - Reason this comment was not posted:
Comment was not on a location in the diff, so it can't be submitted as a review comment.
18. apps/web/client/src/app/project/[id]/_components/canvas/index.tsx:48
- Draft comment:
Typo Alert: The variable name 'lintedScale' appears to be a typo. Consider renaming it to 'clampedScale' (or another accurate term) for clarity. - Reason this comment was not posted:
Comment was not on a location in the diff, so it can't be submitted as a review comment.
19. apps/web/client/src/app/project/[id]/_components/right-panel/chat/panel-dropdown.tsx:75
- Draft comment:
Typo detected: Instead of "Auto - apply results", consider using "Auto-apply results". This will make the text more consistent and looks cleaner. - Reason this comment was not posted:
Comment was not on a location in the diff, so it can't be submitted as a review comment.
Workflow ID: wflow_NsqjmcpaUroBN23j
Want Ellipsis to fix these issues? Tag @ellipsis-dev
in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
* add left panel * update ui * add bottom bar * Switch to dark mode
* add left panel * update ui * add bottom bar * Switch to dark mode
Description
Related Issues
Type of Change
Testing
Screenshots (if applicable)
Additional Notes
Important
Add new UI components and update state management for enhanced web client functionality.
BottomBar
,LeftPanel
,RightPanel
, andTopBar
components inapps/web/client/src/app/project/[id]/_components/
.TooltipProvider
inpage.tsx
for consistent tooltip styling.StateManager
instate/index.ts
to manageleftPanelTab
,rightPanelTab
, andeditorMode
.EditorEngine
inengine/index.ts
to use the updatedStateManager
.hotkeys/index.tsx
.bottom-bar/index.tsx
(commented out).right-click.tsx
to handle AI chat actions.TooltipProvider
fromtop-bar/index.tsx
andmode-toggle.tsx
for cleaner code.fillRule
andclipRule
attributes inicons/index.tsx
.This description was created by
for 2c2e29c. It will automatically update as commits are pushed.