Why does Windows 10 add files to the desktop in columns, but selects files in rows?

When I save files to the Desktop, it automatically stacks them in columns. Meaning, each added file is placed underneath the previous until it reaches the bottom. Then it wraps, and starts stacking files in a new column.

When selecting files using the keyboard, files get selected in rows. For example, if you have 5 columns of files, select (single-click) a file in the bottom of the last column, then on the keyboard press Shift+Up, it will highlight not just the file above, but the entire row beneath it.

Since files get added in columns, I expected the selection to follow the columns, meaning Shift+Up in the previous scenario would only add the above file to the selection. I can’t imagine why the current way would make sense. I feel like this is bad design.

Is this bad design, or is there a UX principle behind this decision?

Is there somewhere else this behavior can be seen?
(I checked MacOS (Catalina), and using Shift and arrows keys just selects individual files in the direction of the arrow keys you press; it doesn’t attempt to select rows nor columns.)

magento2 – Add attributes to the Order API shipping_address

Okay, after stepping trough some other places, I’ve eventually identified how I can add the attributes to a additional key called extension_attributes inside billing_address. Not exactly what I was looking for, but a good start.

My extension_attributes.xml looks like this now:

<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Api/etc/extension_attributes.xsd">
    <extension_attributes for="MagentoSalesApiDataOrderAddressExtensionInterface">
        <attribute code="my_attr_1" type="string" />
        <attribute code="my_attr_2" type="string" />
    </extension_attributes>
</config>

Also, I’ve created in my module etc/webapi_rest/di.xml with this content:

<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
    <type name="MagentoSalesModelOrderRepository">
        <plugin name="order_repository" type="SEECRestApiPluginMagentoSalesModelOrderRepository" disabled="false" sortOrder="200" />
    </type>
</config>

And created this file to attach the data properly:

<?php

namespace SEECRestApiPluginMagentoSalesModel;

use MagentoSalesApiDataOrderInterface;
use MagentoSalesModelOrderRepository as ModelOrderRepository;

class OrderRepository
{

    /**
     * @param ModelOrderRepository $orderRepository
     * @param OrderInterface $order
     * @return OrderInterface
     */
    public function afterGet(
        ModelOrderRepository $orderRepository,
        OrderInterface $order
    ) {
        $billingAddress = $order->getBillingAddress();
        $billingAddressExtensionAttributes = (null !== $billingAddress->getExtensionAttributes())
            ? $billingAddress->getExtensionAttributes()
            : '';

        $billingAddressExtensionAttributes->setMyAttr1($billingAddress->getMyAttr1());
        $billingAddressExtensionAttributes->setMyAttr2($billingAddress->getMyAttr2());

        $billingAddress->setExtensionAttributes($billingAddressExtensionAttributes);

        if (!$order->getIsVirtual()) {
            $shippingAddress = $order->getShippingAddress();
            $shippingAddressExtensionAttributes = (null!== $shippingAddress->getExtensionAttributes())
                ? $shippingAddress->getExtensionAttributes()
                : '';

            $shippingAddressExtensionAttributes->setMyAttr1($shippingAddress->getMyAttr1());
            $shippingAddressExtensionAttributes->setMyAttr2($shippingAddress->getMyAttr2());
            $shippingAddress->setExtensionAttributes($shippingAddressExtensionAttributes);
        }

        return $order;
    }
}

8 – How can I add paragraphs to a translated node?

I have a problem with the Paragraphs module and translation. I’m using Drupal 8.7.7 and Paragraphs 8.x-1.9.

When I add a translation to a node with a paragraphs field (unlimited), I can only translate existing fields in this paragraph, but I cannot add new values on the translation node.

enter image description here
enter image description here

I followed the instructions given in the docs on https://www.drupal.org/docs/8/modules/paragraphs/multilingual-paragraphs-configuration and in fact, if I didn’t I wouldn’t have been able to even see the fields in the translation edit form.

I have no idea, how to set this up correctly.

I installed the Paragraphs Asymmetric Translation Widgets module which somehow says, it deals with it, but it does not. I used the Widget ‘Paragraphs Classic Asymmetric’ in the form display, but to no avail.

I’m really desperate now.

Add site-specific redirects in nginx on Heroku

I’m using Heroku to host a PHP-based application. I’m onboarding a website so need to set up 301 redirects between the old site’s URL structure and the new URL structure.

Reading Heroku’s docs, it says:

Nginx uses a server that responds to all hostnames. The document root has no access limitations.

My current nginx.conf file looks like this:

location / {
    try_files $uri @rewriteapp;
}

location @rewriteapp {
    add_header "X-Frame-Options" "deny";
    add_header "X-XSS-Protection" "1; mode=block";

    rewrite ^(.*)$ /index.php$1 last;
}

How would I go about including 301 redirects for specifically the hostname of the website I’m importing? I’d want those to be checked first and if no rules match, carry on with the rules I already to pass requests to my application’s index.php file.

Can I nest server blocks within a top-level server block to achieve this?

unity – How can i add to the waypoints multiple objects to move between the waypoints?

unity – How can i add to the waypoints multiple objects to move between the waypoints? – Game Development Stack Exchange

Possible to add a clock/current time into a Google Slide?

Possible to add a clock/current time into a Google Slide? – Web Applications Stack Exchange

entities – Add new default value to existing content type

I’m currently on the latest version of Drupal 8. I have a content type called News and Articles. In this content type I have a field called Category which is a taxonomy term -> Entity reference field. When I first created this content type I added all my categories as default values.

Now 2 years later I want to add another default value to this content type. All the answers I’ve seen so far deal with making the change through the database. I wanted to see if there was a different option? Reason is because I have about 400 pages using this content type, really don’t want to make a new one.

Here a screenshot to the list I want to add to: https://ibb.co/XyJ58yS

admin – Magento2 | Add select-box with search/filter option | Auto suggestor

admin – Magento2 | Add select-box with search/filter option | Auto suggestor – Magento Stack Exchange

DreamProxies - Cheapest USA Elite Private Proxies 100 Private Proxies 200 Private Proxies 400 Private Proxies 1000 Private Proxies 2000 Private Proxies ExtraProxies.com - Buy Cheap Private Proxies Buy 50 Private Proxies Buy 100 Private Proxies Buy 200 Private Proxies Buy 500 Private Proxies Buy 1000 Private Proxies Buy 2000 Private Proxies ProxiesLive Proxies-free.com New Proxy Lists Every Day Proxies123