onlook
onlook copied to clipboard
feat: Implement pages functionality
Description
Related Issues
Type of Change
- Added page scanning and page tree functionalities
- Create page
- Delete page
- Rename page
- Duplicate page
- [ ] Bug fix
- [x] New feature
- [ ] Documentation update
- [ ] Release
- [ ] Refactor
- [ ] Other (please describe):
Testing
Screenshots (if applicable)
Additional Notes
[!IMPORTANT] Implements page management functionality using sandbox sessions and updates dependencies for code parsing.
- Behavior:
- Enables
Pagestab inindex.tsxby removingdisabled: true.- Implements
scanPagesFromSandbox,createPageInSandbox,deletePageInSandbox,renamePageInSandbox,duplicatePageInSandboxinhelper.tsfor page management.- Replaces fake data with real page scanning in
PagesManagerinindex.ts.- Dependencies:
- Adds
@babel/parser,@babel/traverse,@babel/typestopackage.jsonfor parsing and traversing code.- Updates
bun.lockto reflect new dependencies.- Misc:
- Adds
useEffectinpage-tab/index.tsxto callscanPageson component mount.This description was created by
for 805fe07892db78e0ea4ea316a78c9c6d302409b5. You can customize this summary. It will automatically update as commits are pushed.
@iNerdStack is attempting to deploy a commit to the Onlook Team on Vercel.
A member of the Team first needs to authorize it.