On Mon, Oct 01, 2018 at 11:20:16AM +0200, Federico Capoano wrote:

> The human readable label and the help text of the field should be 
> configurable,
> by default we could use something like "Serial number", but it can be modified
> to use a different term depending on the context where it is used.
> 
> In my opinion this feature should be deactivated by by default and shown only
> when a specific setting is turned on.

So what about 3 new django settings:

- enable hardware_id field
- label text for hardware_id field
- help text for hardware_id field

>   • it should be shown and be editable in the add device page, shown right
>     before or right after the name field 

How is a new device entry created manually referenced by openwisp-config?
With the generated key which must be added to the openwisp-config
configuration? Or is this behaviour supposed to be changing with the
hardware_id field? I guess not.

>   • it should be shown and (probably) readonly in change device page, shown
>     right before or right after the name field

Yes, I vote for a readonly field after device creation. This elimintates
device manipulation and often the hardware_id is not modifiable anyway.

I'm fine with all of this so far and could work on this.

Greetings,
Oliver

-- 
You received this message because you are subscribed to the Google Groups 
"OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to