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

Migrate UI from Angular to React #419

Merged
merged 1 commit into from
Oct 27, 2023

Conversation

holly-cummins
Copy link
Collaborator

What’s in this change:

  • Switching UI framework from Angular to React
  • Adding unit tests for the AI
  • Updating docs to remove references to Angular

This change looks big, but almost all of it is deletions. The React app is significantly smaller than its Angular equivalent.

I had to fuss with the css a bit, because I removed material UI and bootstrap. Having them as well as patternfly seemed like an overload of cascading styles.

I have made some changes to the behaviour of the front end when the back end isn’t available. Instead of showing unpopulated UI features, it will explicitly warn that the other services are missing.

I also fixed a missing icon for the narration button.

One thing I have not done is wired the UI tests into the Java test execution. I’ll do that in a follow-up PR, unless we decide we don’t want to do that, in which case I’ll just include them in the build.yml.
We won’t feel really safe accepting dependabot PRs until that’s done.

@holly-cummins holly-cummins requested a review from agoncal October 25, 2023 19:53
@edeandrea
Copy link
Collaborator

Sweet! And once done we should move this to quarkusio/quarkus-super-heroes#290

@agoncal
Copy link
Collaborator

agoncal commented Oct 26, 2023

@holly-cummins I have no UI skills and would be a terrible reviewer. Does anybody in the team have more knowledge and would like to review it ? cc @edeandrea @cescoffier @geoand ?

@geoand
Copy link
Collaborator

geoand commented Oct 26, 2023

Ι have no UI skills

I have even less :)

@holly-cummins holly-cummins force-pushed the migrate-to-react branch 2 times, most recently from 4777ee4 to d3940c6 Compare October 26, 2023 08:32
@github-actions
Copy link

github-actions bot commented Oct 26, 2023

🙈 The PR is closed and the preview is expired.

@edeandrea
Copy link
Collaborator

I can spell typescript.....

@holly-cummins holly-cummins merged commit 8add9b2 into quarkusio:main Oct 27, 2023
6 checks passed
@holly-cummins
Copy link
Collaborator Author

Ok, since no one has opinions about this and I'm fairly confident that (a) the code is reasonable and (b) I've replicated the previous functionality, I will just merge.

@agoncal
Copy link
Collaborator

agoncal commented Oct 27, 2023

Congrats @holly-cummins !!! You just achieved a Yolo Merge: "Merged own pull request without code review"

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.

4 participants