- Issue created by @tedbow
- ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
@hoorooomoo was the one to discover it, crediting them :)
- ๐ณ๐ฑNetherlands balintbrews Amsterdam, NL
Increasing priority, because need to solve this in order to fix the rather critical ๐ Adding component to component library results in component code and configuration being lost Active .
- First commit to issue fork.
- ๐ฌ๐งUnited Kingdom longwave UK
denormalizeFromClientSide()
doesn't have to be static, instead we can convert it to an instance method that updates the instance directly. - Merge request !830Replace denormalizeFromClientSide() with updateFromClientSide(). โ (Merged) created by longwave
- ๐ฌ๐งUnited Kingdom longwave UK
MR as POC of #6, still needs additional test coverage.
- ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
Also, what a major oversight of mine! ๐ซฃ๐ฌ
- ๐ฌ๐งUnited Kingdom longwave UK
I think the CodeComponents POST vs PATCH solution is relatively neat but wondering what other opinions are.
- ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
One more set of OpenAPI adjustments needed, then this will be RTBC.
It's a shame really that we have to do some of this mapping in the first place, and that we use
id
andmachineName
interchangeably, and similarlyname
andlabel
. Should we try to clean this up before we have a stable API?The idea/intent was that the client-side and server-side can evolve independently. Same spirit as
docs/adr/0005-Keep-the-front-end-simple.md
, but applied to XB's config, instead of XB's component tree data model on the server (must juggle a lot of complexity) vs client (very little complexity).I do agree there's relatively little value in it, but also not that much harm/complexity.
No strong feelings, but perhaps the argument should be that the client MUST be kept in sync to avoid the renaming on the server side, because that does not cause significant complexity on the client?
- ๐ฌ๐งUnited Kingdom longwave UK
No strong feelings either, just the usual "naming things is hard" argument - although I hope this decision doesn't come to bite us in the future.
Added NewAssetLibrary and NewPattern schemas and removed the separate hardcoded schemas for the POST cases.
- ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
No strong feelings either, just the usual "naming things is hard" argument
๐ฏ
although I hope this decision doesn't come to bite us in the future.
What decision in particular do you fear potential consequences for?
Is it https://git.drupalcode.org/project/experience_builder/-/merge_requests/8...?
AFAICT you solved both mine and @tedbow's concerns? ๐
RTBC'ing and assigning to @tedbow because I sense I'm missing somethingโฆ ๐ซฃ
-
tedbow โ
committed a580e4d6 on 0.x authored by
longwave โ
Issue #3508140 by longwave, wim leers, tedbow, hooroomoo, balintbrews:...
-
tedbow โ
committed a580e4d6 on 0.x authored by
longwave โ
- ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
This unblocked ๐ Adding component to component library results in component code and configuration being lost Active !
- Status changed to Fixed
about 1 month ago 3:04pm 25 April 2025 Automatically closed - issue fixed for 2 weeks with no activity.