Skip to content

Feat transfer data between front ends#215

Open
TejInaco wants to merge 5 commits intoeclipse-editdor:masterfrom
TejInaco:feat-comunication-between-applications
Open

Feat transfer data between front ends#215
TejInaco wants to merge 5 commits intoeclipse-editdor:masterfrom
TejInaco:feat-comunication-between-applications

Conversation

@TejInaco
Copy link
Copy Markdown
Contributor

@TejInaco TejInaco commented Mar 30, 2026

This PR introduces the functionality to receive Thing Descriptions in JSON format within the tmc‑ui and ediTDor applications.
When ediTDor receives a message containing a JSON Thing Description, a dialog is displayed to the user. After the user presses the confirmation button, the Thing Description is automatically uploaded and loaded into ediTDor.

Closes #214

Signed-off-by: Ricardo Silva <rephyrus0877@protonmail.com>
@netlify
Copy link
Copy Markdown

netlify bot commented Mar 30, 2026

Deploy Preview for editdor ready!

Name Link
🔨 Latest commit fcd05d8
🔍 Latest deploy log https://app.netlify.com/projects/editdor/deploys/69cd5a65bc889d00081559f7
😎 Deploy Preview https://deploy-preview-215--editdor.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@TejInaco
Copy link
Copy Markdown
Contributor Author

TejInaco commented Mar 30, 2026

For testing purposes the variable: const APP_TMC_UI_ORIGIN = "http://localhost:5173". To test the fucnionality the tmc-ui also needs to be running on the PR with the same title as this one. The APP_TMC_UI_ORIGIN needs to be update accordingly

@TejInaco TejInaco marked this pull request as draft March 30, 2026 10:51
@TejInaco TejInaco self-assigned this Mar 30, 2026
@TejInaco TejInaco requested a review from egekorkan March 30, 2026 11:04
Signed-off-by: Ricardo Silva <rephyrus0877@protonmail.com>
Signed-off-by: Ricardo Silva <rephyrus0877@protonmail.com>
@TejInaco TejInaco marked this pull request as ready for review April 1, 2026 10:29
TejInaco added 2 commits April 1, 2026 18:47
Signed-off-by: Ricardo Silva <rephyrus0877@protonmail.com>
Signed-off-by: Ricardo Silva <rephyrus0877@protonmail.com>
Copy link
Copy Markdown
Contributor

@egekorkan egekorkan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@TejInaco could you also add information to the readme about the behavior that is expected so that other tools can implement it?

// The useEffect hook for checking the URI was called twice somehow.
// This variable prevents the callback from being executed twice.
let checkedUrl = false;
const APP_TMC_UI_ORIGIN = "http://localhost:5175";
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is necessary?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will add the README information. That is a requirement that needs to be defined. Do we want the ediTDor to be able to receive a message with a TD from any application, or do we want to narrow it down to only the TMC‑UI @egekorkan ?

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.

Add communication between ecosystem applications

2 participants