feat: switch from angular/AJAX+Boostrap to HTMX+PicoCSS - #345
Open
berezovskyi wants to merge 3 commits into
Open
feat: switch from angular/AJAX+Boostrap to HTMX+PicoCSS#345berezovskyi wants to merge 3 commits into
berezovskyi wants to merge 3 commits into
Conversation
berezovskyi
commented
Jan 18, 2025
Comment on lines
+22
to
+34
| <aside> | ||
| <nav> | ||
| <ul> | ||
| <c:forEach var="requirement" items="${resources}"> | ||
| <li> | ||
| <a href="${requirement.about}" | ||
| onclick="sendOslcSelectionPostMessage(this, event)" | ||
| >${requirement.title}</a> | ||
| </li> | ||
| </c:forEach> | ||
| </ul> | ||
| </nav> | ||
| </aside> |
Member
Author
There was a problem hiding this comment.
this tiny bit of HTML is what gets rendered every time HTMX makes a search request and it dynamically replaces the contents of the #search-results div with this content returned by the server. Simple and easy.
This was referenced Jan 18, 2025
Closed
github-actions
Bot
force-pushed
the
b-htmx
branch
2 times, most recently
from
January 23, 2025 07:41
7f598be to
b3d8e02
Compare
github-actions
Bot
force-pushed
the
b-htmx
branch
2 times, most recently
from
February 22, 2025 07:41
513467a to
d3a4031
Compare
github-actions
Bot
force-pushed
the
b-htmx
branch
2 times, most recently
from
March 5, 2025 07:42
b25d924 to
4cb0c01
Compare
github-actions
Bot
force-pushed
the
b-htmx
branch
from
March 21, 2025 07:41
4cb0c01 to
8872d81
Compare
github-actions
Bot
force-pushed
the
b-htmx
branch
2 times, most recently
from
April 15, 2025 07:43
ab8d340 to
b8d6411
Compare
github-actions
Bot
force-pushed
the
b-htmx
branch
3 times, most recently
from
May 16, 2025 07:42
72e2710 to
707ebc9
Compare
github-actions
Bot
force-pushed
the
b-htmx
branch
from
May 18, 2025 07:42
707ebc9 to
1b599a3
Compare
github-actions
Bot
force-pushed
the
b-htmx
branch
2 times, most recently
from
June 28, 2025 07:42
254d884 to
fc40afc
Compare
github-actions
Bot
force-pushed
the
b-htmx
branch
2 times, most recently
from
July 6, 2025 07:42
024f893 to
74ba99c
Compare
github-actions
Bot
force-pushed
the
b-htmx
branch
2 times, most recently
from
July 13, 2025 07:44
66bcc5a to
b610c33
Compare
github-actions
Bot
force-pushed
the
b-htmx
branch
2 times, most recently
from
July 20, 2025 07:44
b91907a to
d1c1216
Compare
github-actions
Bot
force-pushed
the
b-htmx
branch
3 times, most recently
from
August 10, 2025 07:43
3485858 to
44a1d94
Compare
github-actions
Bot
force-pushed
the
b-htmx
branch
from
August 23, 2025 07:41
44a1d94 to
2346d58
Compare
github-actions
Bot
force-pushed
the
b-htmx
branch
from
November 2, 2025 07:42
2346d58 to
f1e12c1
Compare
github-actions
Bot
force-pushed
the
b-htmx
branch
from
November 21, 2025 07:43
f1e12c1 to
8b29ca2
Compare
github-actions
Bot
force-pushed
the
b-htmx
branch
2 times, most recently
from
January 27, 2026 07:50
2987674 to
cd19f3f
Compare
github-actions
Bot
force-pushed
the
b-htmx
branch
from
January 31, 2026 07:51
cd19f3f to
951b513
Compare
github-actions
Bot
force-pushed
the
b-htmx
branch
from
February 7, 2026 07:53
951b513 to
36b3390
Compare
github-actions
Bot
force-pushed
the
b-htmx
branch
from
February 26, 2026 08:05
36b3390 to
6b1ff94
Compare
github-actions
Bot
force-pushed
the
b-htmx
branch
from
March 29, 2026 08:02
6b1ff94 to
12c76f6
Compare
github-actions
Bot
force-pushed
the
b-htmx
branch
from
April 11, 2026 08:05
12c76f6 to
0f3b06f
Compare
github-actions
Bot
force-pushed
the
b-htmx
branch
from
June 21, 2026 10:53
0f3b06f to
5d4d5e2
Compare
github-actions
Bot
force-pushed
the
b-htmx
branch
from
June 28, 2026 10:13
5d4d5e2 to
8392136
Compare
github-actions
Bot
force-pushed
the
b-htmx
branch
from
June 29, 2026 12:15
8392136 to
3aa49fb
Compare
github-actions
Bot
force-pushed
the
b-htmx
branch
3 times, most recently
from
July 7, 2026 10:38
26c770d to
366df1f
Compare
Signed-off-by: Andrew Berezovskyi <andriib@kth.se>
Signed-off-by: Andrew Berezovskyi <andriib@kth.se>
Signed-off-by: Andrew Berezovskyi <andriib@kth.se>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I spent 3 hours updating Angular 10 to 11 yesterday and the migration is not fully complete. Mind you, the current version of Angular is 19 and the recommendation is to upgrade only one major version at a time.
Now I spent just 2 hours to write a complete delegated dialog implementation using HTMX instead of making AJAX requests and using Angular to dynamically render results.
Instead, HTMX is a hypermedia framework that is declaratively configured to make HTTP requests and place responses into the HTML DOM. OSLC, being an LDP REST API built with hypermedia principles at heart is perfectly aligned with HTMX. A lot of code can be removed as a result.
One of the best things is that HTMX does not intend to make breaking change like modern frontend frameworks and be more like jQuery in terms of stability. I think it's a perfect fit for the refimpl that needs to reduce the maintenance burden.
Screen.Recording.2025-01-18.at.14.23.29.mov