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

efactor app directories and enforce ts strict mode #201

Merged
merged 55 commits into from
Sep 28, 2023

Conversation

louis-jan
Copy link
Contributor

@louis-jan louis-jan commented Sep 25, 2023

  • The placement of the Electron app within the "web-client" directory, where it shares a package.json and tsconfig with the web application, is not the intended configuration.
  • Refactor Jan Desktop app to typescript.
  • Jan web should be able to run outside of electron app (host browsers).
  • Yarn workspace.
  • Introduce data-plugin as a demo ts plugin.
  • Auto Update
  • Model management plugin

@jansonarqube

This comment has been minimized.

electron/main.ts Outdated

let window;
const _importDynamic = new Function('modulePath', 'return import(modulePath)')
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@janhq janhq deleted a comment from jansonarqube bot Sep 25, 2023
@janhq janhq deleted a comment from jansonarqube bot Sep 25, 2023
@janhq janhq deleted a comment from jansonarqube bot Sep 25, 2023
@jansonarqube

This comment has been minimized.

@jansonarqube
Copy link

jansonarqube bot commented Sep 25, 2023

Failed

  • 0.00% Security Hotspots Reviewed on New Code (is less than 100.00%)

Analysis Details

114 Issues

  • Bug 24 Bugs
  • Vulnerability 5 Vulnerabilities
  • Code Smell 85 Code Smells

Coverage and Duplications

  • Coverage 0.00% Coverage (0.00% Estimated after merge)
  • Duplications 1.91% Duplicated Code (1.80% Estimated after merge)

Project ID: janhq_jan_AYpD9dALNKTWc87tHFux

View in SonarQube

James and others added 3 commits September 27, 2023 19:33
@louis-jan louis-jan changed the title WIP: refactor app directories and enforce ts strict mode efactor app directories and enforce ts strict mode Sep 28, 2023
@louis-jan louis-jan marked this pull request as ready for review September 28, 2023 11:13
@louis-jan louis-jan merged commit afbb94f into main Sep 28, 2023
@louis-jan louis-jan deleted the chore/refactor-electron-app branch September 28, 2023 16:45
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.

5 participants