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

[Epic] Rewrite #374

Open
5 tasks
arildm opened this issue Jun 17, 2024 · 1 comment
Open
5 tasks

[Epic] Rewrite #374

arildm opened this issue Jun 17, 2024 · 1 comment
Labels
maintenance Oiling the gears, preventing future problems

Comments

@arildm
Copy link
Member

arildm commented Jun 17, 2024

AngularJS is end-of-life since 2022 and Vue is considered the best alternative, see discussion in #228.

The plan is:

  1. Prepare for migration
    • Use more Vue-compatible concepts
    • Remove horizontal dependencies
    • Clean up and document code
  2. Migrate incrementally
  3. Improve maintainability
    • Add tests

Ideally, tests would be added first, to easily verify further changes. But testing is currently meager and difficult, and would have to be rewritten after migration.

Subtasks:

@arildm arildm added the maintenance Oiling the gears, preventing future problems label Jun 17, 2024
@arildm arildm added this to the Rewrite to Vue milestone Jul 11, 2024
@arildm
Copy link
Member Author

arildm commented Oct 31, 2024

This is roughly how I think the order of things should be. The arrows mark prerequisites, but they aren't all strict. For instance, TS is not necessary for anything, but it is helpful for most subsequent steps.

flowchart TD
	%% General prerequisites
	%% TS --> Simplify --> RemoveDeps --> Vue

	%% Specific prerequisites
	TS --> Simplify
	RemoveDirectives --> Vue
	Axios --> jQuery
	jQuery --> Vue
        Vite --> Tests

	subgraph Simplify
		RemoveDirectives
		ErrorHandling --> Axios --> KorpClient
	end

	subgraph RemoveDeps
		Rickshaw
		Smoothness --> jQuery
		Moment
		Brat
		BootstrapJs --> jQuery
		BootstrapJs --> Bootstrap
		BootstrapCss --> Bootstrap
	end

	subgraph Vue
		Components --> Vite
		Vite --> Pinia
	end
Loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Oiling the gears, preventing future problems
Projects
None yet
Development

No branches or pull requests

1 participant