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
12 changes: 6 additions & 6 deletions .github/workflows/release-tauri-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -441,9 +441,9 @@ jobs:
matrix:
include:
- platform: 'macos-latest' # for Arm based macs (M1 and above).
args: '--target aarch64-apple-darwin'
target: aarch64-apple-darwin
- platform: 'macos-latest' # for Intel based macs.
args: '--target x86_64-apple-darwin'
target: x86_64-apple-darwin
env:
MACOSX_DEPLOYMENT_TARGET: 10.13

Expand All @@ -458,10 +458,10 @@ jobs:
node-version: 20

- name: install Rust stable
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@stable
with:
override: true
toolchain: 1.89
toolchain: "1.89"
targets: ${{ matrix.target }}

- name: install Go stable
uses: actions/setup-go@v4
Expand Down Expand Up @@ -492,7 +492,7 @@ jobs:

with:
releaseId: ${{ needs.create-release.outputs.releaseId }}
args: --verbose --features holochain_bundled
args: --verbose --features holochain_bundled --target ${{ matrix.target }}

release-tauri-app-ubuntu-touch:
name: Build Ubuntu Touch click
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [1.0.1] - 2026-08-03

- Fix: Scroll functionality has been optimized.

## [1.0.0] - 2026-07-27

- Feat: Added message delivery status indicators (single tick for sent, double tick for delivered).
- Fix: Added automatic reconnection recovery after the app has been backgrounded for a long time, instead of the connection hanging indefinitely.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "volla_messages",
"version": "1.0.0",
"version": "1.0.1-dev",
"private": true,
"workspaces": [
"ui",
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "volla_messages"
version = "1.0.0"
version = "1.0.1-dev"
description = "Volla Messages"
authors = ["Tibet Sprague", "Eric Harris-Braun"]
license = ""
Expand Down
4 changes: 2 additions & 2 deletions src-tauri/gen/android-holochain_bundled/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ android {
applicationId = "com.volla.messages.bundled"
minSdk = 27
targetSdk = 34
versionCode = 1000000
versionName = "1.0.0"
versionCode = 1000001
versionName = "1.0.1-dev"
// versionCode = tauriProperties.getProperty("tauri.android.versionCode", "1").toInt()
// versionName = tauriProperties.getProperty("tauri.android.versionName", "1.0")
}
Expand Down
4 changes: 2 additions & 2 deletions src-tauri/gen/android-holochain_service/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ android {
applicationId = "com.volla.messages"
minSdk = 27
targetSdk = 34
versionCode = 1000000
versionName = "1.0.0"
versionCode = 1000001
versionName = "1.0.1-dev"
// versionCode = tauriProperties.getProperty("tauri.android.versionCode", "1").toInt()
// versionName = tauriProperties.getProperty("tauri.android.versionName", "1.0")
}
Expand Down
3 changes: 2 additions & 1 deletion src-tauri/src/builder/holochain_bundled.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ where

let main_window = window.build().expect("Failed to open main window");

// Open devtools for debugging
// Open devtools for debugging (dev builds only; never in production/release builds)
#[cfg(debug_assertions)]
main_window.open_devtools();

#[cfg(desktop)]
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"productName": "Volla Messages",
"identifier": "com.volla.messages.bundled",
"version": "1.0.0",
"version": "1.0.1-dev",
"build": {
"beforeBuildCommand": "npm run build -w ui",
"devUrl": "http://localhost:1420",
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/tauri.desktop.conf.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"productName": "Volla Messages",
"identifier": "com.volla.messages.bundled",
"version": "1.0.0",
"version": "1.0.1-dev",
"build": {
"beforeBuildCommand": "npm run build -w ui",
"devUrl": "http://localhost:1420",
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/tauri.mobile.holochain_bundled.conf.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"productName": "Volla Messages (Standalone)",
"identifier": "com.volla.messages.bundled",
"version": "1.0.0",
"version": "1.0.1-dev",
"build": {
"beforeBuildCommand": "npm run build -w ui",
"devUrl": "http://localhost:1420",
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/tauri.mobile.holochain_service.conf.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"productName": "Volla Messages",
"identifier": "com.volla.messages",
"version": "1.0.0",
"version": "1.0.1-dev",
"build": {
"beforeBuildCommand": "npm run build -w ui",
"devUrl": "http://localhost:1420",
Expand Down
2 changes: 1 addition & 1 deletion ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ui",
"version": "1.0.0",
"version": "1.0.1-dev",
"private": true,
"scripts": {
"start": "vite --clearScreen false",
Expand Down
12 changes: 7 additions & 5 deletions ui/src/routes/conversations/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,12 @@
</button>

<div slot="center">
<NetworkStatusDot
connectionCount={$networkStatsStore?.transportStats?.connections?.length || 0}
onClick={() => (showNetworkPanel = !showNetworkPanel)}
/>
{#if import.meta.env.DEV}
<NetworkStatusDot
connectionCount={$networkStatsStore?.transportStats?.connections?.length || 0}
onClick={() => (showNetworkPanel = !showNetworkPanel)}
/>
{/if}
</div>

<ButtonIconBare
Expand All @@ -50,7 +52,7 @@
/>
</Header>

{#if showNetworkPanel}
{#if import.meta.env.DEV && showNetworkPanel}
<NetworkStatusPanel
stats={$networkStatsStore}
onClose={() => (showNetworkPanel = false)}
Expand Down
17 changes: 12 additions & 5 deletions ui/src/routes/conversations/[id]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
let messageTimeout: ReturnType<typeof setTimeout>;

let conversationMessageInputRef: HTMLInputElement;
let conversationMessagesRef: ConversationMessages;
let sending = false;
let loadingMessagesNew = false;
let loadingMessagesOld = false;
Expand Down Expand Up @@ -213,6 +214,9 @@ async function loadMoreMessages() {
sending = true;
try {
await messages.sendMessage(text, files);
// Sent message should always scroll into view, regardless of
// whether you were previously scrolled up reading history.
conversationMessagesRef?.scrollToBottom("auto");
} catch (e) {
console.error(e);
toast.error(`${$t("common.error_sending_message")}: ${(e as Error).message || e}`);
Expand Down Expand Up @@ -244,10 +248,12 @@ async function loadMoreMessages() {

<Header backUrl="/conversations">
<div slot="center" class="flex items-center justify-center gap-1 overflow-hidden px-4">
<NetworkStatusDot
connectionCount={$conversationNetwork?.peerCount || 0}
onClick={() => (showConversationNetworkPanel = !showConversationNetworkPanel)}
/>
{#if import.meta.env.DEV}
<NetworkStatusDot
connectionCount={$conversationNetwork?.peerCount || 0}
onClick={() => (showConversationNetworkPanel = !showConversationNetworkPanel)}
/>
{/if}
<h1 class="overflow-hidden text-ellipsis whitespace-nowrap text-center">
{$conversationTitle}
</h1>
Expand Down Expand Up @@ -278,7 +284,7 @@ async function loadMoreMessages() {
</div>
</Header>

{#if showConversationNetworkPanel}
{#if import.meta.env.DEV && showConversationNetworkPanel}
<NetworkStatusPanel
stats={$networkStatsStore}
conversationInfo={$conversationNetwork}
Expand All @@ -303,6 +309,7 @@ async function loadMoreMessages() {
{:else}
<div class="w-full flex-1 overflow-hidden">
<ConversationMessages
bind:this={conversationMessagesRef}
loadingTop={loadingMessagesOld}
cellIdB64={$page.params.id}
messages={$messages.list}
Expand Down
Loading
Loading