Closed mkasztelnik closed 7 years ago
@nowakowski could you provide us with specification of profile_id/shape/location to "profile name" mapping ?
I'll try to get this done by Monday.
Done and pushed to prod. New attribute is called Profile.name
. Syntax is:
Profil neosentio: <ID assigned by Daniel Kessler>
Profil budokop: <internal DB ID>
(Budokop profiles have no external ID)Updated API, specs and docs.
@mkasztelnik Please close this ticket if satisfied.
The prefixes Profil neosentio
and Profil budokop
are not necessary here. We already know the vendor by looking at the vendors property. Also, it makes internationalization more difficult. This is a minor but I would fix it to minimize future UI hard coded commits to parse the name.
Looks good and it is already used by eitwid.
Reopening due to comment by @dharezlak .
My intent was to provide a human-readable name. If I truncate this to, say, 42
, this may lead to confusion further down the line (i.e. a couple months from now when we all forget what this attribute means and why it was added). I can rewrite the names but I would advise against it. If you insist, please specify what you consider to be the "proper" syntax for the name
field.
Right now I propose to leave it at it is and let user test the new behavior.
OK, closing.
Profile object does not have
name
fields right now. As a results on the UI we are showing internal id on the UI - this is not user friendly for the end users (at least for DK). Please addname
field toProfile
and populate it with correct values.This issue blocks https://github.com/ismop/dap/issues/179