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

Rewrite: Clean up dependencies #370

Open
10 of 24 tasks
Tracked by #374
arildm opened this issue Jun 17, 2024 · 0 comments
Open
10 of 24 tasks
Tracked by #374

Rewrite: Clean up dependencies #370

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

Comments

@arildm
Copy link
Member

arildm commented Jun 17, 2024

Some libraries are dead or dying. Some depend on AngularJS or other libraries we want to move away from.

Most libraries are listed in package.json. Some are copy-pasted into lib/ or jq_extensions.js.

Larger dependency changes:

  • Switch from AngularJS to Vue
    • Switch from Webpack to Vite
  • Stop using jQuery: use reactive programming with Vue instead of iterative/spaghetti DOM manipulation

Specific changes:

  • Replace angular-spinner with spin.js, loading.io or fa-spinner
  • Replace angular-ui-bootstrap with using Boostrap directly or check for a "migration path" to Vue+Bootstrap
  • Disuse jQuery
  • Drop the "Smoothness" theme and style with Tailwind instead
  • Replace jQueryUI dialog (pie chart) with Bootstrap modal
  • Rewrite jQueryUI widgets as AngularJS components
    • Pie chart
    • Radio list
  • Subsume geokorp
  • Replace jStorage with native localStorage
  • Replace number usage of jquery.localize with native NumberFormat
  • Replace jquery.localize with AngularJS localization
  • Replace $.format with template literals (backtick strings)
  • Decide on a single chart lib and use it for:
    • pie chart (now Raphael)
    • corpus chooser time graph (now jquery-flot)
    • stats time graph (now Rickshaw)
  • Find alternative to Moment (timestamps)
  • Find alternative to Brat (dependency tree visualization)
@arildm arildm added the maintenance Oiling the gears, preventing future problems label Jun 17, 2024
@arildm arildm mentioned this issue Jun 17, 2024
5 tasks
@arildm arildm added this to the Rewrite to Vue milestone Jul 11, 2024
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