From 862a64840edba0bc9563f3b904b2f1453d2dca3f Mon Sep 17 00:00:00 2001 From: sam Date: Tue, 24 Sep 2024 20:56:10 +0200 Subject: [PATCH] feat: add avatar/bio/links/names/pronouns to user page --- .gitignore | 1 + .../inspectionProfiles/Project_Default.xml | 31 ++++ .../Controllers/MembersController.cs | 3 +- .../Controllers/UsersController.cs | 22 +++ Foxnouns.Backend/Utils/ValidationUtils.cs | 67 +++++++- .../app/components/KeyedIcon.tsx | 16 ++ .../app/components/ProfileLink.tsx | 27 +++ .../app/components/PronounLink.tsx | 32 ++++ .../app/components/StatusIcon.tsx | 34 ++++ .../app/components/StatusLine.tsx | 36 ++++ Foxnouns.Frontend/app/lib/api/user.ts | 60 +++++++ Foxnouns.Frontend/app/lib/markdown.ts | 22 +++ .../app/routes/$username/route.tsx | 87 +++++++++- Foxnouns.Frontend/package.json | 7 +- Foxnouns.Frontend/public/locales/en.json | 162 +++++++++--------- Foxnouns.Frontend/yarn.lock | 133 +++++++++++++- 16 files changed, 650 insertions(+), 90 deletions(-) create mode 100644 Foxnouns.Frontend/app/components/KeyedIcon.tsx create mode 100644 Foxnouns.Frontend/app/components/ProfileLink.tsx create mode 100644 Foxnouns.Frontend/app/components/PronounLink.tsx create mode 100644 Foxnouns.Frontend/app/components/StatusIcon.tsx create mode 100644 Foxnouns.Frontend/app/components/StatusLine.tsx create mode 100644 Foxnouns.Frontend/app/lib/markdown.ts diff --git a/.gitignore b/.gitignore index 50799e6..d9b0dfd 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ node_modules/ config.ini *.DotSettings.user proxy-config.json +.DS_Store diff --git a/.idea/.idea.Foxnouns.NET/.idea/inspectionProfiles/Project_Default.xml b/.idea/.idea.Foxnouns.NET/.idea/inspectionProfiles/Project_Default.xml index ec33848..c9504c5 100644 --- a/.idea/.idea.Foxnouns.NET/.idea/inspectionProfiles/Project_Default.xml +++ b/.idea/.idea.Foxnouns.NET/.idea/inspectionProfiles/Project_Default.xml @@ -2,6 +2,37 @@