chandler
chandler copied to clipboard
Customize display names based on condition
You can already customise display names using a string of text, but I think you should be able to change the display name format based on a condition.
Now, I'm thinking you could link a display name to a user template.
For example, for close friends & family, I usually want their format to be %first_name% %last_name%
, whereas for online friends, I'd usually go with %nickname% (%first_name% %last_name%)
Would it be an idea to make this kind of templating possible connected to a group_type
?
Customize group -> naming prefix is always standard unless user specifies a different way. This way you can change the template for Family or Roommate etc.
Would it be an idea to make this kind of templating possible connected to a
group_type
?
yes, that could be nice too !
actually, maybe user templates could be conditional ? something like "use template X if user is in group X", or actually, all share the same template, but "display this field if user is in group Y".
The idea of a 'If this then that' is quite powerful.
If [user]
has [pet_type(cat)]
then [notify]
- [email]
- International cat day
I would suggest this type of system as it can be extended in the future but start simple implementation. Starting with the ability to alter contact name visualization depending on certain parameters(ex. is in group Y).
It can later on be very easily extended with extra functionality. It starts with a If [dropdown]
- adds further dropdowns and texts with options based on selected values.
Atleast that might be advisable. It can be that this is not in line with what Chandler should be doing. It could lead to unreasonable computing as you can build system wide rules. it would then be better to stick to single implementation.
I really like the idea of having name formats, as well as templates per group type, or perhaps per label, because not everyone will be part of a group.