제안된 주제에서 중첩된 주제 링크가 작동하지 않습니다

The link to https://meta.discourse.org/t/testing-nested-replies-on-meta/398759/113 in my suggested topics doesn’t work. It looks like it breaks something instead of just being a link that doesn’t work, because the header is still wrong after clicking “Take me home”.

I’ll check the browser console later when I have access to it.

5개의 좋아요

I also got a one off 404. Weirdly, going home and then clicking it again works normally.

ajax.js:233  GET https://meta.discourse.org/n/testing-nested-replies-on-meta/398759/context/113.json?sort=top&track_visit=true 404 (Not Found)
send @ jquery.js:9940
ajax @ jquery.js:9521
performAjax @ ajax.js:233
(anonymous) @ ajax.js:246
(anonymous) @ nested.js:56
(anonymous) @ preload-store.js:27
invokeCallback @ rsvp-ziM3qQyS.js:435
constructor @ rsvp-ziM3qQyS.js:451
getAndRemove @ preload-store.js:26
model @ nested.js:53
deserialize @ route.js:867
getModel @ router-BViwI_oJ.js:314
(anonymous) @ router-BViwI_oJ.js:149
invokeCallback @ rsvp-ziM3qQyS.js:412
publish @ rsvp-ziM3qQyS.js:398
invoke @ index.js:264
flush @ index.js:180
flush @ index.js:334
_end @ index.js:762
(anonymous) @ index.js:499
Promise.then
(anonymous) @ index.js:18
flush @ index.js:29
_scheduleAutorun @ index.js:928
_end @ index.js:768
(anonymous) @ index.js:499
Promise.then
(anonymous) @ index.js:18
flush @ index.js:29
_scheduleAutorun @ index.js:928
_end @ index.js:768
(anonymous) @ index.js:499
Promise.then
(anonymous) @ index.js:18
flush @ index.js:29
_scheduleAutorun @ index.js:928
_end @ index.js:768
(anonymous) @ index.js:499
Promise.then
(anonymous) @ index.js:18
flush @ index.js:29
_scheduleAutorun @ index.js:928
_ensureInstance @ index.js:919
schedule @ index.js:618
(anonymous) @ rsvp.js:9
fulfill @ rsvp-ziM3qQyS.js:360
handleMaybeThenable @ rsvp-ziM3qQyS.js:324
resolve$1 @ rsvp-ziM3qQyS.js:338
(anonymous) @ rsvp-ziM3qQyS.js:440
(anonymous) @ preload-store.js:32
Promise.then
(anonymous) @ preload-store.js:32
invokeCallback @ rsvp-ziM3qQyS.js:435
constructor @ rsvp-ziM3qQyS.js:451
getAndRemove @ preload-store.js:26
loadTopicView @ topic.js:54
refresh @ post-stream.js:385
model @ from-params.js:43
deserialize @ route.js:867
getModel @ router-BViwI_oJ.js:314
(anonymous) @ router-BViwI_oJ.js:149
invokeCallback @ rsvp-ziM3qQyS.js:412
publish @ rsvp-ziM3qQyS.js:398
invoke @ index.js:264
flush @ index.js:180
flush @ index.js:334
_end @ index.js:762
(anonymous) @ index.js:499
Promise.then
(anonymous) @ index.js:18
flush @ index.js:29
_scheduleAutorun @ index.js:928
_ensureInstance @ index.js:919
ensureInstance @ index.js:731
scheduleRevalidate @ index-DaCZcoCY.js:4146
dirtyTag @ index.js:229
#dirtyStorageFor @ index.js:517
set @ index.js:580
set @ history-store.js:48
navigateToTopic @ item.gjs:106
(anonymous) @ item.gjs:205
applyBehaviorTransformer @ transformer.js:253
click @ item.gjs:192
application.js:147 {readyState: 4, getResponseHeader: ƒ, getAllResponseHeaders: ƒ, setRequestHeader: ƒ, overrideMimeType: ƒ, …}abort: ƒ (e)always: ƒ ()catch: ƒ (e)done: ƒ ()fail: ƒ ()getAllResponseHeaders: ƒ ()getResponseHeader: ƒ (e)jqTextStatus: "error"overrideMimeType: ƒ (e)pipe: ƒ ()progress: ƒ ()promise: ƒ (e)readyState: 4requestedUrl: "/n/testing-nested-replies-on-meta/398759/context/113.json?sort=top&track_visit=true"responseJSON: {errors: Array(1), error_type: 'not_found'}responseText: "{\"errors\":[\"The requested URL or resource could not be found.\"],\"error_type\":\"not_found\"}"setRequestHeader: ƒ (e,t)state: ƒ ()status: 404statusCode: ƒ (e)statusText: "error"then: ƒ (e,i,n)[[Prototype]]: Object
error @ application.js:147
triggerEvent @ router.js:1373
triggerEvent @ router.js:306
trigger @ unrecognized-url-error-Csk7hcJF.js:419
transitionDidError @ router.js:340
(anonymous) @ unrecognized-url-error-Csk7hcJF.js:242
invokeCallback @ rsvp-ziM3qQyS.js:412
publish @ rsvp-ziM3qQyS.js:398
publishRejection @ rsvp-ziM3qQyS.js:347
invoke @ index.js:264
flush @ index.js:180
flush @ index.js:334
_end @ index.js:762
(anonymous) @ index.js:499
Promise.then
(anonymous) @ index.js:18
flush @ index.js:29
_scheduleAutorun @ index.js:928
_end @ index.js:768
(anonymous) @ index.js:499
Promise.then
(anonymous) @ index.js:18
flush @ index.js:29
_scheduleAutorun @ index.js:928
_end @ index.js:768
(anonymous) @ index.js:499
Promise.then
(anonymous) @ index.js:18
flush @ index.js:29
_scheduleAutorun @ index.js:928
_ensureInstance @ index.js:919
schedule @ index.js:618
(anonymous) @ rsvp.js:9
reject$2 @ rsvp-ziM3qQyS.js:369
(anonymous) @ rsvp-ziM3qQyS.js:446
(anonymous) @ preload-store.js:33
Promise.catch
(anonymous) @ preload-store.js:33
invokeCallback @ rsvp-ziM3qQyS.js:435
constructor @ rsvp-ziM3qQyS.js:451
getAndRemove @ preload-store.js:26
model @ nested.js:53
deserialize @ route.js:867
getModel @ router-BViwI_oJ.js:314
(anonymous) @ router-BViwI_oJ.js:149
invokeCallback @ rsvp-ziM3qQyS.js:412
publish @ rsvp-ziM3qQyS.js:398
invoke @ index.js:264
flush @ index.js:180
flush @ index.js:334
_end @ index.js:762
(anonymous) @ index.js:499
Promise.then
(anonymous) @ index.js:18
flush @ index.js:29
_scheduleAutorun @ index.js:928
_end @ index.js:768
(anonymous) @ index.js:499
Promise.then
(anonymous) @ index.js:18
flush @ index.js:29
_scheduleAutorun @ index.js:928
_end @ index.js:768
(anonymous) @ index.js:499
Promise.then
(anonymous) @ index.js:18
flush @ index.js:29
_scheduleAutorun @ index.js:928
_end @ index.js:768
(anonymous) @ index.js:499
Promise.then
(anonymous) @ index.js:18
flush @ index.js:29
_scheduleAutorun @ index.js:928
_ensureInstance @ index.js:919
schedule @ index.js:618
(anonymous) @ rsvp.js:9
fulfill @ rsvp-ziM3qQyS.js:360
handleMaybeThenable @ rsvp-ziM3qQyS.js:324
resolve$1 @ rsvp-ziM3qQyS.js:338
(anonymous) @ rsvp-ziM3qQyS.js:440
(anonymous) @ preload-store.js:32
Promise.then
(anonymous) @ preload-store.js:32
invokeCallback @ rsvp-ziM3qQyS.js:435
constructor @ rsvp-ziM3qQyS.js:451
getAndRemove @ preload-store.js:26
loadTopicView @ topic.js:54
refresh @ post-stream.js:385
model @ from-params.js:43
deserialize @ route.js:867
getModel @ router-BViwI_oJ.js:314
(anonymous) @ router-BViwI_oJ.js:149
invokeCallback @ rsvp-ziM3qQyS.js:412
publish @ rsvp-ziM3qQyS.js:398
invoke @ index.js:264
flush @ index.js:180
flush @ index.js:334
_end @ index.js:762
(anonymous) @ index.js:499
Promise.then
(anonymous) @ index.js:18
flush @ index.js:29
_scheduleAutorun @ index.js:928
_ensureInstance @ index.js:919
ensureInstance @ index.js:731
scheduleRevalidate @ index-DaCZcoCY.js:4146
dirtyTag @ index.js:229
#dirtyStorageFor @ index.js:517
set @ index.js:580
set @ history-store.js:48
navigateToTopic @ item.gjs:106
(anonymous) @ item.gjs:205
applyBehaviorTransformer @ transformer.js:253
click @ item.gjs:192
1개의 좋아요

Error on nested routes/nested.js:47 branch @markvanlan

3개의 좋아요

Fix is here

4개의 좋아요

I wanted to try the link in my suggested topics now, but it seems to be gone. I’m pretty sure I haven’t read it, but the topic and the 6 unread replies are no longer displayed, and in the topic list of the Nested Replies Testing category, the topic still had the unread color but no indicator :woman_shrugging:

The link I copied a few days ago and pasted into the first post still doesn’t work for me. Is that expected because the link in the suggested topic list would be different now?

2개의 좋아요

Yes, the link itself was updated – I do want to fix the redirect though, so that links to flat view won’t 404 like that.

1개의 좋아요

Is the missing number of unread posts that apparently results from this intentional?

1개의 좋아요

Yeah we do not show a count of unread posts in nested topics, because “catching up” doesn’t really work the same (you can’t just scroll to the bottom of the topic! the new posts might be deeply nested). If you have unread posts in that topic, I’d expect there to be the little blue glowing indicator though.. it’s a bug if that is missing.

There is no dot, but the text color indicates there are unread topics. It’s easier to notice in “related topics” because there is a read topic for comparison.