# Experimental ‘lazy\_loaded\_categories’ feature enabled on Meta

**URL:** https://meta.discourse.org/t/experimental-lazy-loaded-categories-feature-enabled-on-meta/299836
**Category:** Feature
**Tags:** feedback, experimental, lazy-load-categories
**Created:** [March 19, 2024, 11:11am UTC](https://meta.discourse.org/t/experimental-lazy-loaded-categories-feature-enabled-on-meta/299836 "2024-03-19T11:11:18Z")
**Posts on this page:** 7
**Page:** 2

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [April 28, 2024, 6:06pm UTC](https://meta.discourse.org/t/experimental-lazy-loaded-categories-feature-enabled-on-meta/299836/34 "2024-04-28T18:06:48Z")

</div>

The category is also not always loaded for the “Your topic is similar to…” suggestions

 ![Screenshot_20240428_200420_Edge](https://global.discourse-cdn.com/meta/original/4X/4/4/f/44ff5214a298c144dc5442f464a6358c3cc59cd7.jpeg)

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [June 11, 2024, 6:11pm UTC](https://meta.discourse.org/t/experimental-lazy-loaded-categories-feature-enabled-on-meta/299836/36 "2024-06-11T18:11:06Z")

</div>

Seems the category selector does have problems with lazy loaded categories when the tag selector is used as well. For example when you open [Topics tagged official](https://meta.discourse.org/tags/c/plugin/22/official) the appearance depends on whether you have added #Customization > Plugin and #Customization > Extras to your sidebar.  
When you have added both everything works fine

 ![Screenshot_20240611_195635_Chrome](https://global.discourse-cdn.com/meta/original/4X/f/b/0/fb0d355e0e9acfcc545872ed03657879de2a2db9.jpeg)

When you remove #Customization > Extras from the sidebar the subcategory selector is missing

 ![Screenshot_20240611_195610_Chrome](https://global.discourse-cdn.com/meta/original/4X/a/d/e/ade6ee064ddb9065bd5d0f49e46ca7229e6b5fb2.jpeg)

And when you also remove #Customization > Plugin from the sidebar the category dropdown does not show the selected category anymore (and the category banner doesn’t show the category)

 ![Screenshot_20240611_195724_Chrome](https://global.discourse-cdn.com/meta/original/4X/3/b/a/3ba11fac456f62dc38be9848e87e6758c6183e49.jpeg)

When you click ‘Hot’ or ‘Top’ from there, Discourse disregards the category filter. For instance, instead of transitioning from ‘Latest’ at [https://meta.discourse.org/tags/c/plugin/22/official/l/latest](https://meta.discourse.org/tags/c/plugin/22/official/l/latest) to ‘Top’ at [https://meta.discourse.org/tags/c/plugin/22/official/l/top](https://meta.discourse.org/tags/c/plugin/22/official/l/top), you are redirected to [https://meta.discourse.org/tag/official/l/top](https://meta.discourse.org/tag/official/l/top).

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [July 15, 2024, 12:04pm UTC](https://meta.discourse.org/t/experimental-lazy-loaded-categories-feature-enabled-on-meta/299836/37 "2024-07-15T12:04:09Z")

</div>

I noticed that “Navigate to first post after topics are read” does not always work when the category is not added to the sidebar. So I think it is because of lazy loaded categories.

1. Remove #Documentation > Contributing from your sidebar
2. Read [Contributing to Discourse development](https://meta.discourse.org/t/contributing-to-discourse-development/3823/) so you should be taken to the top at your next visit. (I would pin it if it’s unpinned to better find it later)
3. Open [Contributing to Discourse](https://meta.discourse.org/t/contributing-to-discourse/53797/)
4. Reload
5. Use the link to #Documentation > Contributing below the title
6. Open Contributing to Discourse Development

Then you see the last post instead of the first

It works as expected when #Documentation > Contributing is added to the categories section of the sidebar

---

<div class="post-metadata">

### Author: ![Alteras](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alteras/32/179824_2.png) [@Alteras](https://meta.discourse.org/u/Alteras)
#### Post date: [July 25, 2024, 8:49pm UTC](https://meta.discourse.org/t/experimental-lazy-loaded-categories-feature-enabled-on-meta/299836/38 "2024-07-25T20:49:36Z")

</div>

When the `desktop category page style` is set to “Subcategories with Featured Topics” with lazy loading, subcategories aren’t separated and displayed. This makes the style effectively the same as “Categories with Featured Topics.”

I can imagine that this is the intended result, but wanted to check first. If it is, some additional description or warning might be needed.

Without Lazy Load:

 ![image](https://global.discourse-cdn.com/meta/original/4X/7/8/5/78534851571a28460f4e42bc2c0e0bd189f8e379.png)

With Lazy Load:

 ![image](https://global.discourse-cdn.com/meta/original/4X/6/2/0/620f943a07f71eb7ac126c676881645f83eea0df.png)

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [September 30, 2024, 5:48pm UTC](https://meta.discourse.org/t/experimental-lazy-loaded-categories-feature-enabled-on-meta/299836/39 "2024-09-30T17:48:31Z")

</div>

Lazy load categories make it impossible to configure approval settings of categories. You can save, but after a reload the checkboxes are blank again.

Lazy load categories turned off:

Lazy loaded categories turned on:

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [October 1, 2024, 4:49am UTC](https://meta.discourse.org/t/experimental-lazy-loaded-categories-feature-enabled-on-meta/299836/40 "2024-10-01T04:49:23Z")

</div>

Can you have a look in the console, curious does the call to save the category fail?

Such an odd edge case.

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [October 1, 2024, 6:22am UTC](https://meta.discourse.org/t/experimental-lazy-loaded-categories-feature-enabled-on-meta/299836/42 "2024-10-01T06:22:18Z")

</div>

I think saving works fine. The problem is that the checkbox is empty after a refresh, so the current status is unknown. But since it’s only possible to check the checkbox, you have to enable it and save, to be able to turn it off.

When `lazy load categories` is disabled `GET /c/test-3/find_by_slug.json` is used, which returns those settings.

```plaintext
"category_setting": {
    "auto_bump_cooldown_days": 1, 
    "num_auto_bump_daily": 0, 
    "require_reply_approval": true, 
    "require_topic_approval": true
}

```

When `lazy load categories` is enabled `GET /categories/find?slug_path=test-3&include_permissions=true` does not return these.

[Previous page](https://meta.discourse.org/t/experimental-lazy-loaded-categories-feature-enabled-on-meta/299836.md?page=1)
