134 Commits

Author SHA1 Message Date
Louis Knight-Webb
5a478f7742 bump 2025-10-22 11:08:54 +01:00
Louis Knight-Webb
4e22fc74db Change logic for showing the click to edit button (vibe-kanban dafaba7f)
- Currently shown if displayed in an iframe
- Instead should display if receive signal from parent via iframe communication (existing message)
2025-10-22 11:08:02 +01:00
Louis Knight-Webb
b25c536f8b README link 2025-09-26 16:07:01 +01:00
Louis Knight-Webb
582c7e537a bump 2025-09-26 16:04:07 +01:00
Louis Knight-Webb
6295cad54c fix examples 2025-09-26 15:53:35 +01:00
Louis Knight-Webb
6a58f45694 package metadata 2025-09-26 15:18:00 +01:00
Louis Knight-Webb
ebb0c9f3e6 README update 2025-09-26 15:11:43 +01:00
Louis Knight-Webb
ee91d8624f Fix image 2025-09-26 14:59:10 +01:00
Louis Knight-Webb
340a13f4ea Tweaks (vibe-kanban cf848f2d)
- Only show the circle in the bottom right hand corner if the site is inside an iframe
2025-09-26 12:46:48 +01:00
Louis Knight-Webb
147db5660e Cleanup (vibe-kanban dc18a724)
- Remove the API requests, they're not used (we use iframe communication now)
- Disable the context menu, we are instead rendering a visualisation in the parent iframe
2025-09-26 12:33:16 +01:00
Louis Knight-Webb
dc243ee2c7 Send post at right point 2025-09-26 10:14:30 +01:00
Louis Knight-Webb
fe6ae809ff Iframe communication (vibe-kanban e1be4a05)
As well as triggering the context menu to open, when the user clicks on a react item we should communicate with the parent page (this is all loaded in an iframe).

As it's a dev environment we need to keep security low, so don't check domains.
2025-09-26 09:40:49 +01:00
Louis Knight-Webb
4faf9f2284 Display textarea (vibe-kanban ad87c626)
Instead of showing the contextmenu, we should show a textarea followed by the list of components currently displayed in the contextmenu, as well as a submit button when text has been entered.

The components currently in the contextmenu are no longer clickable.

For now, when the submit button is pressed, we should just console log.
2025-09-18 22:36:00 +01:00
Louis Knight-Webb
663ac10089 Add button overlay in corner (vibe-kanban 4345d34e)
Currently the context menu is only triggered by Option-Click on a component. I would like to add an additional method, where we constantly have a fixed circle in the bottom right of the screen that when clicked, changes the user's cursor to a target, when the user next clicks on the screen the context menu is triggered for the component at that location

packages/click-to-react-component/src/ContextMenu.js
2025-09-18 17:55:02 +01:00
Louis Knight-Webb
230e621771 pnpm 2025-09-18 16:50:17 +01:00
Sakina
ba28045249 fix: improve exports to support import fallback (#94)
* fix: improve exports to support import fallback

* chore: changeset
2025-05-28 10:35:40 -05:00
Eric Clemmons
03e05cd6be defer to build 2024-11-03 17:05:17 -06:00
Eric Clemmons
bd4b288a1d Fix lint issues 2024-11-03 12:09:03 -06:00
Eric Clemmons
6a2fe0cca3 --fix-lockfile gain 2024-11-03 11:46:59 -06:00
Eric Clemmons
8ec213e14d Merge branch 'main' of github.com:ericclemmons/click-to-component 2024-11-03 11:46:41 -06:00
Eric Clemmons
8e51c6d710 --fix-lockfile 2024-11-03 11:46:35 -06:00
github-actions[bot]
9c98f4115d Version Packages (#91)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-02 17:27:19 -05:00
Eric Clemmons
ce73696a0c Update patch 2024-11-02 17:26:27 -05:00
Eric Clemmons
5fcd13b146 Merge branch 'main' of github.com:ericclemmons/click-to-component 2024-11-02 17:24:50 -05:00
Eric Clemmons
371be479d9 Max 50% ContextMenu width 2024-11-02 17:24:47 -05:00
Eric Clemmons
3cbb570db8 Fixes #89 (#92) 2024-11-02 17:23:31 -05:00
Eric Clemmons
68af142fc3 Update lockfile 2024-11-02 11:37:57 -05:00
Alan.He
32bd930dae feat: support cursor editor (#88)
Co-authored-by: Eric Clemmons <eric@smarterspam.com>
2024-11-01 21:59:44 -05:00
github-actions[bot]
cb0135c510 Version Packages (#90)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-01 21:58:20 -05:00
Rantetsu Inori
06bff873dc Fix TypeScript error "Could not find a declaration file for module" (#84)
Co-authored-by: Eric Clemmons <eric@smarterspam.com>
2024-11-01 21:54:04 -05:00
Leonidas
a9db3e1164 dx: better error logging 2023-12-13 18:38:03 +01:00
Leonidas
2542c6af39 fix<material UI> (#79)
* fix<github-issue, mui>
2023-12-13 18:34:18 +01:00
Eric Clemmons
7accb05c0e Update pnpm-lock.yaml 2023-11-25 13:20:50 -06:00
github-actions[bot]
fe99c6a53c Version Packages (#76)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-25 13:18:57 -06:00
Eric Clemmons
76b5c3b518 Update lockfile 2023-11-25 13:17:13 -06:00
Hossein Saniei
9246a89c5a Add Remix/ESBuild support by checking the _debugOwner._debugSource (#73)
* fix: add support to specify project's root

* fix: add path modifier

* fix: remove bad code

* fix: add changeset

* fix: remix example

* fix: use pathModifier in ContextMenu

---------

Co-authored-by: Eric Clemmons <eric@smarterspam.com>
2023-11-25 13:08:07 -06:00
Álef Duarte
b56ca31608 Update actions to use Node.js 16 (#74) 2023-11-25 13:06:45 -06:00
Jufeng Zhang
aca85a849c Fix can't open file in VS Code 1.84 (#75)
fix: vscode url with absolute path
2023-11-25 13:06:26 -06:00
Tech Boy Harry
67721921ad Update README.md (#63)
Add docusaurus usage
Post container developing issuse

Co-authored-by: LittleboyHarry <littleboyharry@qq.com>
2023-03-30 15:30:00 -05:00
Tech Boy Harry
d1242d12b5 Release hover state on window blur (#64)
Update ClickToComponent.js

Release HOVER state on blur.

Co-authored-by: LittleboyHarry <littleboyharry@qq.com>
2023-03-30 12:48:52 -05:00
github-actions[bot]
e4207cd442 Version Packages (#57)
* Version Packages

* Delete CHANGELOG.md

* Update apps/next/package.json

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Eric Clemmons <eric@smarterspam.com>
2022-07-07 16:46:37 -05:00
Eric Clemmons
dc2932568c Revert "Attempt to fix devtools image"
This reverts commit 604c202d5f.
2022-06-24 16:36:31 -05:00
Eric Clemmons
9db82d4d4a Revert "Move more images to package"
This reverts commit 2b0ef523e9.
2022-06-24 16:36:22 -05:00
Eric Clemmons
2b0ef523e9 Move more images to package 2022-06-24 14:27:18 -05:00
Eric Clemmons
604c202d5f Attempt to fix devtools image 2022-06-24 14:22:27 -05:00
Eric Clemmons
5face1b965 Ignore apps 2022-06-24 14:18:58 -05:00
Yoki
ad849e4daf Improve UX, prevent flicker, jump into editor seamlessly (#53)
Co-authored-by: Eric Clemmons <eric@smarterspam.com>
2022-06-24 14:14:02 -05:00
Eric Clemmons
eaad7257af Update lock file to fix "latest" issue 2022-06-24 14:07:45 -05:00
Eric Clemmons
535727a05b Try to fix "TypeError: Invalid comparator: latest" 2022-06-11 11:13:40 -06:00
Eric Clemmons
5f65f3d52b Upgrade dependencies 2022-06-11 11:04:41 -06:00