Closed lorenzleutgeb closed 1 year ago
I do understand your reason for showing the message only when it is missing. However, it somehow misses my motivation for the original PR: When I read something like /path/to/temp.eml
, it is not obvious to me that this string will be replaced. I read things like /path/to/...
in tutorials/documentation, when from the context it is clear that I should manually replace the path. In the case of external-editor-revived, I would expect something like $EMAIL_FILE
to be used as a placeholder. A variable name, that looks a little more formal than /path/to/temp.eml
. My intention was to inform the user right then and there, when the string /path/to/temp.eml
actually is shown. When I first opened the settings and saw this string, I immediately was confused, because I thought I should manually replace it. Now, if you only show the message when the string is absent, then it's already too late. People that remove the string already were confused, and now they have to revert their change.
I think that the information that /path/to/temp.eml
will be replaced should always be visible. The information that /path/to/temp.eml
must be present could possibly only be shown when it is indeed missing.
/path/to/temp.eml
. But this is kinda subjective and I didn't have a luxury to run a survey... Btw $EMAIL_FILE
(or dollar-anything) would not be a wise choice either, as it will stop users from actually using this environment variable./path/to/temp.eml
together. But again since it's subjective and I don't think it's worth the effort -- implementation-wise or maintenance-wise. Not to mention it'll trigger a very confusing default template migration prompt for non-Custom users.
Thanks for the idea!
I updated it a little to show the message only when
"/path/to/temp.eml"
is missing from the template. I think this is of a bit less noise.