Skip to content

Commit

Permalink
Merge pull request #1432 from SeasideSt/hotwire-fix
Browse files Browse the repository at this point in the history
Random improvements
  • Loading branch information
jbrichau authored Jul 13, 2024
2 parents 44e5bb7 + 3242efd commit d90609c
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
seasideVersion
"Answer the Seaside version"

^ (GRVersion major: 3 minor: 5 revision: 8)
^ (GRVersion major: 3 minor: 5 revision: 9)
yourself
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
*Seaside-HotwireTurbo-Core
turboShow: aComponent

aComponent addDecoration: (WATurboFrame newWithId: self turboframeDecoration id).
^ self show: aComponent
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ renderContentOn: html
| id |
html listItem
id: (id := html nextId);
onDoubleClick: (html javascript turboCallback: [ self turboCall: (WATurboTodoItemEditor on: self) ]);
onDoubleClick: (html javascript turboCallback: [ self turboShow: (WATurboTodoItemEditor on: self) ]);
with: [
html div
class: 'view';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ renderDescriptionOn: html
html label: description.
html anchor
class: 'edit-link';
callback: [ self turboCall: (WATurboTodoItemEditor on: self) ];
callback: [ self turboShow: (WATurboTodoItemEditor on: self) ];
with: 'edit'
Original file line number Diff line number Diff line change
@@ -1 +1 @@
SystemOrganization addCategory: #'Seaside-HotwireTurbo-Examples'!
self packageOrganizer ensurePackage: #'Seaside-HotwireTurbo-Examples' withTags: #()!
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,15 @@ renderDocumentationStepOn: html
url: 'http://book.seaside.st/';
with: 'Seaside Book'.
html text: ' will teach you all you need to know about Seaside and how to build killer web applications.' ].
html listItem: [
html text: 'The '.
html anchor
url: 'https://github.com/SeasideSt/Seaside/wiki';
with: 'Seaside Github wiki'.
html text: ' is where we keep our most up-to-date reference documentation.' ].
html listItem: [
html text: 'The '.
html anchor
url: 'http://www.swa.hpi.uni-potsdam.de/seaside/tutorial';
url: 'http://www.hpi.uni-potsdam.de/hirschfeld/seaside/tutorial/';
with: 'Seaside Tutorial'.
html text: ' has 12 chapters and introduces a sample application to explain the main features of Seaside.' ] ]
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,13 @@ renderExamplesStepOn: html
html anchor
callback: [ self show: WAWelcomeExampleFlow new ];
with: 'Task'.
html text: ', illustrating Seaside''s innovative approach to application control flow.' ] ]
html text: ', illustrating Seaside''s innovative approach to application control flow.' ].
html listItem: [
html anchor
callback: [ self show: WATodo new ];
with: 'Todo'.
html text: ', the Seaside implementation of the example on '.
html anchor
url: 'https://todomvc.com/';
target: '_blank';
with: 'https://todomvc.com/' ] ]

0 comments on commit d90609c

Please sign in to comment.