forge
Explore
Log in

Don't you dare go Hollow

The member list states the account, it does not narrate it

Browse files at this commit

4a0abe48fd6b536d8331b6fad58323f6964157cfAhmet Kaan GümüşParent: f91ac00
  • fix
    • the member list states the account, it does not narrate it
Show full message
💄 fix(settings): the member list states the account, it does not narrate it

owner / invited / active / last seen <day> replace the sentences; the
join screen stops explaining that a passwordless account has no password.
crates/izlek-web/src/pages.rsmodified+2 -2
@@ -184,8 +184,8 @@ fn JoinCard(token: String, person: Invited) -> impl IntoView {
184184 // one rather than naming the wrong person: the invitee's own name used to
185185 // sit here, greeting them with themselves.
186186 let made_by = match person.invited_by.clone() {
187- Some(admin) => format!("{admin} made you an account. It has no password yet."),
188- None => "An admin made you an account. It has no password yet.".to_string(),
187+ Some(admin) => format!("{admin} made you an account."),
188+ None => "An admin made you an account.".to_string(),
189189 };
190190
191191 view! {
crates/izlek-web/src/settings.rsmodified+4 -4
@@ -1024,13 +1024,13 @@ fn MembersPanel(
10241024 .into_iter()
10251025 .map(|member| {
10261026 let account = if member.is_owner {
1027- "the first account, administers the workspace".to_string()
1027+ "owner".to_string()
10281028 } else if !member.has_password {
1029- "no password yet".to_string()
1029+ "invited".to_string()
10301030 } else if let Some(day) = member.last_signed_in.clone() {
1031- format!("password set — last signed in {day}")
1031+ format!("last seen {day}")
10321032 } else {
1033- "password set".to_string()
1033+ "active".to_string()
10341034 };
10351035 let id = member.id.clone();
10361036 view! {