Can't always select any category in composer

요약

컴포저에서 새 주제를 생성할 때 모든 사용 가능한 범주 중에서 선택할 수 없는 몇 가지 시나리오가 있습니다. “새 주제 생성” 프로세스를 시작할 때의 위치에 따라 범주가 제한되는 것 같습니다.

예상 동작 (대조 케이스)

  1. 메인 사이트 홈 페이지의 :heavy_plus_sign: 새 주제 버튼을 클릭합니다.
  2. 컴포저 창이 나타납니다. 게시 권한이 있는 모든 범주가 드롭다운 목록에 표시됩니다.

실제 동작 (문제 케이스 1)

  1. https://meta.discourse.org/t/secure-media-uploads/meta/140017와 같은 임의의 주제로 이동하여 :link: 버튼을 클릭한 다음 :heavy_plus_sign: 새 메시지를 클릭하여 주제를 포크합니다.
  2. 컴포저 창이 나타나지만, #contribute:feature와 Uncategorized 범주만 사용할 수 있습니다.

실제 동작 (문제 케이스 2)

  1. #customization:plugin과 같은 하위 범주가 있는 범주 목록 페이지로 이동합니다.
  2. 새 주제를 시작하기 위해 :heavy_plus_sign: 새 메시지 버튼을 클릭합니다.
  3. 컴포저 창이 나타나지만, 현재 범주와 하위 범주(예: #customization:plugin과 #plugin:broken-plugin)만 사용할 수 있습니다.
4개의 좋아요

Our default behavior is to scope the composer to the current category, all other categories are searchable, some previous discussion here:

7개의 좋아요

There might be a regression with search though, writing a test and fixing it.

7개의 좋아요

This might be why I haven’t noticed it until lately; I would always type out the category I want rather than scroll.

Thanks for the leads all.

2개의 좋아요

That should fix it:

https://github.com/discourse/discourse/pull/9031

There was a test, but sadly it was too forgiving and couldn’t catch this, I updated it to make it more obvious and strict that we are testing this behaviour.

11개의 좋아요

This topic was automatically closed after 24 hours. New replies are no longer allowed.