Skip to content

Conversation

@FlorianKirmaier
Copy link
Contributor

In this PR, we achieved two major improvements.

  • The Sign In Page for the Author Selection is now working. (JPRO-162)[https://ikmdev.atlassian.net/browse/JPRO-162]
  • The App and WebApp are refactored, avoiding code duplication and simplifying integration.

SignInPage:
The new LoginAuthorSelection page allows to select a user.
Currently, it’s using fake data. Later, it will use the real users from the database.

WebApp/App Merge:

We did this refactoring now to avoid integrating the new LoginPage twice. This gives a lot of improvements.

These changes don't alter anything functionally, but they provide numerous improvements.

  • Removed about 1.5k lines of duplicated code.
  • Makes onboarding for the main class much easier, which also triggered this change.
  • The code is now separated into several files, making it easier to find the correct place.

FlorianKirmaier and others added 30 commits August 6, 2025 16:52
to a shared class.
Introduced pattern, on how to share logic between App and WebApp.
Possible with the final target, to merge them together.
…Menu classes, and updating AppInterface methods for better modularity and maintainability.
…et and AppMenu getters, and streamline menu creation in AppMenu.
…ods, adding state retrieval in AppInterface, and improving menu setup in AppMenu.
… in AppMenu, removing redundant methods and enhancing code maintainability.
…er-list-integrated

# Conflicts:
#	application/src/main/java/dev/ikm/komet/app/App.java
#	application/src/main/java/dev/ikm/komet/app/WebApp.java
Changed Code formatting and removed Debug messages from code.
changed the fxml file to sign up when return is pressed for passwordfield and passwordtextfield
several capital letters changes and removes one unused variable
changed to camel lettering
Changed comment format and removed newline
rnamed references
…pp-merge

# Conflicts:
#	application/src/main/java/dev/ikm/komet/app/App.java
#	application/src/main/java/dev/ikm/komet/app/WebApp.java
@carldea
Copy link
Contributor

carldea commented Aug 11, 2025

@FlorianKirmaier wow really nice work!
I am still reviewing things, I would like our QA team test the PR before we merge. This will really simplify how the App is structured. Much easier to maintain.

@carldea
Copy link
Contributor

carldea commented Aug 11, 2025

@FlorianKirmaier The build failed because the pom.xml version has been bumped up (from a recent release of Komet). Can you resolve it in your branch?
Komet 's main pom.xml is at 1.55.0-SNAPSHOT

@FlorianKirmaier
Copy link
Contributor Author

@carldea Thank you for the positive feedback!
I’ve merged and updated the pom to 1.55.0-SNAPSHOT.
It would be great if we could set it up, that not every commit on my side requires approval.
I totally agree - testing is very important here, because a lot of code has been touched.

@carldea
Copy link
Contributor

carldea commented Aug 13, 2025

@carldea Thank you for the positive feedback! I’ve merged and updated the pom to 1.55.0-SNAPSHOT. It would be great if we could set it up, that not every commit on my side requires approval. I totally agree - testing is very important here, because a lot of code has been touched.

We are working on the permission issue. We are still in the process of QA testing :-)

Copy link
Contributor

@carldea carldea left a comment

Choose a reason for hiding this comment

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

Looks great!
I will approve for now. Until the QA testing is finished I will merge this effort first (tomorrow).
The other PRs pending will be next to be merged.

@carldea carldea merged commit bbfbe23 into ikmdev:main Aug 14, 2025
7 checks passed
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.

3 participants