attiks β created an issue.
Created a new 3.0.x branch, code has been split but no update hook present
xjm β credited attiks β .
attiks β created an issue.
We ran into the same issue, and converted our code to do something similar but using a flag inlineDataProvider
on the base class, so whenever needed we can easily switch back to the normal behavior.
Taken from https://github.com/UN-OCHA/un_date/blob/main/tests/src/Kernel/DateRender...
/**
* Test with UTC timezone.
*
* @x-dataProvider providerTestDataUtc
* @x-dataProvider providerTestDataRandom
*/
public function testDateRangeUtc($expected = NULL, $start = NULL, $end = NULL, $timezone = NULL) {
if ($this->inlineDataProvider) {
$data = array_merge(
$this->providerTestDataUtc(),
$this->providerTestDataRandom(),
);
foreach ($data as $name => $row) {
$expected = $row['expected'];
$start = $row['start'];
$end = $row['end'];
$timezone = $row['timezone'];
// assertions
}
}
else {
// assertions
}
I also looked into changing the code, but it ain't straightforward since everything has to be static
See discussion in https://www.drupal.org/project/ga_login/issues/3297284#comment-14716408 β
> Setting to fixed, as this module is going to be absorbed back into tfa.
All in favor of moving to tfa module, no need for duplication
Tests fails with "Drupal\Core\Database\TransactionNoActiveException", not sure why
Logic moved to `getValueFromProperty` similar to `entity:node/1` links.
Importing is already implemented, so less code ++
Fork solves this for links like /node/1
by adding the referenced node as a dependency and storing the entity type and uuid in _meta
When importing the link is restored.
attiks β made their first commit to this issueβs fork.
The idea is to disable passing PHP code from the DRD site to the remote sites, so only code on disk (on the remote site) can be executed.
In the case the DRD site get hacked, it will be able to pass and execute any PHP code on the client sites, OPS people don't like it.
About the name "trusted_modules", it can be changed, but that was the best I could come up with
To NR to get feedback
MR created
For settings.php
you can use the following
$settings['drd.trusted_modules'] = [
'ocha_drd',
];
Only problem left is how and where to display the output
attiks β created an issue.
attiks β created an issue.
Thanks, seems to be working fine
Created 4.0 branch
Created a 2.x branch and removed D8 since the library only exists for D9.2+, https://www.drupal.org/node/3158256 β
Correct, components inside a custom theme
Tried it with the package.json from above, but without the patch, seems to be working
attiks β created an issue.
Created a new issue at #2915262: Define the new DBlog UI β to discuss the UI
#7 In the case of hierarchical hierarchy we use the following solution, we render all options including the parents in 1 item, this in combination with something like select2 allows user to easily find what they need.
Vehicle > Motorbike > Honda
Vehicle > Car > Honda
Real life example
There's already an issue to add select2 to core which, once committed, will solve this.
π Improve usability, accessibility, and scalability of long select lists Needs work
#82 I've updated the IS, but by reading the comments the API change is no longer needed?
#80 I'm probably missing something, but what is the policy for non js browsers, 'cos if we output a select for free tagging it will not work without javascript. Unless we are converting the input to a select using javascript?
#78 We have similar (and bigger) vocabularies as @aspilicious mentioned in #77, outputting a select list is not going to be an option. Most of the entities are tagged with multiple terms.
Dream scenario:
Have a widget that renders the right HTML depending on the amount of data and attaches the right libraries.
For example (boundaries to be defined in config):
10 or less options and without tagging: output select, no select2
200 or less options and without tagging: output select, use select 2
200 or less options and with tagging: output text, use select 2
201 or more options and without tagging: output empty select, use select 2 + ajax
201 or more options and with tagging: output input, use select 2 + ajax
Really nice to have: Add support for hierarchical vocabularies as well, so site user can select parent term as well and they are rendered as nested.
#48 does this mean that the keys need to be changed depending on the fact that you use select2?
Ex: if I remove the "'#select2' => TRUE" from a select, will this break the code?
The summary says to use it for taxonomy, why don't we use it for multiple selects as well?