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
33 changes: 3 additions & 30 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions rustmail/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rustmail"
version = "1.0.7"
version = "1.0.8"
edition = "2024"
license = "MIT"

Expand All @@ -23,9 +23,7 @@ mime_guess = "2.0.5"
urlencoding = "2.1.3"
serde_json = "1.0.145"
rand = "0.9.2"
base64 = "0.22.1"
subtle = "2.6.1"
prefixed-api-key = "0.3.0"
sha2 = "0.10.8"
hex = "0.4.3"
moka = { version = "0.12", features = ["future"] }
Expand Down
2 changes: 1 addition & 1 deletion rustmail_panel/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rustmail_panel"
version = "0.1.0"
version = "1.0.8"
edition = "2024"
license = "MIT"

Expand Down
2 changes: 1 addition & 1 deletion rustmail_panel/src/components/configuration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ pub fn configuration_page() -> Html {
<div class="max-w-4xl mx-auto">

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

Expand Down
13 changes: 9 additions & 4 deletions rustmail_panel/src/components/ticket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ use js_sys::Date;
use serde::Deserialize;
use wasm_bindgen::JsValue;
use wasm_bindgen_futures::spawn_local;
use web_sys::UrlSearchParams;
use yew::prelude::*;
use yew_router::prelude::*;
use web_sys::UrlSearchParams;

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

Callback::from(move |_| {
let url = format!("/panel/tickets?page={}&page_size={}", *current_page, *page_size);
let url = format!(
"/panel/tickets?page={}&page_size={}",
*current_page, *page_size
);
navigator.replace(&TicketsRoute::TicketsList);
if let Some(window) = web_sys::window() {
if let Some(history) = window.history().ok() {
Expand Down Expand Up @@ -270,7 +273,9 @@ pub fn tickets_list() -> Html {
let query = search_query.to_lowercase();
t.id.to_lowercase().contains(&query)
|| t.user_name.to_lowercase().contains(&query)
|| t.messages.iter().any(|m| m.content.to_lowercase().contains(&query))
|| t.messages
.iter()
.any(|m| m.content.to_lowercase().contains(&query))
}
})
.cloned()
Expand All @@ -287,7 +292,7 @@ pub fn tickets_list() -> Html {
html! {
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8 text-white">
<div class="mb-8">
<h1 class="text-3xl text-white mb-2">{i18n.t("panel.tickets.title")}</h1>
<h1 class="text-3xl text-white mb-2 font-bold">{i18n.t("panel.tickets.title")}</h1>
<p class="text-gray-400">{i18n.t("panel.tickets.description")}</p>
</div>

Expand Down
2 changes: 1 addition & 1 deletion rustmail_types/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rustmail_types"
version = "0.1.1"
version = "1.0.8"
edition = "2024"
license = "MIT"

Expand Down