revert Change user icon from ph-user to ph-head-circuit
This commit is contained in:
limepotato 2024-08-09 11:02:59 +02:00 committed by Iceshrimp development
parent ac7b2c643d
commit 2995c94ab9
No known key found for this signature in database
GPG key ID: 7249C94AE229BEAF
34 changed files with 42 additions and 42 deletions

View file

@ -262,7 +262,7 @@ export async function openAccountMenu(
}, },
{ {
type: "link", type: "link",
icon: "ph-head-circuits ph-bold ph-lg", icon: "ph-users ph-bold ph-lg",
text: i18n.ts.manageAccounts, text: i18n.ts.manageAccounts,
to: "/settings/accounts", to: "/settings/accounts",
}, },

View file

@ -7,7 +7,7 @@
</div> </div>
<div class="status"> <div class="status">
<div> <div>
<i class="ph-head-circuits ph-bold ph-lg ph-fw ph-lg"></i> <i class="ph-users ph-bold ph-lg ph-fw ph-lg"></i>
<I18n <I18n
:src="i18n.ts._channel.usersCount" :src="i18n.ts._channel.usersCount"
tag="span" tag="span"

View file

@ -29,7 +29,7 @@
>{{ maxTextLength - textLength }}</span >{{ maxTextLength - textLength }}</span
> >
<span v-if="localOnly" class="local-only" <span v-if="localOnly" class="local-only"
><i class="ph-head-circuits ph-bold ph-lg"></i ><i class="ph-users ph-bold ph-lg"></i
></span> ></span>
<button <button
ref="visibilityButton" ref="visibilityButton"

View file

@ -187,7 +187,7 @@ const renote = (viaKeyboard = false, ev?: MouseEvent) => {
if (canRenote) { if (canRenote) {
buttonActions.push({ buttonActions.push({
text: `${i18n.ts.renote} (${i18n.ts.local})`, text: `${i18n.ts.renote} (${i18n.ts.local})`,
icon: "ph-head-circuits ph-bold ph-lg", icon: "ph-users ph-bold ph-lg",
danger: false, danger: false,
action: () => { action: () => {
os.api( os.api(

View file

@ -40,7 +40,7 @@ async function openSearchFilters(ev) {
await os.popupMenu( await os.popupMenu(
[ [
{ {
icon: "ph-head-circuit ph-bold ph-lg", icon: "ph-user ph-bold ph-lg",
text: i18n.ts._filters.fromUser, text: i18n.ts._filters.fromUser,
action: () => { action: () => {
os.selectUser().then((user) => { os.selectUser().then((user) => {
@ -75,7 +75,7 @@ async function openSearchFilters(ev) {
}, },
}, },
{ {
icon: "ph-head-circuits-three ph-bold ph-lg", icon: "ph-users-three ph-bold ph-lg",
text: i18n.ts._filters.followersOnly, text: i18n.ts._filters.followersOnly,
action: () => { action: () => {
appendSearchFilter("filter:followers"); appendSearchFilter("filter:followers");

View file

@ -136,7 +136,7 @@
tag="div" tag="div"
> >
<template #icon> <template #icon>
<i class="ph-head-circuits ph-bold ph-lg" /> <i class="ph-users ph-bold ph-lg" />
</template> </template>
</I18n> </I18n>
</li> </li>

View file

@ -18,7 +18,7 @@
</span> </span>
<span v-if="note.localOnly" :class="$style.localOnly" <span v-if="note.localOnly" :class="$style.localOnly"
><i ><i
class="ph-head-circuits ph-bold ph-lg" class="ph-users ph-bold ph-lg"
v-tooltip="i18n.ts._visibility.localOnly" v-tooltip="i18n.ts._visibility.localOnly"
></i ></i
></span> ></span>

View file

@ -100,7 +100,7 @@
@click="localOnly = !localOnly" @click="localOnly = !localOnly"
> >
<div :class="$style.icon"> <div :class="$style.icon">
<i class="ph-head-circuits ph-bold ph-lg"></i> <i class="ph-users ph-bold ph-lg"></i>
</div> </div>
<div :class="$style.body"> <div :class="$style.body">
<span :class="$style.itemTitle">{{ <span :class="$style.itemTitle">{{

View file

@ -56,7 +56,7 @@ export const navbarItemDef = reactive({
/* /*
groups: { groups: {
title: 'groups', title: 'groups',
icon: 'ph-head-circuits-three ph-bold ph-lg', icon: 'ph-users-three ph-bold ph-lg',
show: computed(() => $i != null), show: computed(() => $i != null),
to: '/my/groups', to: '/my/groups',
}, },
@ -96,7 +96,7 @@ export const navbarItemDef = reactive({
}, },
groups: { groups: {
title: "groups", title: "groups",
icon: "ph-head-circuits-three ph-bold ph-lg", icon: "ph-users-three ph-bold ph-lg",
to: "/my/groups", to: "/my/groups",
}, },
ui: { ui: {

View file

@ -428,7 +428,7 @@ const headerActions = $computed(() => [
const headerTabs = $computed(() => [ const headerTabs = $computed(() => [
{ {
key: "local", key: "local",
icon: "ph-head-circuits ph-bold ph-lg", icon: "ph-users ph-bold ph-lg",
title: i18n.ts.local, title: i18n.ts.local,
}, },
{ {

View file

@ -136,7 +136,7 @@ const menuDef = $computed(() => [
? [ ? [
{ {
type: "button", type: "button",
icon: "ph-head-circuit-plus ph-bold ph-lg", icon: "ph-user-plus ph-bold ph-lg",
text: i18n.ts.invite, text: i18n.ts.invite,
action: invite, action: invite,
}, },
@ -154,7 +154,7 @@ const menuDef = $computed(() => [
active: currentPage?.route.name === "overview", active: currentPage?.route.name === "overview",
}, },
{ {
icon: "ph-head-circuits ph-bold ph-lg", icon: "ph-users ph-bold ph-lg",
text: i18n.ts.users, text: i18n.ts.users,
to: "/admin/users", to: "/admin/users",
active: currentPage?.route.name === "users", active: currentPage?.route.name === "users",
@ -352,7 +352,7 @@ const lookup = (ev) => {
[ [
{ {
text: i18n.ts.user, text: i18n.ts.user,
icon: "ph-head-circuit ph-bold ph-lg", icon: "ph-user ph-bold ph-lg",
action: () => { action: () => {
lookupUser(); lookupUser();
}, },

View file

@ -8,7 +8,7 @@
<div v-else :class="$style.root"> <div v-else :class="$style.root">
<div class="item _panel users"> <div class="item _panel users">
<div class="icon"> <div class="icon">
<i class="ph-head-circuits ph-bold ph-xl"></i> <i class="ph-users ph-bold ph-xl"></i>
</div> </div>
<div class="body"> <div class="body">
<div class="value"> <div class="value">

View file

@ -207,7 +207,7 @@ const headerTabs = $computed(() => []);
definePageMetadata( definePageMetadata(
computed(() => ({ computed(() => ({
title: i18n.ts.users, title: i18n.ts.users,
icon: "ph-head-circuits ph-bold ph-lg", icon: "ph-users ph-bold ph-lg",
})), })),
); );
</script> </script>

View file

@ -40,7 +40,7 @@
<div class="status"> <div class="status">
<div> <div>
<i <i
class="ph-head-circuits ph-bold ph-lg ph-fw ph-lg" class="ph-users ph-bold ph-lg ph-fw ph-lg"
></i ></i
><I18n ><I18n
:src="i18n.ts._channel.usersCount" :src="i18n.ts._channel.usersCount"

View file

@ -58,7 +58,7 @@ const headerActions = $computed(() => []);
const headerTabs = $computed(() => [ const headerTabs = $computed(() => [
{ {
key: "users", key: "users",
icon: "ph-head-circuits ph-bold ph-lg", icon: "ph-users ph-bold ph-lg",
title: i18n.ts.users, title: i18n.ts.users,
}, },
{ {

View file

@ -492,7 +492,7 @@ if (iAmAdmin) {
{ {
key: "users", key: "users",
title: i18n.ts.users, title: i18n.ts.users,
icon: "ph-head-circuits ph-bold ph-lg", icon: "ph-users ph-bold ph-lg",
}, },
{ {
key: "raw", key: "raw",

View file

@ -135,7 +135,7 @@ async function deleteGroup() {
definePageMetadata( definePageMetadata(
computed(() => ({ computed(() => ({
title: i18n.ts.members, title: i18n.ts.members,
icon: "ph-head-circuits-three ph-bold ph-lg", icon: "ph-users-three ph-bold ph-lg",
})), })),
); );

View file

@ -82,7 +82,7 @@ const headerActions = $computed(() => [
definePageMetadata( definePageMetadata(
computed(() => ({ computed(() => ({
title: i18n.ts.groups, title: i18n.ts.groups,
icon: "ph-head-circuits-three ph-bold ph-lg", icon: "ph-users-three ph-bold ph-lg",
})), })),
); );

View file

@ -153,7 +153,7 @@ const headerTabs = $computed(() => [
}, },
{ {
key: "users", key: "users",
icon: "ph-head-circuits ph-bold ph-lg", icon: "ph-users ph-bold ph-lg",
title: i18n.ts.users, title: i18n.ts.users,
}, },
]); ]);

View file

@ -150,7 +150,7 @@ const headerTabs = $computed(() => []);
definePageMetadata({ definePageMetadata({
title: i18n.ts.accounts, title: i18n.ts.accounts,
icon: "ph-head-circuits ph-bold ph-lg", icon: "ph-users ph-bold ph-lg",
}); });
</script> </script>

View file

@ -94,7 +94,7 @@ const menuDef = computed(() => [
title: i18n.ts.basicSettings, title: i18n.ts.basicSettings,
items: [ items: [
{ {
icon: "ph-head-circuit ph-bold ph-lg", icon: "ph-user ph-bold ph-lg",
text: i18n.ts.profile, text: i18n.ts.profile,
to: "/settings/profile", to: "/settings/profile",
active: currentPage?.route.name === "profile", active: currentPage?.route.name === "profile",

View file

@ -301,7 +301,7 @@ const headerTabs = $computed(() => []);
definePageMetadata({ definePageMetadata({
title: i18n.ts.profile, title: i18n.ts.profile,
icon: "ph-head-circuit ph-bold ph-lg", icon: "ph-user ph-bold ph-lg",
}); });
</script> </script>

View file

@ -32,6 +32,6 @@ const headerTabs = $computed(() => []);
definePageMetadata({ definePageMetadata({
title: i18n.ts.signup, title: i18n.ts.signup,
icon: "ph-head-circuit ph-bold ph-lg", icon: "ph-user ph-bold ph-lg",
}); });
</script> </script>

View file

@ -87,7 +87,7 @@ const headerTabs = $computed(() => [
}, },
{ {
key: "users", key: "users",
icon: "ph-head-circuits ph-bold ph-lg", icon: "ph-users ph-bold ph-lg",
title: i18n.ts.users, title: i18n.ts.users,
}, },
]); ]);

View file

@ -235,7 +235,7 @@ const headerTabs = $computed(() => [
{ {
key: "local", key: "local",
title: i18n.ts._timelines.local, title: i18n.ts._timelines.local,
icon: "ph-head-circuits ph-bold ph-lg", icon: "ph-users ph-bold ph-lg",
iconOnly: true, iconOnly: true,
}, },
] ]
@ -277,7 +277,7 @@ definePageMetadata(
title: i18n.ts.timeline, title: i18n.ts.timeline,
icon: icon:
src === "local" src === "local"
? "ph-head-circuits ph-bold ph-lg" ? "ph-users ph-bold ph-lg"
: src === "social" : src === "social"
? "ph-handshake ph-bold ph-lg" ? "ph-handshake ph-bold ph-lg"
: src === "recommended" : src === "recommended"

View file

@ -222,7 +222,7 @@
inline inline
danger danger
@click="deleteAccount" @click="deleteAccount"
><i class="ph-head-circuit-minus ph-bold ph-lg"></i> ><i class="ph-user-minus ph-bold ph-lg"></i>
{{ i18n.ts.deleteAccount }}</FormButton {{ i18n.ts.deleteAccount }}</FormButton
> >
</div> </div>

View file

@ -65,7 +65,7 @@ definePageMetadata(
computed(() => computed(() =>
user user
? { ? {
icon: "ph-head-circuit ph-bold ph-lg", icon: "ph-user ph-bold ph-lg",
title: user.name title: user.name
? `${user.name} (@${user.username})` ? `${user.name} (@${user.username})`
: `@${user.username}`, : `@${user.username}`,

View file

@ -65,7 +65,7 @@ definePageMetadata(
computed(() => computed(() =>
user user
? { ? {
icon: "ph-head-circuit ph-bold ph-lg", icon: "ph-user ph-bold ph-lg",
title: user.name title: user.name
? `${user.name} (@${user.username})` ? `${user.name} (@${user.username})`
: `@${user.username}`, : `@${user.username}`,

View file

@ -88,7 +88,7 @@ const headerTabs = $computed(() =>
{ {
key: "home", key: "home",
title: i18n.ts.overview, title: i18n.ts.overview,
icon: "ph-head-circuit ph-bold ph-lg", icon: "ph-user ph-bold ph-lg",
}, },
...(($i && $i.id === user.id) || user.publicReactions ...(($i && $i.id === user.id) || user.publicReactions
? [ ? [
@ -126,7 +126,7 @@ definePageMetadata(
computed(() => computed(() =>
user user
? { ? {
icon: "ph-head-circuit ph-bold ph-lg", icon: "ph-user ph-bold ph-lg",
title: user.name title: user.name
? `${user.name} (@${user.username})` ? `${user.name} (@${user.username})`
: `@${user.username}`, : `@${user.username}`,

View file

@ -34,6 +34,6 @@ const headerTabs = $computed(() => []);
definePageMetadata({ definePageMetadata({
title: "Verify email", title: "Verify email",
icon: "ph-head-circuit ph-bold ph-lg", icon: "ph-user ph-bold ph-lg",
}); });
</script> </script>

View file

@ -436,7 +436,7 @@ export function getNoteMenu(props: {
!isAppearAuthor !isAppearAuthor
? { ? {
type: "parent", type: "parent",
icon: "ph-head-circuit ph-bold ph-lg", icon: "ph-user ph-bold ph-lg",
text: i18n.ts.user, text: i18n.ts.user,
children: getUserMenu(appearNote.user), children: getUserMenu(appearNote.user),
} }

View file

@ -312,7 +312,7 @@ export function getUserMenu(user, router: Router = mainRouter) {
}, },
meId !== user.id meId !== user.id
? { ? {
icon: "ph-head-circuits-three ph-bold ph-lg", icon: "ph-users-three ph-bold ph-lg",
text: i18n.ts.inviteToGroup, text: i18n.ts.inviteToGroup,
action: inviteGroup, action: inviteGroup,
} }

View file

@ -238,21 +238,21 @@ function messagingStart(ev) {
[ [
{ {
text: i18n.ts.messagingWithUser, text: i18n.ts.messagingWithUser,
icon: "ph-head-circuit ph-bold ph-lg", icon: "ph-user ph-bold ph-lg",
action: () => { action: () => {
startUser(); startUser();
}, },
}, },
{ {
text: i18n.ts.messagingWithGroup, text: i18n.ts.messagingWithGroup,
icon: "ph-head-circuits-three ph-bold ph-lg", icon: "ph-users-three ph-bold ph-lg",
action: () => { action: () => {
startGroup(); startGroup();
}, },
}, },
{ {
text: i18n.ts.manageGroups, text: i18n.ts.manageGroups,
icon: "ph-head-circuit-circle-gear ph-bold ph-lg", icon: "ph-user-circle-gear ph-bold ph-lg",
action: () => { action: () => {
mainRouter.push("/my/groups"); mainRouter.push("/my/groups");
}, },

View file

@ -1,7 +1,7 @@
<template> <template>
<MkContainer :show-header="widgetProps.showHeader" class="mkw-userList"> <MkContainer :show-header="widgetProps.showHeader" class="mkw-userList">
<template #header <template #header
><i class="ph-head-circuit-list ph-bold ph-lg"></i> ><i class="ph-user-list ph-bold ph-lg"></i>
{{ list ? list.name : i18n.ts._widgets.userList }}</template {{ list ? list.name : i18n.ts._widgets.userList }}</template
> >
<template #func="{ buttonStyleClass }" <template #func="{ buttonStyleClass }"