public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH] textareafield: add emptyText message to show markdown is possible
@ 2024-11-27 10:27 Gabriel Goller
  2024-11-27 10:29 ` Lukas Wagner
  0 siblings, 1 reply; 3+ messages in thread
From: Gabriel Goller @ 2024-11-27 10:27 UTC (permalink / raw)
  To: pbs-devel; +Cc: Lukas Wagner

Just like in our `Notes` fields show a emptyText message that explains
that markdown can be used.

Reported-by: Lukas Wagner <l.wagner@proxmox.com>
Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
---
 src/form/TextAreaField.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/form/TextAreaField.js b/src/form/TextAreaField.js
index 267b40c87d74..ed6015a9ec51 100644
--- a/src/form/TextAreaField.js
+++ b/src/form/TextAreaField.js
@@ -10,6 +10,7 @@ Ext.define('Proxmox.form.field.Base64TextArea', {
         width: 600,
         height: 400,
         scrollable: 'y',
+        emptyText: 'You can use Markdown for richt text formatting.',
     },
 
     setValue: function(value) {
-- 
2.39.5



_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [pbs-devel] [PATCH] textareafield: add emptyText message to show markdown is possible
  2024-11-27 10:27 [pbs-devel] [PATCH] textareafield: add emptyText message to show markdown is possible Gabriel Goller
@ 2024-11-27 10:29 ` Lukas Wagner
  2024-11-27 11:50   ` Gabriel Goller
  0 siblings, 1 reply; 3+ messages in thread
From: Lukas Wagner @ 2024-11-27 10:29 UTC (permalink / raw)
  To: Gabriel Goller, pbs-devel

On  2024-11-27 11:27, Gabriel Goller wrote:
> Just like in our `Notes` fields show a emptyText message that explains
> that markdown can be used.
> 
> Reported-by: Lukas Wagner <l.wagner@proxmox.com>
> Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
> ---
>  src/form/TextAreaField.js | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/form/TextAreaField.js b/src/form/TextAreaField.js
> index 267b40c87d74..ed6015a9ec51 100644
> --- a/src/form/TextAreaField.js
> +++ b/src/form/TextAreaField.js
> @@ -10,6 +10,7 @@ Ext.define('Proxmox.form.field.Base64TextArea', {
>          width: 600,
>          height: 400,
>          scrollable: 'y',
> +        emptyText: 'You can use Markdown for richt text formatting.',

This should use gettext :)
Also there is a typo in 'rich' :D

-- 
- Lukas


_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [pbs-devel] [PATCH] textareafield: add emptyText message to show markdown is possible
  2024-11-27 10:29 ` Lukas Wagner
@ 2024-11-27 11:50   ` Gabriel Goller
  0 siblings, 0 replies; 3+ messages in thread
From: Gabriel Goller @ 2024-11-27 11:50 UTC (permalink / raw)
  To: Lukas Wagner; +Cc: pbs-devel

On 27.11.2024 11:29, Lukas Wagner wrote:
>On  2024-11-27 11:27, Gabriel Goller wrote:
>> Just like in our `Notes` fields show a emptyText message that explains
>> that markdown can be used.
>>
>> Reported-by: Lukas Wagner <l.wagner@proxmox.com>
>> Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
>> ---
>>  src/form/TextAreaField.js | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/src/form/TextAreaField.js b/src/form/TextAreaField.js
>> index 267b40c87d74..ed6015a9ec51 100644
>> --- a/src/form/TextAreaField.js
>> +++ b/src/form/TextAreaField.js
>> @@ -10,6 +10,7 @@ Ext.define('Proxmox.form.field.Base64TextArea', {
>>          width: 600,
>>          height: 400,
>>          scrollable: 'y',
>> +        emptyText: 'You can use Markdown for richt text formatting.',
>
>This should use gettext :)
>Also there is a typo in 'rich' :D

Ack, thanks for the review!
v2 is out!


_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-11-27 11:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-27 10:27 [pbs-devel] [PATCH] textareafield: add emptyText message to show markdown is possible Gabriel Goller
2024-11-27 10:29 ` Lukas Wagner
2024-11-27 11:50   ` Gabriel Goller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal