Magento 2: How to remove "Did you mean" section from search page?

I am using Elasticsearch as search engine, but I want to hide the section where it says Did you mean and Related search terms:
enter image description here
Is there a way to do this?

Thanks in advance

templates – How to let the user reuse a content section across multiple layouts pages while having it centrally editable

We are creating a form editor with many different layouts. Many layouts will have the same content repeated on them. We want to make it easy to define a section or group of fields on one layout, and have it placed across many layouts. Editing one will update all the instances of them saving the user from repeating edits many times.
However I’m worried this kind of mental model is hard to convey.

I’m not sure what kind of UI pattern this is called but the best analogy I can think of is repeated calendar entries in osx calendar. They appear multiple times. When you edit any instance of that event it will change that instance and when saving it will ask

You’re changing a repeating event.
Do you want to change only this occurrence of the event, or this and all future occurrences?
[Cancel] [All Future Events] [Only this Event]

I’m considering a UI very similar.

  • A insert that lets you insert from a list of existing sections
  • Some visual cue to show an section instance is repeated X times in other places
  • any change to something in a section results in the popup to ask if you want to change this only this section or all other instances of this section. If “all instances” then it won’t ask again until you edit something else. If “only this” then its no longer linked and any changes there are no questions.

Thoughts? Examples of other ways to solve this?

forms – Need input on where to display an Add User section in relation to a Users table

There are a few approaches being considered (open to other ideas too).
In general, we’re thinking to avoid the approach of using a modal/dialog with grayed out background, as the solution we go with may be used in many places throughout the app, and so don’t want to overuse modals (too disruptive to user flow).

Approaches we’re looking at:

  1. Display the Add User section in a slide-over panel which will be displayed on top of the Users table (ag-grid based).

See rough GIF example:

enter image description here
Large image link

This approach could be awkward as the height of the table and the Add User section would probably need to match.

  1. Display the Add User section below the table (advantage being there
    would be more space available and we don’t obscure the table when
    the section is being displayed).

  2. Display a placeholder/temporary row in the table (top row), where
    the user can input the User fields and then hit save (which would be
    located in the far-right column).

For #3, a disadvantage could be that, for instance, there’s less room to display validation messages to the user, such as “Name is not valid (must not contain ?:{}_+)”. Although perhaps we could show such a validation message in a popover.

However, a potential advantage for #3 is that ag-grid supports inline editing, so once the new User row is added, we could easily allow the user to edit the User row fields inline and again hit save/update button in far-right column.

forms – Need help on where to display an Add User section in relation to a Users table

There are a few approaches being considered (open to other ideas too).
In general, I think I want to avoid the approach of using a modal/dialog with grayed out background, as the solution we go with may be used in many places throughout the app, and so don’t want to overuse modals (too disruptive to user flow.

Approaches we’re looking at:

  1. Display the Add User section in a slide-over panel which will be
    displayed on top of the Users table (ag-grid based).

See rough GIF example: https://i.imgur.com/rsrrToR.gifv
This approach could be awkward as the height of the table and the Add User section would probably need to match.

  1. Display the Add User section below the table (advantage being there
    would be more space available and we don’t obscure the table when
    the section is being displayed).

  2. Display a placeholder/temporary row in the table (top row), where
    the user can input the User fields and then hit save (which would be
    located in the far-right column).

For #3, a disadvantage could be that, for instance, there’s less room to display validation messages to the user, such as “Name is not valid (must not contain ?:{}_+)”. Although perhaps we could show such a validation message in a popover.

However, a potential advantage for #3 is that ag-grid supports inline editing, so once the new User row is added, we could easily allow the user to edit the User row fields inline and again hit save/update button in far-right column.

gmail – How to map the delete key to delete emails in the keyboard shortcuts section?

I use web interface of Gmail and I would like to delete a conversation by pressing the DEL key on my keyboard. By default the delete shortcut is #.

I found the Keyboard Shortcuts section in Gmail settings but I cannot manage to use DEL as a shortcut.

Anyone knows how to do?

slack – Can I add same sidebar section groupings for all workspace users?

We have a workspace on the standard plan – can now add sidebar sections (amazing feature).

I have set-up my own workspace using sections and dragged all channels into relevant sidebar sections. But this only applies to me – all other users do not see my “section architecture”.

Right now it is possible for all users of the workspace to customise their own section architecture. I would like to set my architecture as the default for all users.

Is there any way that I can set up channel & section architecture and make that default to all other users of the same workspace?

ag.algebraic geometry – Pro-representability and the obstruction to deformations of “stable curve of genus one + a section”

I have 2 questions about the theorem III.1.2 of Deligne-Rapoport’s “Les shemas de modules de courbes elliptiques”.

1.

Let $k$ be a field, $Lambda$ a complete noetherian local ring with the residue field $k$, $C_0$ an elliptic curve or the Neron $N$-gon ($N$ relatively prime to the characteristic of $k$) with the standard generalized elliptic curve structure over $k$.
Then the deformation functor $D$ of $C_0$ (as a generalized elliptic curve, i.e., considering its morphism $m : C_0^text{sm} times C^0 to C^0$) on $mathscr{C}_Lambda$ is pro-representable.

First, the authors show that $C_0$ has no infinitisimal automorphisms over $k(epsilon)/epsilon^2$.
From this they conclude this highlighted statement.
I don’t understand why we get the pro-representability from this.

It seems that we can apply the arguments of (3.7) of Schelessinger’s “Functors of artin rings” even in this situation.
If so, then by this and by (3.8) of this Schlessinger’s paper we have the pro-representability.

But I don’t understand why we can apply the argument of (3.7), even if we add a morphism $C_0^text{sm} times C^0 to C^0$.

2.

Let $k$ be a field, $(C_0, e)$ the Neron 1-gon with the “identity section” over $k$ or an elliptic curve with its identity.
Let $A, A’$ be artin local rings with the residue fields $k$ and $A’ to A$ a small extension.
(i.e., a surjection whose kernel is annihilated by the maximal ideal of $A’$ and is 1-dimension over $k$.)
Consider $(C, e)$, where $C$ is proper flat scheme over $A$, $e in C^text{sm}(A)$, and $C times_A k cong C_0$, compatible with $e$.
Then the obstruction to deformation of this $(C, e)$ to $A’$ is in $operatorname{Ext}^2(Omega_{C_0 / k}(e), mathscr{O}_{C_0})$,
and its first order deformation is parametrized by $operatorname{Ext}^1(Omega_{C_0 / k}(e), mathscr{O}_{C_0})$.

Since $C_0/k$ is locally complete intersection, I know that the obstruction to deformation of $C$ (just as a scheme) to $A’$ is in $operatorname{Ext}^2(Omega_{C_0 / k}, mathscr{O}_{C_0})$, and its first order deformation is parametrized by $operatorname{Ext}^1(Omega_{C_0 / k}, mathscr{O}_{C_0})$.
(By the section 10 of Hartshorne’s “Deformation theory”.)
(This, for a stable curve of genus $ge 2$, is also described in Deligne-Mumford.)

Why do we need $Omega_{C_0 / k}(e)$ instead of $Omega_{C_0 / k}$, if we add a section?

And I think that the obstruction is in $operatorname{Ext}^2(Omega_{C_0 / k}, mathscr{O}_{C_0})$ even in this case.
Indeed, since $e$ is in $C^text{sm}(A)$, if there exists a deformation $C’$ of $C$ to $A’$, then by the formally smoothness, $e in C’^text{sm}(A)$ lifts to $e’ in C’^text{sm}(A’)$.
So the existence of the deformation of $C$ automatically induces the existence of the deformation of the section.

This argument is described in the proof of (2.2.2.4) of Kai-Wen Lan’s “Arithmetic Compactifications of PEL-Type Shimura Varieties”, to show the formally smoothness of the local moduli of abelian varieties.

This post is related to this, but it has no answer.

Are you looking forward to Trump removing Section 230 of the Communications & Decency Act of 1996?

You’re misinformed.  Which is typical of the “orange man bad” herd.  Trump is not eliminating that at all.  Here’s a relevant section from the E.O.:

“Prominent among the ground rules governing that debate is the immunity from liability created by section 230(c) of the Communications Decency Act (section 230(c)). 47 U.S.C. 230(c). It is the policy of the United States that the scope of that immunity should be clarified: the immunity should not extend beyond its text and purpose to provide protection for those who purport to provide users a forum for free and open speech, but in reality use their power over a vital means of communication to engage in deceptive or pretextual actions stifling free and open debate by censoring certain viewpoints.”

Basically, an entity which decides upon what content and viewpoints can be expressed cannot enjoy the immunity from liability granted to things like ISPs.  He wants 230 enforced as written.

Movies Section: On the list, What is your favorite movies of 1998 each film distribution?

For example of my favorites.

Disney: A Bug’s Life

HM: Mulan, The Waterboy, Armageddon, Shakespeare in Love, The Parents Trap, The Faculty, Rounders, Enemy of the State, I Got the Hook Up, Beloved, Ride, Down in the Delta, Life Is Beautiful, Simon Birch, He Got Game; and Six Days, Seven Nights

Fox: Dr. Dolittle

HM: There’s Something About Mary, Bulworth, The X-Flies, The Thin Red Line, Ever After, and How Stella Got Her Groove Back

Lionsgate: Belly

HM: Permanent Midnight, Cube, Star Kid, Buffalo ’66, Suicide Kings, Caught Up, and Pi

MGM: The Man in the Iron Mask

HM: Ronin, Species II, Disturbing Behavior, and Deceiver

Paramount: The Truman Show

HM: The Rugrats Movie, Deep Impact, A Simple Plan, Snake Eyes, Sliding Doors, Hard Rain, and Star Trek: Insurrection

Sony: The Mask of Zorro

HM: Les Misérables, Godzilla, Spice World, Can’t Hardly Wait, I Still Know What You Did Last Summer, Stepmom, Wild Things, Urban Legend, The Replacement Killers, and Madeline

Universal: Saving Private Ryan

HM: The Big Lebowski, Antz, The Prince of Egypt, Half-Baked, Patch Adams, Babe: Pig in the City, BASKetball, Out of Sight, Small Soldiers, What Dreams May Come, Bride of Chucky, Mercury Rising, Primary Colors, Meet Joe Black, Paulie, The Last Days of Disco, Elizabeth, and Black Dog

Updated 34 mins ago:

Warner Bros.: Rush Hour

HM: Lethal Weapon 4, You’ve Got Mail, The Negotiator, Mr. Nice Guy, Quest for Camelot, Pleasantville, Why Do Fools Fall in Love, Blade, The Wedding Singer, City of Angels, The Players Club, Practical Magic, Lost in Space, Sphere, Home Fries, Almost Heroes, and American History X

If you don’t know any of these movies or haven’t seen or haven’t ever heard of, you can skip it or put none.

blocks – Adding section components with populated fields to a Layout Builder enabled node

I’m working on migrating content from fieldable panels panes in D7 to Layout Builder in D8. So far, I’ve managed to extract the content I need from my D7 database, but I’ve been unable to add that content to layout builder section components. Backing up a bit, I’m currently trying to just add some inline blocks with sample content to a layout builder section in an attempt to determine how to populate the fields, as follows:

    /* 
      Add an inline block of 'basic' type to a section
      'basic' blocks only have a field called "body" of type "Text (formatted, long, with summary)"
    */
    $section = new Section('two_column');

    $testcomponent = new SectionComponent($this->uuid->generate(), 'first', (
      'id' => 'inline_block:basic',
      'label' => 'Test component label',
      'label_display' => 'visible',
      'body',(
        'value'=>'Test',
        'format'=>'limited_html_text',
      )
    ));
    $section->appendComponent($testcomponent);

After I run my migration, I end up with a node with a inline block of “basic” type in the “first” region, as expected, but it’s empty aside from the label. Could someone advise me on how to set field values for section components?