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

Rebuild web client using npm, ts and vuejs #1

Merged
merged 80 commits into from
Jan 13, 2023

Conversation

maximilianruesch
Copy link
Owner

@maximilianruesch maximilianruesch commented Nov 26, 2022

This PR refactors the web client to use TypeScript, Vue.js, VueX and NPM. It thus enhances the development and production deployment experience for the webclient as before just about plain javascript was used.

Having installed npm, the setup and starting the HMR dev-server is rather easy:
image

Production deployment gets a whole lot easier too:
image

The bulk load of this PR is the package-lock.json (abt 5000 lines) and the removal of the hardcoded dependencies. The following packages got upgraded with this PR:

  • GoldenLayout v1 -> v2.6
  • maplibe-gl v1.15.3 -> v2.4

This PR also disables clearing the cache, as it was not usable before the PR too. Trying the clear the cache resulted in an error, so it was disabled:
image

Closes #4

@maximilianruesch maximilianruesch marked this pull request as ready for review December 18, 2022 18:33
@Goldkehle Goldkehle requested a review from rydeom December 21, 2022 09:46
Copy link
Collaborator

@rydeom rydeom left a comment

Choose a reason for hiding this comment

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

Overall noice 1. I could not really go deep. I have no clue what excalty your doing. But the weir indent make it hard to read. And some files are javascript. I am not sure why. But still goood job.

web/client/src/App.vue Outdated Show resolved Hide resolved
web/client/src/App.vue Outdated Show resolved Hide resolved
web/client/src/App.vue Show resolved Hide resolved
web/client/src/util/iterate.js Show resolved Hide resolved
web/client/src/util/iterate.js Outdated Show resolved Hide resolved
web/client/src/components/soro-select.vue Outdated Show resolved Hide resolved
web/client/.eslintrc.cjs Outdated Show resolved Hide resolved
Copy link
Collaborator

@rydeom rydeom left a comment

Choose a reason for hiding this comment

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

N1

Copy link
Collaborator

@rydeom rydeom left a comment

Choose a reason for hiding this comment

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

Good job

# Conflicts:
#	.github/workflows/linux.yml
#	cmake/soro-server-client.cmake
#	web/client/index.html
#	web/client/utl/goldenLayoutHelper.js
@maximilianruesch maximilianruesch merged commit 5ea287c into master Jan 13, 2023
@maximilianruesch maximilianruesch deleted the refactor/rebuild-web-client branch January 13, 2023 18:25
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.

[1] Webclient auf moderne Technologien umstellen
3 participants