Skip to content

Commit

Permalink
Update wrapped-profileFormText.ts
Browse files Browse the repository at this point in the history
I believe that since it says "Short name for chats, etc" a reasonable starting place may be a 20 character limit. If characters are increased, this will lead to spammed/ugly profile homepages. I tested the 20 character limit with the default browser setting at 100% zoom function. It does not interfere with the cards aesthetic. It seems like it stays in its container and looks encapsulated. Also checked this out on the smartphone and it seems safe. I also noticed that there are two wrapped-profileFormText.ts files that seem identical. Place this where you will. If this is not fixed, users will exploit this and spam to infinity.
  • Loading branch information
chunt007 authored Jan 21, 2025
1 parent acb6163 commit 25dd2b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/editProfilePane/wrapped-profileFormText.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export const profileForm= `
# Nickname
:nicknameField a ui:SingleLineTextField; ui:size 12; ui:property foaf:nick;
:nicknameField a ui:SingleLineTextField; ui:maxLength "20"; ui:size 12; ui:property foaf:nick;
ui:label "Short name for chats, etc."@en, "nom court"@fr.
# Pronouns
Expand Down

0 comments on commit 25dd2b5

Please sign in to comment.