Skip to content

Commit 7fdfffb

Browse files
authored
Merge pull request #272 from Rustmail/dev
fix(panel): add bold title for config and ticket tab and bump rustmail version
2 parents d06d66d + d0df0db commit 7fdfffb

6 files changed

Lines changed: 16 additions & 40 deletions

File tree

Cargo.lock

Lines changed: 3 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rustmail/Cargo.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rustmail"
3-
version = "1.0.7"
3+
version = "1.0.8"
44
edition = "2024"
55
license = "MIT"
66

@@ -23,9 +23,7 @@ mime_guess = "2.0.5"
2323
urlencoding = "2.1.3"
2424
serde_json = "1.0.145"
2525
rand = "0.9.2"
26-
base64 = "0.22.1"
2726
subtle = "2.6.1"
28-
prefixed-api-key = "0.3.0"
2927
sha2 = "0.10.8"
3028
hex = "0.4.3"
3129
moka = { version = "0.12", features = ["future"] }

rustmail_panel/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rustmail_panel"
3-
version = "0.1.0"
3+
version = "1.0.8"
44
edition = "2024"
55
license = "MIT"
66

rustmail_panel/src/components/configuration.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ pub fn configuration_page() -> Html {
191191
<div class="max-w-4xl mx-auto">
192192

193193
<div class="mb-8">
194-
<h1 class="text-3xl text-white mb-2">{i18n.t("panel.configuration.title")}</h1>
194+
<h1 class="text-3xl text-white mb-2 font-bold">{i18n.t("panel.configuration.title")}</h1>
195195
<p class="text-gray-400">{i18n.t("panel.configuration.description")}</p>
196196
</div>
197197

rustmail_panel/src/components/ticket.rs

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ use js_sys::Date;
77
use serde::Deserialize;
88
use wasm_bindgen::JsValue;
99
use wasm_bindgen_futures::spawn_local;
10+
use web_sys::UrlSearchParams;
1011
use yew::prelude::*;
1112
use yew_router::prelude::*;
12-
use web_sys::UrlSearchParams;
1313

1414
#[derive(Clone, PartialEq, Deserialize, Debug)]
1515
pub struct ThreadMessage {
@@ -202,7 +202,10 @@ pub fn tickets_list() -> Html {
202202
let page_size = page_size.clone();
203203

204204
Callback::from(move |_| {
205-
let url = format!("/panel/tickets?page={}&page_size={}", *current_page, *page_size);
205+
let url = format!(
206+
"/panel/tickets?page={}&page_size={}",
207+
*current_page, *page_size
208+
);
206209
navigator.replace(&TicketsRoute::TicketsList);
207210
if let Some(window) = web_sys::window() {
208211
if let Some(history) = window.history().ok() {
@@ -270,7 +273,9 @@ pub fn tickets_list() -> Html {
270273
let query = search_query.to_lowercase();
271274
t.id.to_lowercase().contains(&query)
272275
|| t.user_name.to_lowercase().contains(&query)
273-
|| t.messages.iter().any(|m| m.content.to_lowercase().contains(&query))
276+
|| t.messages
277+
.iter()
278+
.any(|m| m.content.to_lowercase().contains(&query))
274279
}
275280
})
276281
.cloned()
@@ -287,7 +292,7 @@ pub fn tickets_list() -> Html {
287292
html! {
288293
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8 text-white">
289294
<div class="mb-8">
290-
<h1 class="text-3xl text-white mb-2">{i18n.t("panel.tickets.title")}</h1>
295+
<h1 class="text-3xl text-white mb-2 font-bold">{i18n.t("panel.tickets.title")}</h1>
291296
<p class="text-gray-400">{i18n.t("panel.tickets.description")}</p>
292297
</div>
293298

rustmail_types/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rustmail_types"
3-
version = "0.1.1"
3+
version = "1.0.8"
44
edition = "2024"
55
license = "MIT"
66

0 commit comments

Comments
 (0)