Displaying placeholder / skeleton screen for a (large) graph

I’m creating a dashboard that retrieves a significant amount of data from an API before displaying some charts and metrics.

I have read that skeleton screens are perceived as being shorter in duration when compared to other options. Thus, I wanted to try it.

It seems that people replace use animated basic shapes to indicate what it will be replaced with. In the case of a large graph, I find myself bothered by a large rectangle covering the entire graph area:

  • it does not indicate anything about what’s loading in that placeholder (and what’s to expect once it’s loaded)
  • it is arguably ugly

enter image description here

I could also use animated charts instead but that seems to break the idea of a skeleton screen.

Has anyone faced something similar and found something that works in that case?

Comment body not displaying

I have an interesting problem where the comment body does not appear with the comment. The field wrapping is in the HTML but the content portion is always blank.

This problem occurs regardless of the theme, eg. the same result with Bartik.

The database entry for a comment is:

+-------+--------------+--------------------------------------+----------+ | cid   | comment_type | uuid                                 | langcode | +-------+--------------+--------------------------------------+----------+ | 35044 |              | b6328985-9e15-46e4-a55d-8285e530ee55 | en       | +-------+--------------+--------------------------------------+----------+ 

and the body:

+---------+---------+-----------+-------------+----------+-------+--------------------+---------------------+ | bundle  | deleted | entity_id | revision_id | langcode | delta | comment_body_value | comment_body_format | +---------+---------+-----------+-------------+----------+-------+--------------------+---------------------+ | comment |       0 |     35044 |       35044 | en       |     0 | <p>Test text</p>  | basic_html          | +---------+---------+-----------+-------------+----------+-------+--------------------+---------------------+ 

The comment displays on the node view as:

j ayen green  Mon, 05/20/2019 - 14:39  Test 

And displays on the comment edit form as:

Edit comment Test Open Primary tabs configuration options View comment Edit(active tab) Delete Likes Subject Test 

The comment field on the content type entry is:

Comments    field_comments  Comments 

The Manage Display entry for Comments is:

FIELD     LABEL     FORMAT  Comment   Hidden    Default 

The field on the comment type is:

LABEL   MACHINE NAME    FIELD TYPE   Comment comment_body    Text (formatted, long) 

And the HTML is:

<article data-quickedit-entity-id="comment/35044" data-comment-user-id="2" class="contextual-region js-comment comment"> <mark class="hidden" data-comment-timestamp="1558377554"></mark>  <footer class="attribution">    <div class="comment-submitted">     <p class="commenter-name">       <a title="View user profile." href="/users/j-ayen-green" lang="" about="/users/j-ayen-green" typeof="schema:Person" property="schema:name" datatype="">j ayen green</a>     </p>     <p class="comment-time">       Mon, 05/20/2019 - 14:39     </p>     <p class="comment-permalink">       <a href="/comment/35044#comment-35044" hreflang="en">Permalink</a>     </p>   </div> </footer>   <div class="comment-text">     <div class="comment-arrow"></div>       <h3><a href="/comment/35044#comment-35044" class="permalink" rel="bookmark" hreflang="en">Test</a></h3>       <div data-contextual-id="comment:comment=35044:changed=1558377554&amp;langcode=en" data-contextual-token="KOoBECnJMIEjGXKwxb9Of3jmUIP7X_nacwAme2qzwio"></div>         <div  class="content">     </div>   </div> </article> 

Folders displaying in orange color in python 3, pycharm

Can somebody point me in the right direction on this? I just can’t find any ressources on why a folder will display in orange as if it was not active. I can’t import modules from there since its not active and i can’t activate it at all and i don’t know where to look lol.

I linked a screenshot so people could see what i’m talking about

enter image description here

Special Price not displaying on Wishlist

UPDATE – This is a reported isue in v2.1 but there is not fix for it.

In Magento 2 special prices do not seem to be displayed on the Wishlists page.

Is it possible to display these? How? Is there any reason why they would not be displayed here?

See images below, the €12 discount is shown on the product page and not the wishlist page.

Is this possible with layoutXML, when I look in wishlist_index_index.xml I see:

<block class="Magento\Wishlist\Block\Customer\Wishlist\Item\Column\Cart" name="customer.wishlist.item.price" template="item/column/price.phtml" cacheable="false">     <block class="Magento\Catalog\Pricing\Render" name="product.price.render.wishlist">         <arguments>             <argument name="price_render" xsi:type="string">product.price.render.default</argument>             <argument name="price_type_code" xsi:type="string">wishlist_configured_price</argument>             <argument name="price_label" xsi:type="boolean">false</argument>             <argument name="zone" xsi:type="string">item_list</argument>         </arguments>     </block>     <block class="Magento\Wishlist\Block\Customer\Wishlist\Item\Options" name="customer.wishlist.item.options" cacheable="false"/> </block> 

I know I can use similar LayoutXML in my theme, but what would I need to add to change it?

So far I’ve tried variations of the below, but it doesn’t change anything:

<referenceBlock name="product.price.render.wishlist">     <arguments>         <argument name="price_render" xsi:type="string">product.price.render.default</argument>         <argument name="price_type_code" xsi:type="string">wishlist_configured_price</argument>         <argument name="price_label" xsi:type="boolean">false</argument>         <argument name="zone" xsi:type="string">item_list</argument>     </arguments>     <arguments>         <argument name="price_render" xsi:type="string">product.price.render.default</argument>         <argument name="price_type_code" xsi:type="string">final_price</argument>         <argument name="display_msrp_help_message" xsi:type="string">1</argument>         <argument name="zone" xsi:type="string">item_view</argument>         <argument name="id_suffix" xsi:type="string">copy-</argument>     </arguments> </referenceBlock> 

Wishlist Page

Product Page

After upgrade Magento to 2.3.1, Configurable product is not displaying

We have upgraded our Magento site to Latest Magento version Magento 2.3.1, After upgrade, We are facing error while opening configurable product as below.

{     "[data-role=swatch-options]": {         "Magento_Swatches/js/swatch-renderer": {             "jsonConfig": <br />  <b>Fatal error</b>:  Uncaught Error: Call to a member function getUrl() on null in /vendor/magento/module-configurable-product/Helper/Data.php:56 Stack trace: #0 /vendor/magento/module-configurable-product/Block/Product/View/Type/Configurable.php(261): Magento\ConfigurableProduct\Helper\Data-&gt;getGalleryImages(Object(Magento\Catalog\Model\Product\Interceptor)) #1 /vendor/magento/module-configurable-product/Block/Product/View/Type/Configurable.php(238): Magento\ConfigurableProduct\Block\Product\View\Type\Configurable-&gt;getOptionImages() #2 /generated/code/Magento/Swatches/Block/Product/Renderer/Configurable/Interceptor.php(206): Magento\ConfigurableProduct\Block\Product\View\Type\Configurable-&gt;getJsonConfig() #3 /vendor/magento/module-swatches/view/frontend/templates/product/view/renderer.phtml(16): Magento\Swatches\Block\Product\Renderer\Configurable\Interceptor-&gt;getJsonConfig() #4 /v in <b>/vendor/magento/module-configurable-product/Helper/Data.php</b> on line <b>56</b><br /> 

Simple product details page is working fine, but having error in configurable product. Does anybody has solution of this issue? Please help. Thank you.

Why is the Stocks.app displaying as “Μετοχές” on my MacBook Air running Mojave?

I recently got a new (refurbished) MacBook Air, running Mojave, and am in the process of setting it up.

At some point, I noticed an application called Μετοχές in my Applications folder. My default language is English, so I’m not sure how this got there. When doing “Get Info”, I see that under “Name & Extension” it’s listed as Stocks.app.

I am wondering why this happened and how to get this app to display in English?

Can’t set arguments to a view for displaying all data

I use

$  view = views_embed_view('export_emargement','page_1',$  journee,$  region,$  produit); 

it works well, but If I don’t want to specify $ region the view does’nt works.

Im my view admin if I set argument like this 797/62/24 it works

If I try 797/all/24 it works too!every data are displayed

In my code i try this, but it can’t be parsed

$  args = array($  journee.',"all",'.$  produit); or $  args = array($  journee.',all,'.$  produit); $  view = views_embed_view('export_emargement','page_1',$  args); 

Field Collection fields not displaying

I have been running into some trouble with displaying Field Collections. I have a content type (products) that has a field collection called packages. Randomly I would notice that sometimes the field collection fields wouldn’t display. Today they have stopped displaying and aren’t coming back.

I can’t seem to figure out what the issue is. All the fields are set to display in the field collection display settings. Even when I just look at the node view page they aren’t displayed there.

I was curious if anyone can help with this issue?

EDIT: It appears that enabling and disabling modules (doesn’t matter which one) fixes this and the fields display. Not sure what triggers it to break again though.