Skip to content

Conversation

@TurtIeSocks
Copy link
Collaborator

@TurtIeSocks TurtIeSocks commented Oct 7, 2022

  • Allow custom user fields to be added and saved in the user table
  • Data json column handles the data dynamically
  • Includes migration
  • Dynamically creates TextField inputs on the profile page for any number of fields you add to your config
  • Can be formatted as an array of strings or array of objects
  • If you use a string, the string is used as the name that is displayed and saved in the db json
  • If you use objects, you have extra customization:
  • You can have different locales displayed, use the locales as the keys and the display name as the value
  • Use the name key as the fallback for any missing locales
  • Use the database key as the key that will be saved in the database json
{
        "extraUserFields": [
        "paypal_name",
        {
          "name": "paypal",
          "en": "paypal",
          "es": "spanish_paypal",
          "database": "paypal_ish"
        }
      ]
}

Resolves #573

yw2theorycrafter and others added 5 commits September 4, 2022 22:21
…_location_icon_change

use more common icon for use-my-location
- Allow custom user fields to be added and saved in the user table
- Data json column handles the data dynamically
- Includes migration
- Dynamically creates TextField inputs on the profile page for any number of fields you add to your config
- Can be formatted as an array of strings or array of objects
- If you use a string, the string is used as the name that is displayed and saved in the db json
- If you use objects, you have extra customization:
- You can have different locales displayed, use the locales as the keys and the display name as the value
- Use the `name` key as the fallback for any missing locales
- Use the `database` key as the key that will be saved in the database json
Files changed:\nM	server/src/configs/custom-environment-variables.json
@TurtIeSocks TurtIeSocks merged commit c36390f into develop Oct 7, 2022
@TurtIeSocks TurtIeSocks deleted the add-data-column branch October 7, 2022 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants