Skip to content
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

UI - Migrate to typescript #1688

Merged
merged 4 commits into from
Jul 20, 2023
Merged

Conversation

thfries
Copy link
Contributor

@thfries thfries commented Jul 12, 2023

Hi @thjaeckle,

I switched the whole project to typescript.
By now, types were only introduced were needed. There are a lot of further improvements possible, that could be added over time.
Already some smaller issues were discovered, too. And I still want to investigate.

Sorry for not picking the issues with the features, but I m sure this pays off over time. I try to not block this for too long.

@thjaeckle
Copy link
Member

Hi @thfries
Cool, that is a good initiative.
I will look into it.
Also, we probably have to adjust the build, right?

I noticed that the Java sources are compiled when doing a UI PR.
That should also be changed to only transpile Typescript.
I can have a look into that..

@thjaeckle thjaeckle added this to the 3.4.0 milestone Jul 13, 2023
-add ditto error description to error toast
@thfries
Copy link
Contributor Author

thfries commented Jul 13, 2023

Oh, where is the compilation of java files triggered?
The build should already work as esbuild is processing ts files by default.
I added a tsc -noEmit to the build step, but I think it is optional.

Did another change to the error display, because the ditto error description was ignored.

Rest seems good now.

@thfries thfries marked this pull request as ready for review July 13, 2023 19:44
@thfries
Copy link
Contributor Author

thfries commented Jul 13, 2023

I forgot: ditto sandbox seems to be down?

@thjaeckle
Copy link
Member

I forgot: ditto sandbox seems to be down?

Thanks for notifying.. I renewed the certificate which was outdated.

@thjaeckle thjaeckle added the UI Issues related to the Ditto explorer UI label Jul 20, 2023
* excluded ui/ changes from "normal" maven build on PRs

Signed-off-by: Thomas Jäckle <thomas.jaeckle@beyonnex.io>
Copy link
Member

@thjaeckle thjaeckle left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@thjaeckle thjaeckle merged commit 48eea43 into eclipse-ditto:master Jul 20, 2023
@thfries thfries deleted the ui_typescript branch July 21, 2023 05:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
UI Issues related to the Ditto explorer UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants