Page MenuHomePhabricator

Have the front-end work with canonical form rather than hybrid normal form
Closed, ResolvedPublic

Description

(Discussion still pending whether normal or canonical, but definitely getting rid of the hybrid form)

Event Timeline

When ZObject.vue components where mutating its own properties we found that it was problematic to have the ZObject value be a string instead of an object, because in that case it could not use $.set to mutate it. The "selective" normalization of strings and references was done to avoid this problem. However, now the ZObject component is not doing any mutations, and all object changes are being handled in the store. So the reason why this was done in the first place doesn't exist anymore, but I am not sure if there's any other use case where the "normalish" form would be useful.

DVrandecic renamed this task from Consider having the front-end work with full canonical form rather than hybrid normal form to Consider having the front-end work with full normal form rather than hybrid normal form.May 13 2021, 2:53 AM
DVrandecic subscribed.

Changed title. For some reason, I had mixed up normal and canonical for a while.

DVrandecic renamed this task from Consider having the front-end work with full normal form rather than hybrid normal form to Have the front-end work with full normal form rather than hybrid normal form.May 13 2021, 8:06 PM
DVrandecic updated the task description. (Show Details)
DVrandecic renamed this task from Have the front-end work with full normal form rather than hybrid normal form to Have the front-end work with canonical form rather than hybrid normal form.May 14 2021, 4:43 PM

Change 694509 had a related patch set uploaded (by Simone Cuomo; author: Simone Cuomo):

[mediawiki/extensions/WikiLambda@master] Have the front-end work with canonical form rather than hybrid form

https://gerrit.wikimedia.org/r/694509

Change 694509 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Have the front-end work with canonical form rather than hybrid form

https://gerrit.wikimedia.org/r/694509