Skip to content

Commit

Permalink
UPdated old links
Browse files Browse the repository at this point in the history
  • Loading branch information
shannah committed Feb 26, 2021
1 parent 36e5f90 commit b3cb819
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 29 deletions.
12 changes: 6 additions & 6 deletions CN1Chat/css/theme.css.merged
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

/* /Users/shannah/cn1_files/cn1libs/RADChatRoom/CN1Chat/lib/impl/css/CodeRAD/theme.css */
/* /Users/shannah/cn1_files/cn1libs/RADChatApp/CN1Chat/lib/impl/css/CodeRAD/theme.css */
:root {
--rad-main-font: 'native:MainRegular';
--rad-main-font-light: 'native:MainLight';
Expand Down Expand Up @@ -142,9 +142,9 @@ FieldDescriptionText {
font-family: var(--rad-main-font);
color: #666666;
}
/* end /Users/shannah/cn1_files/cn1libs/RADChatRoom/CN1Chat/lib/impl/css/CodeRAD/theme.css*/
/* end /Users/shannah/cn1_files/cn1libs/RADChatApp/CN1Chat/lib/impl/css/CodeRAD/theme.css*/

/* /Users/shannah/cn1_files/cn1libs/RADChatRoom/CN1Chat/lib/impl/css/RADChatRoom/theme.css */
/* /Users/shannah/cn1_files/cn1libs/RADChatApp/CN1Chat/lib/impl/css/RADChatApp/theme.css */
ChatBubbleTextOwn {
font-family: 'native:MainLight';
font-size: 2.5mm;
Expand Down Expand Up @@ -253,9 +253,9 @@ TypingAnimationDot {
color:#666666;
font-size: 1mm;
}
/* end /Users/shannah/cn1_files/cn1libs/RADChatRoom/CN1Chat/lib/impl/css/RADChatRoom/theme.css*/
/* end /Users/shannah/cn1_files/cn1libs/RADChatApp/CN1Chat/lib/impl/css/RADChatApp/theme.css*/

/* /Users/shannah/cn1_files/cn1libs/RADChatRoom/CN1Chat/css/theme.css */
/* /Users/shannah/cn1_files/cn1libs/RADChatApp/CN1Chat/css/theme.css */
#Constants {
includeNativeBool: true;
}
Expand Down Expand Up @@ -295,4 +295,4 @@ ChatBubbleTextOwn {
color: black;
margin:2mm;
}
/* End /Users/shannah/cn1_files/cn1libs/RADChatRoom/CN1Chat/css/theme.css */
/* End /Users/shannah/cn1_files/cn1libs/RADChatApp/CN1Chat/css/theme.css */
18 changes: 9 additions & 9 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -25,29 +25,29 @@ NOTE: This component is only a UI component. It doesn't connect to any back-end

== Demo

* Try https://shannah.github.io/RADChatRoom/demo[Javascript version] in your browser.
* Download https://github.com/shannah/RADChatRoom/releases/download/1.0/CN1Chat-debug.apk[Android demo app].
* Try https://shannah.github.io/RADChatApp/demo[Javascript version] in your browser.
* Download https://github.com/shannah/RADChatApp/releases/download/1.0/CN1Chat-debug.apk[Android demo app].


image::https://shannah.github.io/RADChatRoom/images/Image-210220-105119.095.png[width=480]
image::https://shannah.github.io/RADChatApp/images/Image-210220-105119.095.png[width=480]

NOTE: These demos aren't connected to any back-end server. The contain some sample chat messages, and they allow you to post your own messages and images, which are just stored locally.

See how to build this demo in the https://shannah.github.io/RADChatRoom/getting-started-tutorial.html[Getting Started Tutorial]
See how to build this demo in the https://shannah.github.io/RADChatApp/getting-started-tutorial.html[Getting Started Tutorial]

== Documentation

. https://shannah.github.io/RADChatRoom/getting-started-tutorial.html[Getting Started Tutorial]
. https://shannah.github.io/RADChatRoom/javadoc/[Javadoc]
. https://shannah.github.io/RADChatRoom/cookbook[RADChatRoom Cookbook] - A growing list of recipes to show you how to customize the chatroom component.
. https://shannah.github.io/RADChatApp/getting-started-tutorial.html[Getting Started Tutorial]
. https://shannah.github.io/RADChatApp/javadoc/[Javadoc]
. https://shannah.github.io/RADChatApp/cookbook[RADChatRoom Cookbook] - A growing list of recipes to show you how to customize the chatroom component.

== Requirements

See https://shannah.github.io/RADChatRoom/getting-started-tutorial.html[Getting Started Tutorial]
See https://shannah.github.io/RADChatApp/getting-started-tutorial.html[Getting Started Tutorial]

== Installation

See https://shannah.github.io/RADChatRoom/getting-started-tutorial.html[Getting Started Tutorial]
See https://shannah.github.io/RADChatApp/getting-started-tutorial.html[Getting Started Tutorial]

== Further Reading

Expand Down
6 changes: 3 additions & 3 deletions cookbook/disable-swipe-reveal.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ By default the ChatRoomView allows users to swipe a chat bubble to the left to s
[discrete]
=== Solution

Use the https://shannah.github.io/RADChatRoom/javadoc/com/codename1/rad/ui/chatroom/ChatBubbleView.html#USE_OVERFLOW_CONTAINER[ChatBubbleView.USE_OVERFLOW_CONTAINER] view property in your view node to disable this behaviour as follows:
Use the https://shannah.github.io/RADChatApp/javadoc/com/codename1/rad/ui/chatroom/ChatBubbleView.html#USE_OVERFLOW_CONTAINER[ChatBubbleView.USE_OVERFLOW_CONTAINER] view property in your view node to disable this behaviour as follows:

[source,java]
----
Expand Down Expand Up @@ -43,8 +43,8 @@ The https://shannah.github.io/CodeRAD/javadoc/com/codename1/rad/ui/ViewProperty.
=== Further Reading

. https://shannah.github.io/CodeRAD/javadoc/com/codename1/rad/ui/ViewProperty.html?is-external=true[ViewProperty javadocs]
. https://shannah.github.io/RADChatRoom/javadoc/com/codename1/rad/ui/chatroom/ChatBubbleView.html#USE_OVERFLOW_CONTAINER[USE_OVERFLOW_CONTAINER javadocs]
. https://github.com/shannah/RADChatRoom/issues/18[RFE for this feature]
. https://shannah.github.io/RADChatApp/javadoc/com/codename1/rad/ui/chatroom/ChatBubbleView.html#USE_OVERFLOW_CONTAINER[USE_OVERFLOW_CONTAINER javadocs]
. https://github.com/shannah/RADChatApp/issues/18[RFE for this feature]



4 changes: 2 additions & 2 deletions cookbook/using-entity-for-posted-by.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ You want to use an Entity for the `ChatMessage.creator` property in your chat me

[NOTE]
====
The https://shannah.github.io/RADChatRoom/getting-started-tutorial.html[Getting Started Tutorial] uses the reference class https://shannah.github.io/RADChatRoom/javadoc/com/codename1/rad/ui/chatroom/ChatBubbleView.ViewModel.html[ChatBubbleView.ViewModel] as the view model for its chat bubbles. This recipe assumes that you're already using a custom entity class for your Chat message view model. This class may look something like:
The https://shannah.github.io/RADChatApp/getting-started-tutorial.html[Getting Started Tutorial] uses the reference class https://shannah.github.io/RADChatApp/javadoc/com/codename1/rad/ui/chatroom/ChatBubbleView.ViewModel.html[ChatBubbleView.ViewModel] as the view model for its chat bubbles. This recipe assumes that you're already using a custom entity class for your Chat message view model. This class may look something like:
.A sample view model for a ChatMessage.
[source,java]
Expand Down Expand Up @@ -107,7 +107,7 @@ public class ChatAccount extends Entity {

TIP: For the ChatAccount entity, we use mostly tags from the https://shannah.github.io/CodeRAD/javadoc/com/codename1/rad/schemas/Person.html[Person schema]. Though we are referencing https://shannah.github.io/CodeRAD/javadoc/com/codename1/rad/schemas/Thing.html#name[Thing.name] and https://shannah.github.io/CodeRAD/javadoc/com/codename1/rad/schemas/Thing.html#thumbnailUrl[Thing.thumbnailUrl], these could have equivalently been referenced as `Person.name` and `Person.thumbnailUrl` since `Thing` is a super-interface of `Person` and all fields are inherited.

After this adjustment, you'll need to make a few changes to your app in places where you interact with the view model. In the https://shannah.github.io/RADChatRoom/getting-started-tutorial.html#trueadding-text-messages-from-other-users[Adding Text Messages from other users] section of the Getting Started Tutorial, we created demo messages using the following method:
After this adjustment, you'll need to make a few changes to your app in places where you interact with the view model. In the https://shannah.github.io/RADChatApp/getting-started-tutorial.html#trueadding-text-messages-from-other-users[Adding Text Messages from other users] section of the Getting Started Tutorial, we created demo messages using the following method:

[source,java]
----
Expand Down
10 changes: 5 additions & 5 deletions docs/cookbook/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ <h3 id="_problem_2" class="discrete">Problem</h3>
</div>
<h3 id="_solution_2" class="discrete">Solution</h3>
<div class="paragraph">
<p>Use the <a href="https://shannah.github.io/RADChatRoom/javadoc/com/codename1/rad/ui/chatroom/ChatBubbleView.html#USE_OVERFLOW_CONTAINER">ChatBubbleView.USE_OVERFLOW_CONTAINER</a> view property in your view node to disable this behaviour as follows:</p>
<p>Use the <a href="https://shannah.github.io/RADChatApp/javadoc/com/codename1/rad/ui/chatroom/ChatBubbleView.html#USE_OVERFLOW_CONTAINER">ChatBubbleView.USE_OVERFLOW_CONTAINER</a> view property in your view node to disable this behaviour as follows:</p>
</div>
<div class="listingblock">
<div class="content">
Expand Down Expand Up @@ -691,10 +691,10 @@ <h3 id="_further_reading" class="discrete">Further Reading</h3>
<p><a href="https://shannah.github.io/CodeRAD/javadoc/com/codename1/rad/ui/ViewProperty.html?is-external=true">ViewProperty javadocs</a></p>
</li>
<li>
<p><a href="https://shannah.github.io/RADChatRoom/javadoc/com/codename1/rad/ui/chatroom/ChatBubbleView.html#USE_OVERFLOW_CONTAINER">USE_OVERFLOW_CONTAINER javadocs</a></p>
<p><a href="https://shannah.github.io/RADChatApp/javadoc/com/codename1/rad/ui/chatroom/ChatBubbleView.html#USE_OVERFLOW_CONTAINER">USE_OVERFLOW_CONTAINER javadocs</a></p>
</li>
<li>
<p><a href="https://github.com/shannah/RADChatRoom/issues/18">RFE for this feature</a></p>
<p><a href="https://github.com/shannah/RADChatApp/issues/18">RFE for this feature</a></p>
</li>
</ol>
</div>
Expand All @@ -716,7 +716,7 @@ <h3 id="_solution_3" class="discrete">Solution</h3>
</td>
<td class="content">
<div class="paragraph">
<p>The <a href="https://shannah.github.io/RADChatRoom/getting-started-tutorial.html">Getting Started Tutorial</a> uses the reference class <a href="https://shannah.github.io/RADChatRoom/javadoc/com/codename1/rad/ui/chatroom/ChatBubbleView.ViewModel.html">ChatBubbleView.ViewModel</a> as the view model for its chat bubbles. This recipe assumes that you&#8217;re already using a custom entity class for your Chat message view model. This class may look something like:</p>
<p>The <a href="https://shannah.github.io/RADChatApp/getting-started-tutorial.html">Getting Started Tutorial</a> uses the reference class <a href="https://shannah.github.io/RADChatApp/javadoc/com/codename1/rad/ui/chatroom/ChatBubbleView.ViewModel.html">ChatBubbleView.ViewModel</a> as the view model for its chat bubbles. This recipe assumes that you&#8217;re already using a custom entity class for your Chat message view model. This class may look something like:</p>
</div>
<div class="listingblock">
<div class="title">A sample view model for a ChatMessage.</div>
Expand Down Expand Up @@ -854,7 +854,7 @@ <h3 id="_solution_3" class="discrete">Solution</h3>
</table>
</div>
<div class="paragraph">
<p>After this adjustment, you&#8217;ll need to make a few changes to your app in places where you interact with the view model. In the <a href="https://shannah.github.io/RADChatRoom/getting-started-tutorial.html#trueadding-text-messages-from-other-users">Adding Text Messages from other users</a> section of the Getting Started Tutorial, we created demo messages using the following method:</p>
<p>After this adjustment, you&#8217;ll need to make a few changes to your app in places where you interact with the view model. In the <a href="https://shannah.github.io/RADChatApp/getting-started-tutorial.html#trueadding-text-messages-from-other-users">Adding Text Messages from other users</a> section of the Getting Started Tutorial, we created demo messages using the following method:</p>
</div>
<div class="listingblock">
<div class="content">
Expand Down
6 changes: 3 additions & 3 deletions docs/getting-started-tutorial.html
Original file line number Diff line number Diff line change
Expand Up @@ -502,10 +502,10 @@ <h1>How to Build a Messenging App in Codename One</h1>
</div>
</div>
<div class="paragraph">
<p>You can download the full source of this tutorial&#8217;s project <a href="https://github.com/shannah/RADChatRoom/CN1Chat">here</a>.</p>
<p>You can download the full source of this tutorial&#8217;s project <a href="https://github.com/shannah/RADChatApp/CN1Chat">here</a>.</p>
</div>
<div class="paragraph">
<p>You can also try it out yourself <a href="https://shannah.github.io/RADChatRoom/demo">here</a>.</p>
<p>You can also try it out yourself <a href="https://shannah.github.io/RADChatApp/demo">here</a>.</p>
</div>
<div class="admonitionblock note">
<table>
Expand All @@ -520,7 +520,7 @@ <h1>How to Build a Messenging App in Codename One</h1>
</table>
</div>
<div class="paragraph">
<p>You may also try out an <a href="https://github.com/shannah/RADChatRoom/releases/download/1.0/CN1Chat-debug.apk">Android build</a> of this project. For other platforms, you can download the sources and build it yourself.</p>
<p>You may also try out an <a href="https://github.com/shannah/RADChatApp/releases/download/1.0/CN1Chat-debug.apk">Android build</a> of this project. For other platforms, you can download the sources and build it yourself.</p>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/com/codename1/rad/ui/chatroom/ChatRoomView.java
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public ChatRoomView(T entity, Node node, Form form) {
if (CN.isDesktop() || CN.isSimulator()) {
// This shouldn't be necessary, but some users have reported that
// text field does not update when typing.
// https://github.com/shannah/RADChatRoom/issues/3
// https://github.com/shannah/RADChatApp/issues/3
entryField.repaint();
}
});
Expand Down

0 comments on commit b3cb819

Please sign in to comment.