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

Simplify Spring ViewComponent and remove ViewAction #23

Merged
merged 13 commits into from
Jun 3, 2024

Conversation

tschuehly
Copy link
Owner

@tschuehly tschuehly commented Jun 1, 2024

The goal of this PR is to remove the ViewAction concept. Thereby making the annotation processor unneeded.

The goal is to create a functional approach for HTMX Endpoints described here in an extension at a later date: wimdeblauwe/htmx-spring-boot#104

Also instead of using a JteCompiler, the JTE Spring Boot starter will be configured to do that.

- Simplified paths in settings.gradle.kts for increased maintainability
- Streamlined the ThymeleafViewComponentAutoConfiguration by using ViewComponentProperties
- Updated README.md to reflect these changes
- Added a new file, ViewComponentProperties.kt, to contain configuration properties
- Removed ActionViewComponent and NestedActionViewComponent links from index view in Thymeleaf, KTE, and Java examples.
- Updated the external project path in the 'Run all example tests' configuration.
…tions

- Update the versions in the build scripts to use 0.8.0-SNAPSHOT
- Clean up configurations by removing unnecessary annotation processor paths, includes, and properties
- Comment out viewComponentRoot in the application.properties file
- Remove unnecessary implementation dependencies in the dependencies blocks
- Update README.md, removing outdated instructions and providing updated version information
- Modify ViewComponent properties in JteConfiguration
- Remove ViewComponent reference retrieval function in JteConfiguration
- Remove unnecessary test dependency in Thymeleaf-Java
- Remove unnecessary annotation processor paths
- Update versions in xml files to match snapshot version
- Modify TemplateEngine and TemplateResolver Beans in ThymeleafViewComponentAutoConfiguration
In this commit, we have:
- Updated the project version reference from a snapshot version to an official release version across multiple files
- Adjusted artifact dependencies to point to the correct 0.8.0 version instead of the snapshot
- Updated Maven dependency versions in README.md
- Adjusted version properties in pom.xml for JTE and Thymeleaf examples
- Fixed some minor formatting issues in README.md's XML snippets
@tschuehly tschuehly merged commit 17d00ac into master Jun 3, 2024
13 checks passed
@tschuehly tschuehly deleted the v0.7.5-SNAPSHOT branch June 3, 2024 21:33
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.

1 participant