feat(frontend): show custom preferences
This commit is contained in:
parent
2c71741d7c
commit
8bda5f9860
7 changed files with 120 additions and 57 deletions
41
frontend/src/lib/api/default_preferences.ts
Normal file
41
frontend/src/lib/api/default_preferences.ts
Normal file
|
@ -0,0 +1,41 @@
|
|||
import { type CustomPreferences, PreferenceSize } from "./entities";
|
||||
|
||||
const defaultPreferences: CustomPreferences = {
|
||||
favourite: {
|
||||
icon: "heart-fill",
|
||||
tooltip: "Favourite",
|
||||
size: PreferenceSize.Large,
|
||||
muted: false,
|
||||
favourite: true,
|
||||
},
|
||||
okay: {
|
||||
icon: "hand-thumbs-up",
|
||||
tooltip: "Okay",
|
||||
size: PreferenceSize.Normal,
|
||||
muted: false,
|
||||
favourite: false,
|
||||
},
|
||||
jokingly: {
|
||||
icon: "emoji-laughing",
|
||||
tooltip: "Jokingly",
|
||||
size: PreferenceSize.Normal,
|
||||
muted: false,
|
||||
favourite: false,
|
||||
},
|
||||
friends_only: {
|
||||
icon: "people",
|
||||
tooltip: "Friends only",
|
||||
size: PreferenceSize.Normal,
|
||||
muted: false,
|
||||
favourite: false,
|
||||
},
|
||||
avoid: {
|
||||
icon: "people",
|
||||
tooltip: "Avoid",
|
||||
size: PreferenceSize.Small,
|
||||
muted: true,
|
||||
favourite: false,
|
||||
},
|
||||
};
|
||||
|
||||
export default defaultPreferences;
|
Loading…
Add table
Add a link
Reference in a new issue