mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-05-10 21:37:09 +00:00
ui: whats new in v6.0, rename "Deleted chats" to "Archived contacts" (#4599)
* ios: whats new in v6.0 * android, rename Deleted chats to Archive contacts
This commit is contained in:
+43
-3
@@ -18,7 +18,7 @@ import androidx.compose.desktop.ui.tooling.preview.Preview
|
||||
import androidx.compose.ui.unit.dp
|
||||
import androidx.compose.ui.unit.sp
|
||||
import chat.simplex.common.model.ChatModel
|
||||
import chat.simplex.common.platform.ColumnWithScrollBar
|
||||
import chat.simplex.common.platform.*
|
||||
import chat.simplex.common.ui.theme.*
|
||||
import chat.simplex.common.views.helpers.*
|
||||
import chat.simplex.res.MR
|
||||
@@ -115,7 +115,9 @@ fun WhatsNewView(viaSettings: Boolean = false, close: () -> Unit) {
|
||||
AppBarTitle(String.format(generalGetString(MR.strings.new_in_version), v.version), bottomPadding = DEFAULT_PADDING)
|
||||
|
||||
v.features.forEach { feature ->
|
||||
featureDescription(painterResource(feature.icon), feature.titleId, feature.descrId, feature.link)
|
||||
if (feature.show) {
|
||||
featureDescription(painterResource(feature.icon), feature.titleId, feature.descrId, feature.link)
|
||||
}
|
||||
}
|
||||
|
||||
if (v.post != null) {
|
||||
@@ -158,7 +160,8 @@ private data class FeatureDescription(
|
||||
val icon: ImageResource,
|
||||
val titleId: StringResource,
|
||||
val descrId: StringResource,
|
||||
val link: String? = null
|
||||
val link: String? = null,
|
||||
val show: Boolean = true
|
||||
)
|
||||
|
||||
private data class VersionDescription(
|
||||
@@ -587,6 +590,43 @@ private val versionDescriptions: List<VersionDescription> = listOf(
|
||||
)
|
||||
)
|
||||
),
|
||||
VersionDescription(
|
||||
version = "v6.0",
|
||||
post = "https://simplex.chat/blog/20240814-simplex-chat-vision-funding-v6-private-routing-new-user-experience.html",
|
||||
features = listOf(
|
||||
FeatureDescription(
|
||||
icon = MR.images.ic_settings_ethernet,
|
||||
titleId = MR.strings.v5_8_private_routing,
|
||||
descrId = MR.strings.v6_0_private_routing_descr
|
||||
),
|
||||
FeatureDescription(
|
||||
icon = MR.images.ic_id_card,
|
||||
titleId = MR.strings.v6_0_your_contacts,
|
||||
descrId = MR.strings.v6_0_your_contacts_descr
|
||||
),
|
||||
FeatureDescription(
|
||||
icon = MR.images.ic_toast,
|
||||
titleId = MR.strings.v6_0_reachable_chat_toolbar,
|
||||
descrId = MR.strings.v6_0_reachable_chat_toolbar_descr,
|
||||
show = appPlatform.isAndroid
|
||||
),
|
||||
FeatureDescription(
|
||||
icon = MR.images.ic_link,
|
||||
titleId = MR.strings.v6_0_connect_faster,
|
||||
descrId = MR.strings.v6_0_connect_faster_descr
|
||||
),
|
||||
FeatureDescription(
|
||||
icon = MR.images.ic_delete,
|
||||
titleId = MR.strings.v6_0_delete_many_messages,
|
||||
descrId = MR.strings.v6_0_delete_many_messages_descr
|
||||
),
|
||||
FeatureDescription(
|
||||
icon = MR.images.ic_wifi_tethering,
|
||||
titleId = MR.strings.v6_0_connection_servers_status,
|
||||
descrId = MR.strings.v6_0_connection_servers_status_descr
|
||||
)
|
||||
),
|
||||
)
|
||||
)
|
||||
|
||||
private val lastVersion = versionDescriptions.last().version
|
||||
|
||||
@@ -467,7 +467,7 @@
|
||||
<string name="delete_without_notification">Delete without notification</string>
|
||||
<string name="button_delete_contact">Delete contact</string>
|
||||
<string name="conversation_deleted">Conversation deleted!</string>
|
||||
<string name="you_can_still_send_messages_to_contact">You can still send messages to %1$s from the Deleted chats.</string>
|
||||
<string name="you_can_still_send_messages_to_contact">You can send messages to %1$s from Archived contacts.</string>
|
||||
<string name="contact_deleted">Contact deleted!</string>
|
||||
<string name="you_can_still_view_conversation_with_contact">You can still view conversation with %1$s in the list of chats.</string>
|
||||
<string name="text_field_set_contact_placeholder">Set contact name…</string>
|
||||
@@ -676,7 +676,7 @@
|
||||
<string name="invalid_qr_code">Invalid QR code</string>
|
||||
<string name="code_you_scanned_is_not_simplex_link_qr_code">The code you scanned is not a SimpleX link QR code.</string>
|
||||
|
||||
<string name="deleted_chats">Deleted chats</string>
|
||||
<string name="deleted_chats">Archived contacts</string>
|
||||
<string name="no_filtered_contacts">No filtered contacts</string>
|
||||
<string name="contact_list_header_title">Your contacts</string>
|
||||
|
||||
@@ -1974,6 +1974,17 @@
|
||||
<string name="v5_8_message_delivery">Improved message delivery</string>
|
||||
<string name="v5_8_message_delivery_descr">With reduced battery usage.</string>
|
||||
<string name="v5_8_persian_ui">Persian UI</string>
|
||||
<string name="v6_0_private_routing_descr">It protects your IP address and connections.</string>
|
||||
<string name="v6_0_your_contacts">Your contacts your way</string>
|
||||
<string name="v6_0_your_contacts_descr">- Search contacts when starting chat.\n- Archive contacts to chat later.</string>
|
||||
<string name="v6_0_reachable_chat_toolbar">Reachable chat toolbar 👋</string>
|
||||
<string name="v6_0_reachable_chat_toolbar_descr">Use the app with one hand.</string>
|
||||
<string name="v6_0_connect_faster">Connect to your friends faster</string>
|
||||
<string name="v6_0_connect_faster_descr">Even when they are offline.</string>
|
||||
<string name="v6_0_delete_many_messages">Moderate like a pro ✋</string>
|
||||
<string name="v6_0_delete_many_messages_descr">Delete up to 20 messages at once.</string>
|
||||
<string name="v6_0_connection_servers_status">Control your network</string>
|
||||
<string name="v6_0_connection_servers_status_descr">Connection and servers status.</string>
|
||||
|
||||
<!-- CustomTimePicker -->
|
||||
<string name="custom_time_unit_seconds">seconds</string>
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#000000">
|
||||
<path
|
||||
d="M730-455q12.25 0 20.63-8.43 8.37-8.42 8.37-20.5 0-12.07-8.37-20.32-8.38-8.25-20.63-8.25H605q-12.25 0-20.62 8.46-8.38 8.47-8.38 20.22 0 12.32 8.38 20.57Q592.75-455 605-455h125Zm0-116.5q12.25 0 20.63-8.18 8.37-8.17 8.37-20.5 0-12.32-8.37-20.57Q742.25-629 730-629H605q-12.25 0-20.62 8.43-8.38 8.42-8.38 20.75 0 12.32 8.38 20.32 8.37 8 20.62 8h125Zm-370.25 136q-38.63 0-66.58 6.5-27.94 6.5-49.17 19.5-20 11-31 28.61T202-343q0 9.5 6.39 15.5 6.38 6 15.61 6h270.5q9.23 0 15.61-6.23 6.39-6.24 6.39-15.77 0-18.69-10.75-36.1Q495-397 476-409.5q-21.5-13.5-50-19.75t-66.25-6.25Zm-.58-60q29.59 0 50.71-20.96Q431-537.41 431-566.84q0-29.42-20.98-50.54-20.98-21.12-50.44-21.12-29.84 0-50.71 20.96Q288-596.59 288-567.16q0 29.42 20.79 50.54 20.79 21.12 50.38 21.12Zm-216.67 331q-22.97 0-40.23-17.27Q85-199.03 85-222v-516q0-22.97 17.27-40.23 17.26-17.27 40.23-17.27h675q22.97 0 40.23 17.27Q875-760.97 875-738v516q0 22.97-17.27 40.23-17.26 17.27-40.23 17.27h-675Zm0-57.5h675v-516h-675v516Zm0 0v-516 516Z" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
@@ -0,0 +1,4 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#000000">
|
||||
<path
|
||||
d="M269.5-240.5h421q11.67 0 20.09-8.43 8.41-8.42 8.41-20.5 0-12.07-8.41-20.32-8.42-8.25-20.09-8.25h-421q-12.25 0-20.62 8.46-8.38 8.47-8.38 20.22 0 12.32 8.38 20.57 8.37 8.25 20.62 8.25Zm-87.5 116q-22.97 0-40.23-17.27Q124.5-159.03 124.5-182v-596q0-22.97 17.27-40.23Q159.03-835.5 182-835.5h596q22.97 0 40.23 17.27Q835.5-800.97 835.5-778v596q0 22.97-17.27 40.23Q800.97-124.5 778-124.5H182Zm0-57.5h596v-596H182v596Zm0-596v596-596Z" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 563 B |
Reference in New Issue
Block a user