Skip to content

feat: add component tab and creation functionality #18

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Kitenite
Copy link

Description

Close: onlook-dev#1602

This PR Introduces a new component tab and enables component creation functionality.

Related Issues

Type of Change

  • Bug fix
  • New feature
  • Documentation update
  • Release
  • Refactor
  • Other (please describe):

Testing

Screenshots (if applicable)

Additional Notes


Important

Adds component tab and functionality for creating, renaming, duplicating, and deleting components in the editor.

  • Behavior:
    • Adds component creation, duplication, renaming, and deletion functions in components.ts.
    • Updates code.ts to handle new IPC channels for component operations.
    • Implements component tab UI in ComponentsTab.tsx and integrates with LayersPanel.
  • Models:
    • Adds LeftTabValue enum in models.ts for tab management.
  • IPC Channels:
    • Adds DUPLICATE_COMPONENT, RENAME_COMPONENT, CREATE_COMPONENT, DELETE_COMPONENT channels in ipc.ts.
  • Misc:
    • Updates EditorEngine and ProjectInfoManager to manage component operations and state.

This description was created by Ellipsis for 06147e1. It will automatically update as commits are pushed.

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.

[feat] Component tab & ability to create component
2 participants