קטגוריית משנה של Doc - חזרה ללולאת פורום

When a Doc Category has Sub Category that is also setup as a Doc Category. When you click on “Back to Forum” it keeps you in the Doc category sidebar. It doesn’t move up to the parent doc category and will not return to regular sidebar.

This is present here on Meta.

Steps to reproduce:

Additional

2 לייקים

What Dan says is very true :detective: :bug: :magnifying_glass_tilted_left:

I get this too, nice catch :clap:

לייק 1

תודה

גיליתי את זה באתר שלי ti.mi g tedyd שהועבר עדכני באופן מלא נכון להיום. לכן בדקתי כאן

באג מעניין לכל המלעיל. כנראה שזה שינוי אחרון או שזה היה מתגלה מוקדם יותר.

I think it’s related to FEATURE: Add `routeHistory` service, SessionStore service and make `back to forum` button go back to previous page by Grubba27 · Pull Request #32260 · discourse/discourse · GitHub

https://github.com/discourse/discourse/blob/main/app/assets/javascripts/discourse/app/components/sidebar/back-to-forum.gjs#L15

While storing the last non-admin route URL works well for the admin sidebar, it doesn’t work for the doc sidebar. Both URLs Documentation and Documentation > Using Discourse aren’t admin URLs.

לייק 1

Definitely not good. Think it is just better instead to use the browser back button for the admin scenario :woman_facepalming::wink:

Though they could likely modify that to be specific to admin URLs.

This also affects doc sidebar topic links creates the bounce loop as well. Do this commit feature breaks doc categories completely in terms of the sidebar; back to forum

I am also a little confused when I opened the chat in full-screen mode while I was in the admin area and then switched to drawer mode. After that, the back button doesn’t take you anywhere either.

לייק 1

אוי. נראה שזה גורם למגוון תוצאות לוואי בלתי רצויות.

מעמידים זאת בראש סדר העדיפויות שלנו, נחקור זאת השבוע.

לייק 1

תודה סאם והצוות!

Thank you for reporting this. I am starting to work on the fix now :crossed_fingers:

3 לייקים

Fix and spec was just merged

3 לייקים

האם התיקון הזה גם פותר את ההתנהגות המבלבלת כשפותחים את הצ’אט במסך מלא וממשיכים אותו במצב מגירה?

2 לייקים

לא, אתה צודק, chat גם צריך להיות מחוץ לקטגוריה. אתקן את זה ב־PR הבא.

3 לייקים

תודה על התיקון המהיר.

לייק 1

נושא זה נסגר אוטומטית לאחר 20 שעות. תגובות חדשות אינן מותרות עוד.