Code Monkey home page Code Monkey logo

generator-jhipster-svelte's Issues

Sapper to Svelte/Kit migration

Svelte/Kit is still not publicly available (under development in a private repo). However, the bundle is available on npm. We really can't do MVP release with soon to be deprecated Sapper :(

Improve unit tests coverage

The current suite of unit tests merely test few components and are meant to verify jest integration and to satisfy build/sonar jobs. We should improve overall unit test coverage to cover all generated components

Fix sonarqube integration in the generated sample application

Error:  Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.7.0.1746:sonar (default-cli) on project svelte-sample-application: Error during parsing of generic test execution report '/home/runner/work/jhipster-sample-app-svelte/jhipster-sample-app-svelte/target/test-results/jest/TESTS-results-sonar.xml'. Look at the SonarQube documentation to know the expected XML format.: Unknown XML node, expected "testExecutions" but got "testsuites" at line 2 -> [Help 1]

Call different API to determine if the user has already authenticated

Currently like other frontend implementations, we use api/account to determine if the user has already been authenticated. Though the approach works and serves the purpose, it has a few unwanted side-effects:

  • You can see 401 errors in your browser console and network requests and it doesn't look clean.
  • Reduces lighthouse score

To mitigate the issue, we can replace the call with api/authenticate for authentication check purposes. In the case of authenticated users, it will return the authenticated user login name and for unauthenticated, an empty response.

Update dependencies

  • Upgrade JHipster dependency to use latest patch release
  • Upgrade Svelte, Tailwind dependencies. Update tailwind configurations to remove build warning messages
  • Upgrade other third-party dependencies

Create users list page

  • Add new menu to restrict access to ADMIN role users
  • It shall display a read only list of users available in the system
  • It shall support pagination
  • It shall support sort

Create users detail/create/update/delete pages

  • Adds ability to create a new user or update an existing user and integrate on the list page - #149
  • Adds ability to view user details. - #143
  • On list page:
    • Adds ability to activate/deactivate an existing user - #122
    • Adds ability to delete an existing user - #144

Add account menu

After successful login, show account menu drop-down navbar options:

  • Settings
  • Change Password
  • Logout

chrome: dynamic linked module fails

If you try to access any dynamically linked module, then, it fails with message like:

500
Failed to fetch dynamically imported module: http://localhost:8080/client/login.ef0c16ea.js
TypeError: Failed to fetch dynamically imported module: http://localhost:8080/client/login.ef0c16ea.js

No issues observed on Firefox

Workaround

Commenting out the service worker code fixes the issue

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.