Skip to content

Commit d90609c

Browse files
author
Johan Brichau
authored
Merge pull request #1432 from SeasideSt/hotwire-fix
Random improvements
2 parents 44e5bb7 + 3242efd commit d90609c

File tree

7 files changed

+26
-6
lines changed

7 files changed

+26
-6
lines changed

Diff for: repository/Seaside-Core.package/GRPlatform.extension/instance/seasideVersion.st

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
seasideVersion
33
"Answer the Seaside version"
44

5-
^ (GRVersion major: 3 minor: 5 revision: 8)
5+
^ (GRVersion major: 3 minor: 5 revision: 9)
66
yourself
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
*Seaside-HotwireTurbo-Core
2+
turboShow: aComponent
3+
4+
aComponent addDecoration: (WATurboFrame newWithId: self turboframeDecoration id).
5+
^ self show: aComponent

Diff for: repository/Seaside-HotwireTurbo-Examples.package/WATurboTodoItem.class/instance/renderContentOn..st

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ renderContentOn: html
44
| id |
55
html listItem
66
id: (id := html nextId);
7-
onDoubleClick: (html javascript turboCallback: [ self turboCall: (WATurboTodoItemEditor on: self) ]);
7+
onDoubleClick: (html javascript turboCallback: [ self turboShow: (WATurboTodoItemEditor on: self) ]);
88
with: [
99
html div
1010
class: 'view';

Diff for: repository/Seaside-HotwireTurbo-Examples.package/WATurboTodoItem.class/instance/renderDescriptionOn..st

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ renderDescriptionOn: html
44
html label: description.
55
html anchor
66
class: 'edit-link';
7-
callback: [ self turboCall: (WATurboTodoItemEditor on: self) ];
7+
callback: [ self turboShow: (WATurboTodoItemEditor on: self) ];
88
with: 'edit'
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
SystemOrganization addCategory: #'Seaside-HotwireTurbo-Examples'!
1+
self packageOrganizer ensurePackage: #'Seaside-HotwireTurbo-Examples' withTags: #()!

Diff for: repository/Seaside-Welcome.package/WAWelcomeGettingStarted.class/instance/renderDocumentationStepOn..st

+7-1
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,15 @@ renderDocumentationStepOn: html
1111
url: 'http://book.seaside.st/';
1212
with: 'Seaside Book'.
1313
html text: ' will teach you all you need to know about Seaside and how to build killer web applications.' ].
14+
html listItem: [
15+
html text: 'The '.
16+
html anchor
17+
url: 'https://github.com/SeasideSt/Seaside/wiki';
18+
with: 'Seaside Github wiki'.
19+
html text: ' is where we keep our most up-to-date reference documentation.' ].
1420
html listItem: [
1521
html text: 'The '.
1622
html anchor
17-
url: 'http://www.swa.hpi.uni-potsdam.de/seaside/tutorial';
23+
url: 'http://www.hpi.uni-potsdam.de/hirschfeld/seaside/tutorial/';
1824
with: 'Seaside Tutorial'.
1925
html text: ' has 12 chapters and introduces a sample application to explain the main features of Seaside.' ] ]

Diff for: repository/Seaside-Welcome.package/WAWelcomeGettingStarted.class/instance/renderExamplesStepOn..st

+10-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,13 @@ renderExamplesStepOn: html
2020
html anchor
2121
callback: [ self show: WAWelcomeExampleFlow new ];
2222
with: 'Task'.
23-
html text: ', illustrating Seaside''s innovative approach to application control flow.' ] ]
23+
html text: ', illustrating Seaside''s innovative approach to application control flow.' ].
24+
html listItem: [
25+
html anchor
26+
callback: [ self show: WATodo new ];
27+
with: 'Todo'.
28+
html text: ', the Seaside implementation of the example on '.
29+
html anchor
30+
url: 'https://todomvc.com/';
31+
target: '_blank';
32+
with: 'https://todomvc.com/' ] ]

0 commit comments

Comments
 (0)