add: reposts/quotes pages

add: repost notification
This commit is contained in:
trisua 2025-04-23 16:46:13 -04:00
parent 41250ef7ed
commit 276f25a496
17 changed files with 601 additions and 50 deletions

View file

@ -145,6 +145,9 @@ pub struct UserSettings {
/// The URL of the avatar used for anonymous users.
#[serde(default)]
pub anonymous_avatar_url: String,
/// If dislikes are hidden for the user.
#[serde(default)]
pub hide_dislikes: bool,
}
impl Default for User {

View file

@ -344,10 +344,8 @@ impl Question {
}
}
#[derive(Debug, Clone, Serialize, Deserialize)]
#[derive(Default)]
#[derive(Debug, Clone, Serialize, Deserialize, Default)]
pub struct QuestionContext {
#[serde(default)]
pub is_nsfw: bool,
}