- Issue created by @wim leers
- Status changed to Needs work
over 1 year ago 4:25pm 3 August 2023 - last update
over 1 year ago Build Successful - 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
This blocks 📌 [PP-1] Make NodeType config entities fully validatable Needs review .
- First commit to issue fork.
- last update
over 1 year ago 29,951 pass, 2 fail - @phenaproxima opened merge request.
- last update
over 1 year ago 29,952 pass, 2 fail - last update
over 1 year ago Build Successful - last update
over 1 year ago Build Successful - last update
over 1 year ago Build Successful - last update
over 1 year ago Build Successful - Assigned to wim leers
- Status changed to Needs review
over 1 year ago 2:39pm 8 August 2023 - 🇺🇸United States phenaproxima Massachusetts
I'm guessing some tests will fail here, but in general I'm satisfied with this approach and I think we can start reviewing it.
- Assigned to phenaproxima
- Status changed to Needs work
over 1 year ago 3:07pm 8 August 2023 - last update
over 1 year ago 29,495 pass, 24 fail - last update
over 1 year ago 29,935 pass, 1 fail - last update
over 1 year ago 29,935 pass, 1 fail - last update
over 1 year ago 29,997 pass, 1 fail - last update
over 1 year ago 30,017 pass - last update
over 1 year ago 30,017 pass - Assigned to wim leers
- Status changed to Needs review
over 1 year ago 5:10pm 8 August 2023 - Status changed to RTBC
over 1 year ago 8:27am 9 August 2023 - 🇧🇪Belgium borisson_ Mechelen, 🇧🇪
This is great, it a very simple improvement of the validation and it has solid test coverage. It's also great to see that not in core at least breaks this. I'm going to leave this assigned to Wim so he can give signoff as well, but at least from my side it's rtbc.
- Assigned to phenaproxima
- Status changed to Needs work
over 1 year ago 11:38am 9 August 2023 - 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
I requested a bit of extra test coverage, to ensure we don't disallow the ever-important emojis 😇
I agree that this looks great beyond that!
And I have one rather important question for y'all: should we disallow control characters in all strings by default? 🤔
- 🇧🇪Belgium borisson_ Mechelen, 🇧🇪
And I have one rather important question for y'all: should we disallow control characters in all strings by default? 🤔
I don't think so, I know that at least for Search API we have a configuration to control "whitespace characters", that contains \t\n\r by default.
- 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
#11: sorry, #10 was not very clear. I think the default for
type: string
should be "no control characters allowed, except for\r
and\n
" (it is clearer on the GitLab merge request).It's then up to individual projects to tweak the restrictions of
type: string
. Just like this MR is already doing for translatable strings.While that should be the general rule (specific uses of
type: string
tweaking the validation constraint, and ideally defining their own type, because then it becomes a special kind of string!), I could see\t
also being allowed by default, since it's A) safe, B) widely used.That being said … maybe it's better to postpone this
type: string
stuff to a later time —type: label
being stricter is a good step in the right direction, we can still move it up to that higher level in the inheritance chain later 😊 - last update
over 1 year ago 30,024 pass - Assigned to wim leers
- Status changed to Needs review
over 1 year ago 12:58pm 10 August 2023 - 🇺🇸United States phenaproxima Massachusetts
Okay, added explicit test coverage of emoji!
- Issue was unassigned.
- Status changed to RTBC
over 1 year ago 1:09pm 10 August 2023 30:45 26:55 Running- last update
over 1 year ago 30,025 pass - last update
over 1 year ago 30,027 pass - Status changed to Needs review
over 1 year ago 5:49pm 16 August 2023 - 🇫🇮Finland lauriii Finland
Moving to NR to get the question on the MR answered
- Status changed to RTBC
over 1 year ago 6:10pm 16 August 2023 - Assigned to phenaproxima
- Status changed to Needs work
over 1 year ago 9:20am 17 August 2023 - 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
@lauriii pointed out that
\t
is also reasonable to allow. Marking for that. Updated the issue summary too. - last update
over 1 year ago 30,043 pass - Assigned to wim leers
- Status changed to Needs review
over 1 year ago 4:42pm 17 August 2023 - 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
🤩 Love how little had to change — that shows how easy it is to evolve this, or copy/paste and tweak in other subtypes of
type: string
! 👍 - Issue was unassigned.
- Status changed to RTBC
over 1 year ago 5:06pm 17 August 2023 - Status changed to Fixed
over 1 year ago 8:36pm 17 August 2023 Automatically closed - issue fixed for 2 weeks with no activity.