mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-06-18 23:39:11 +08:00
## What Draft spike for rendering nested replies through the normal topic route/controller/template (`/t/:slug/:id[/post_number]`) instead of a separate Ember `/n/...` browser page route. This keeps `/n/...` for internal JSON/API endpoints and legacy browser redirects, while using the canonical topic route for user-facing nested topic navigation. ## Changes - Add nested-topic loading/setup to `topic.fromParams` so `/t/...` can render the nested tree. - Render `<Nested>` from the topic template when the topic is in nested mode. - Keep the nested controller as the nested tree state owner, bridged from the topic route/controller. - Redirect legacy client-side `/n/...` browser routes to the corresponding `/t/...` routes. - Preserve nested context depth through model processing, controller state, and cache snapshots. - Update nested post/admin URLs, notifications, activity, copy links, and system specs to canonical `/t/...` browser URLs. - Split scroll-anchor persistence from full nested model cache snapshots to avoid expensive cache writes on scroll. - Add bounded scroll restoration retries for mobile browser-back focus restoration. |
||
|---|---|---|
| .. | ||
| chat_integration | ||
| about.rb | ||
| activate_account.rb | ||
| admin_about_config_area.rb | ||
| admin_api_keys.rb | ||
| admin_backups.rb | ||
| admin_badges.rb | ||
| admin_badges_groupings.rb | ||
| admin_base.rb | ||
| admin_color_palette_config_area.rb | ||
| admin_color_palettes_config_area.rb | ||
| admin_customize_components_config_area.rb | ||
| admin_customize_themes.rb | ||
| admin_customize_themes_config_area.rb | ||
| admin_dashboard.rb | ||
| admin_dashboard_reports.rb | ||
| admin_email_logs.rb | ||
| admin_email_templates.rb | ||
| admin_email_templates_index.rb | ||
| admin_embedding.rb | ||
| admin_embedding_host_form.rb | ||
| admin_embedding_posts_and_topics.rb | ||
| admin_emojis.rb | ||
| admin_flag_form.rb | ||
| admin_flags.rb | ||
| admin_fonts.rb | ||
| admin_groups.rb | ||
| admin_login_and_authentication.rb | ||
| admin_logo.rb | ||
| admin_new_features.rb | ||
| admin_objects_setting_editor.rb | ||
| admin_permalink_form.rb | ||
| admin_permalinks.rb | ||
| admin_plugins_list.rb | ||
| admin_site_settings.rb | ||
| admin_site_texts.rb | ||
| admin_staff_action_logs.rb | ||
| admin_tag_groups.rb | ||
| admin_theme_site_settings.rb | ||
| admin_upcoming_change_item.rb | ||
| admin_upcoming_changes.rb | ||
| admin_user.rb | ||
| admin_user_badges.rb | ||
| admin_user_fields.rb | ||
| admin_users.rb | ||
| admin_watched_words.rb | ||
| admin_web_hook_events.rb | ||
| admin_webhooks.rb | ||
| admin_welcome_banner_config.rb | ||
| base.rb | ||
| category.rb | ||
| csv_export_pm.rb | ||
| discovery.rb | ||
| finish_installation.rb | ||
| form_template.rb | ||
| group.rb | ||
| group_activity_posts.rb | ||
| group_form.rb | ||
| group_index.rb | ||
| header.rb | ||
| invite_form.rb | ||
| login.rb | ||
| nested_view.rb | ||
| omniauth_confirm.rb | ||
| pageview_tracking.rb | ||
| posts_page.rb | ||
| review.rb | ||
| review_index.rb | ||
| search.rb | ||
| signup.rb | ||
| tag.rb | ||
| tag_settings.rb | ||
| topic.rb | ||
| user.rb | ||
| user_activity_bookmarks.rb | ||
| user_activity_drafts.rb | ||
| user_api_key_device_auth.rb | ||
| user_api_key_show.rb | ||
| user_invited_expired.rb | ||
| user_invited_pending.rb | ||
| user_notifications.rb | ||
| user_preferences.rb | ||
| user_preferences_account.rb | ||
| user_preferences_interface.rb | ||
| user_preferences_navigation_menu.rb | ||
| user_preferences_notifications.rb | ||
| user_preferences_profile.rb | ||
| user_preferences_security.rb | ||
| user_private_messages.rb | ||
| user_reset_password.rb | ||
| wizard.rb | ||