Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
127 changes: 127 additions & 0 deletions apps/watch-replies/CHANGES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
## Next
- A long message now comes whole (up to 400 bytes) and shows folded to 4 lines with an underlined "Show more"; tapping it opens all of it, with "Show less" at the end. The phone sends the rest in `r1M` pieces.
- The pin sign on a pinned chat is smaller (19 x 26).
- Hindi glyphs are back. To make room the small name font is gone (names use the normal font) and the test page is not in this version.
- Hindi: a Hindi keyboard (consonants / more letters and vowel signs / vowels, Shift steps through them) with Devanagari text drawn in messages; the short i sign is put before its letter. Conjuncts show the halant sign instead of joining. Dictation uses hi-IN.
- Two keyboards: the phone's Watch Replies settings pick Keyboard 1 (English, Arabic or Hindi) and Keyboard 2 (none, or one of the other two). Holding Space switches between them; with none, it does nothing.
- Memory: the separate 32 px UI font is gone (all text uses the 27 px font), which pays for the Hindi glyphs.

## 1.2.27
- Conversation focus: Watch Replies sends a small heartbeat with the selected chat; the phone expires stale focus automatically. New messages for the open chat update it in place, while other chats continue to enter the inbox normally.
- Phone discovery: the companion reads installed WP2 app identifiers and shows only registered Watch Menu apps on Home.
- Home tiles: slightly shorter 5:4 cards.

## 1.2.26
- Conversation focus: Watch Replies sends a small heartbeat with the selected chat; the phone expires stale focus automatically. New messages for the open chat update it in place, while other chats continue to enter the inbox normally.
- Phone discovery: the companion reads installed WP2 app identifiers and shows only registered Watch Menu apps on Home.
- Home tiles: slightly shorter 5:4 cards.

## 1.2.25
- Scrolling: cache conversation layout height outside animation frames, use finger travel for swipe distance and make the glide settle faster without removing its easing.
- Dictation: microphone icon redrawn as a solid microphone with a cleaner cradle; the red listening state remains.
- Dictation: the watch's keyboard language now selects English (en-US) or Egyptian Arabic (ar-EG) explicitly.

## 1.2.24
- Keyboard: the empty send slot is now a phone-microphone dictation button; speech appears in the editable draft, and typing switches the same slot back to the blue send button.

## 1.2.23
- Conversation: the black rim round the app sign is smooth now. It was drawn in whole pixels, so its edge looked stepped, and Messenger's came out lumpy because dark corner pixels of its picture were counted as part of the sign. The rim now follows the real shape evenly (tail included) and its edge blends into the bubble colour under it. The round sign of other apps got the same soft edge.

## 1.2.22
- Conversation: the app sign at the top has no black circle behind it any more. It has a black outline that follows its own shape (the tail included), so the bubbles scrolling under it show right up to its edge.

## 1.2.21
- The app sign and the Message box now float over the bubbles (each with a black rim); the bubbles scroll under them all the way to the screen edge instead of being cut off above and below.
- Less lag: the small WhatsApp sign is pre-drawn (it was filtered again on every frame), and the glide takes the same time however long a frame needs.

## 1.2.20
- WhatsApp icon redrawn: smooth round edges, a clean tail and a black rim around it like the others (it was a jagged bitmap that touched the edge).

## 1.2.19
- Bubbles stick to the round wall: theirs to the left side, mine to the right side, and they follow the curve of the wall as you scroll (no more middle lane).
- Smoother glide: smaller steps, more frames.

## 1.2.18
- Curved list: in the messages screen the bubbles follow the round screen (all of them now, also the middle ones), and the gliding is quicker.
- Drawing is faster: the round-screen edge is looked up from a table instead of being worked out for every row.
- The list of chats (WhatsApp, Messenger...) is unchanged: no curve, no slide.

## 1.2.17
- Conversation: bigger bubbles. Plain English messages use the big font (32 px, was 27), with more room round the text and a wider bubble; messages with Arabic letters keep the Arabic-capable font, a little more spaced.
- Conversation: your own reply no longer comes back as a message from them. The chat app puts your reply in its notification and the phone sent it on as a new message, so your "hi" showed up on the left as theirs. For 8 seconds after you send, a message from that chat with the same text (or "You: text") is taken for your own reply and left out. It counts once, and a message with other words, or from another chat, is shown as usual.

## 1.2.16
- Font: the T font (fixed English UI text and single key letters) no longer carries its own Arabic table — it was an exact duplicate of the one in B, which is what Arabic text actually uses. Frees about 18.7KB.
- Word/suggestion lists trimmed further.

## 1.2.15
- Shrank the word lists (suggestions) so the app fits in the image size again — it was overflowing by about 30KB after Arabic was added.

## 1.2.14
- Conversation: every bubble has a pointed tail at its bottom corner, on the left for theirs and on the right for yours.

## 1.2.13
- Message cards: shorter, so the bottom gap matches the top; the app sign gets a black cut-out that follows its outline (the WhatsApp and Messenger tails included), half on the card and half off.

## 1.2.12
- Conversation: the app sign at the top is smaller (44 px) and the bubbles start higher, so more messages fit.

## 1.2.11
- Conversation: the sender's name is smaller than the text, the bubble corners are rounder, your replies are a normal grey with white text, and bubbles from other apps (SMS and so on) are light grey.

## 1.2.10
- The conversation screen is now a chat: their messages are bubbles on the left with the name (green WhatsApp, blue Messenger, light blue Telegram, dark grey for other apps), your replies are light grey bubbles on the right, and the reply button is a "Message" box (tap it for the keyboard). Replies you send from the watch stay in the conversation.

## 1.2.9
- WhatsApp icon: it had empty margin around it, so it looked smaller than Messenger and Telegram. Trimmed and scaled to the same full size.

## 1.2.8
- Keyboard: the text line and the suggestion row moved up about 28 px, and the keys use the room: taller keys, and the top row a little narrower so it stays on the round screen.

## 1.2.7
- Reply button: taller, with a larger "reply".
- Keyboard: bigger letters; a smaller space bar; bigger send and delete buttons. (The unused arrow tile next to the suggested words was already removed in 1.2.6.)

## 1.2.6
- Chats are told apart by the phone's id only. Before, chats whose names were replaced by dots (Arabic names) were taken for one chat, so only one WhatsApp chat showed.
- Suggested words: while you type a word, the row above the keys offers words that continue it (ho -> home); tap one to finish the word and add a space.

## 1.2.5
- Keyboard: wider keys, using the room the round screen has at each row. Quick replies: wider fit, and "Ok / On my way / Thanks!" show even before the phone sends its own.

## 1.2.4
- Messages from the same chat now pile up: the first screen still shows the newest message, but opening it shows every message you missed from that chat (oldest at the top, newest at the bottom, scrolls). Kept: the last ~400 letters per chat.

## 1.2.3
- WhatsApp icon: removed the white outline and grey fringe, clean green bubble like the others.

## 1.2.2
- Keyboard bottom row like the Wear OS picture: ?123, a tall rounded space bar and delete side by side, with the space bar reaching down along the round edge. The full stop takes the place of the second delete key at the end of the third row (the comma is on the ?123 page).

## 1.2.1
- Keyboard: one delete key (at the end of the third row), outlined shift and delete signs like the Wear OS picture, and a wide, darker space bar next to ?123 on the bottom row. The unused big key font is removed (smaller app).

## 1.2.0
- Tapping a message opens it in full: the app's sign, the name, the whole text and a reply button. Turn the crown or swipe up and down to scroll a long text; reply opens the keyboard. Back (swipe right) goes keyboard -> message -> messages.

## 1.1.5
- The keyboard now matches the Wear OS picture: capital letters on dark rounded keys, three rows of letters with shift and delete, a bottom row with ?123, a wide space bar and delete, the ">" tile and suggestion chips above, a light-blue capsule send button, and the word being typed in light blue.
- The comma and full stop are on the ?123 page.


## 1.1.3
- Messages from the same chat (same app and name) are one page, showing the latest message; with 8 chats, a new one drops the oldest.

## 1.1.2
- The WhatsApp, Messenger and Telegram signs now look like the real icons (64 px pictures, gradient included) on the empty screen and on every message page.

## 1.1.0
- One message per page, like a phone notification: the app's sign in the middle at the top, then the sender, the time and the message in bigger letters. Swipe up/down or turn the crown to move between messages; tap to reply.
- A full-screen keyboard: big bare letters over the whole screen, quick replies above and a send button.
- Times are shown as 12:05 a.m.

## 1.0.1
- A reply counts as sent when the chat disappears on the phone as well as when the phone says so; waits 15 s.

## 1.0.0
- First version.
13 changes: 13 additions & 0 deletions apps/watch-replies/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[package]
name = "watch-replies"
edition.workspace = true
license.workspace = true
version.workspace = true

[dependencies]
cmf-wp2-app.workspace = true
cmf-wp2-ui.workspace = true

[[bin]]
name = "watch-replies"
bench = false
6 changes: 6 additions & 0 deletions apps/watch-replies/NOTICE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Notice

- **Watch Replies** is an original app by Abdalrahman for the CMF Watch Pro 2. It reuses the text and shape drawing
code of V-maps (also his), which began as Vela Nav by arunk140 in the CMF Tech Community apps repository (MIT).
- The text is drawn from tables made from **Noto Sans** (SIL Open Font License 1.1, `fonts/OFL.txt`).
- The WhatsApp, Messenger and Telegram signs are simple drawings made for this app; the names belong to their owners.
155 changes: 155 additions & 0 deletions apps/watch-replies/fonts/NOTO-FONT-COPYRIGHT.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,155 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Noto
Upstream-Contact: https://github.com/googlei18n/noto-fonts/issues
http://groups.google.com/group/noto-font
Source: https://github.com/googlei18n/noto-fonts

Files: *
Copyright:
2010,2012-2020, Google Inc.
2015-2020, Google LLC.
License-Grant:
This Font Software is licensed under the SIL Open Font License,
Version 1.1.
License: OFL-1.1

Files:
debian/*
Copyright:
2013-2020, Jonas Smedegaard <dr@jones.dk>
2020, Purism, SPC
2013, Vasudev Kamath <kamathvasudev@gmail.com>
License-Grant:
This program is free software;
you can redistribute it and/or modify it
under the terms of the GNU General Public License
as published by the Free Software Foundation;
either version 3, or (at your option) any later version.
License: GPL-3+

Files:
debian/NotoMono/NotoMono-Regular.ttf
Copyright:
2007, Google Inc.
License-Grant:
This Font Software is licensed under the SIL Open Font License,
Version 1.1.
License: OFL-1.1

License: OFL-1.1
PREAMBLE
.
The goals of the Open Font License (OFL) are to stimulate
worldwide development of collaborative font projects,
to support the font creation efforts
of academic and linguistic communities,
and to provide a free and open framework
in which fonts may be shared and improved
in partnership with others.
.
The OFL allows the licensed fonts to be used, studied,
modified and redistributed freely
as long as they are not sold by themselves.
The fonts, including any derivative works,
can be bundled, embedded,
redistributed and/or sold with any software
provided that any reserved names are not used
by derivative works.
The fonts and derivatives, however,
cannot be released under any other type of license.
The requirement for fonts to remain under this license
does not apply to any document
created using the fonts or their derivatives.
.
DEFINITIONS
.
"Font Software" refers to the set of files
released by the Copyright Holder(s) under this license
and clearly marked as such.
This may include source files, build scripts and documentation.
.
"Reserved Font Name" refers to any names specified as such
after the copyright statement(s).
.
"Original Version" refers to the collection
of Font Software components
as distributed by the Copyright Holder(s).
.
"Modified Version" refers to any derivative
made by adding to, deleting, or substituting --
in part or in whole --
any of the components of the Original Version,
by changing formats
or by porting the Font Software to a new environment.
.
"Author" refers to any designer, engineer, programmer,
technical writer or other person
who contributed to the Font Software.
.
PERMISSION & CONDITIONS
.
Permission is hereby granted, free of charge,
to any person obtaining a copy of the Font Software,
to use, study, copy, merge, embed, modify, redistribute,
and sell modified and unmodified copies of the Font Software,
subject to the following conditions:
.
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions,
may be sold by itself.
.
2) Original or Modified Versions of the Font Software
may be bundled, redistributed and/or sold with any software,
provided that each copy contains the above copyright notice
and this license.
These can be included either as stand-alone text files,
human-readable headers or in the appropriate
machine-readable metadata fields within text or binary files
as long as those fields can be easily viewed by the user.
.
3) No Modified Version of the Font Software may use
the Reserved Font Name(s)
unless explicit written permission is granted
by the corresponding Copyright Holder.
This restriction only applies to the primary font name
as presented to the users.
.
4) The name(s) of the Copyright Holder(s)
or the Author(s) of the Font Software
shall not be used to promote,
endorse or advertise any Modified Version,
except to acknowledge the contribution(s)
of the Copyright Holder(s) and the Author(s)
or with their explicit written permission.
.
5) The Font Software,
modified or unmodified, in part or in whole,
must be distributed entirely under this license,
and must not be distributed under any other license.
The requirement for fonts to remain under this license
does not apply to any document
created using the Font Software.
.
TERMINATION
.
This license becomes null and void
if any of the above conditions are not met.
.
DISCLAIMER
.
THE FONT SOFTWARE IS PROVIDED "AS IS",
WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO
ANY WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT.
IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT,
INCIDENTAL, OR CONSEQUENTIAL DAMAGES,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF THE USE OR INABILITY TO USE
THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.

License: GPL-3+
License-Reference: /usr/share/common-licenses/GPL-3
93 changes: 93 additions & 0 deletions apps/watch-replies/fonts/OFL.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
Copyright 2022 The Noto Project Authors (https://github.com/notofonts/latin-greek-cyrillic)

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
https://openfontlicense.org


-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
Loading
Loading