0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-11 02:59:07 +08:00
discourse/spec/system/page_objects/pages
David Battersby b5961484c9
FIX: preserve scroll position when returning to user activity streams (#42435)
Scrolling a user activity stream far enough to trigger infinite scroll,
opening a topic, then pressing back would land the user higher up the
page than where they left off.

The scroll position was being restored correctly, but the stream was
refetched from scratch, so the page only held its first page of items
and was too short to scroll back to the saved offset — the browser
clamped it.

On a back/forward navigation we now reuse the stream we left behind,
including everything infinite scroll appended, so the page is the same
height it was and the restored position lands where the user was
reading. The stream is stored per history entry via the historyStore
service, so ordinary forward navigation still loads a fresh stream.

Meta bug report:
https://meta.discourse.org/t/regression-u-username-activity-loses-scroll-position-after-browser-back/406292
2026-08-07 16:36:28 +04:00
..
chat_integration UX: Improve chat integration plugin provider setup (#38892) 2026-04-17 09:56:05 +10:00
about.rb FEATURE: Localizable /about page fields via its settings page (#41123) 2026-06-26 20:41:08 +08:00
activate_account.rb
admin_about_config_area.rb FEATURE: Localizable /about page fields via its settings page (#41123) 2026-06-26 20:41:08 +08:00
admin_api_keys.rb FEATURE: improve UX of API key generation (#37789) 2026-02-17 12:03:13 +11:00
admin_backups.rb
admin_badges.rb DEV: Rename AdminFilterControls to DFilterControls (#41719) 2026-07-16 07:53:06 +10:00
admin_badges_groupings.rb
admin_base.rb
admin_category_management.rb DEV: Rename AdminFilterControls to DFilterControls (#41719) 2026-07-16 07:53:06 +10:00
admin_color_palette_config_area.rb
admin_color_palettes_config_area.rb
admin_customize_components_config_area.rb DEV: Rename AdminFilterControls to DFilterControls (#41719) 2026-07-16 07:53:06 +10:00
admin_customize_themes.rb DEV: Improve handling of private theme installs (#41845) 2026-07-24 13:42:41 -04:00
admin_customize_themes_config_area.rb DEV: Improve handling of private theme installs (#41845) 2026-07-24 13:42:41 -04:00
admin_dashboard.rb FEATURE: Persist "Activity by category" dashboard filter selection (#41758) 2026-07-17 10:54:28 +03:00
admin_dashboard_reports.rb UX: Return dashboard report views to dashboard (#41318) 2026-07-02 09:39:11 +08:00
admin_email_logs.rb
admin_email_templates.rb UX: Display interpolation keys as interactive pills in admin editors (#37254) 2026-02-27 21:21:26 +01:00
admin_email_templates_index.rb DEV: Rename AdminFilterControls to DFilterControls (#41719) 2026-07-16 07:53:06 +10:00
admin_embedding.rb FEATURE: Add full app mode toggle to embedding admin page (#39052) 2026-04-01 15:02:51 -03:00
admin_embedding_host_form.rb DEV: Expand top_tags, topic.tags, etc, to return an array of tag objects instead of tag names (#36678) 2026-02-02 10:03:02 +08:00
admin_embedding_posts_and_topics.rb
admin_emojis.rb FEATURE: Add bulk emoji import/export for admins (#41816) 2026-07-20 15:56:49 -07:00
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 FIX: Redirect upcoming change notifications to What's New when permanent (#41385) 2026-07-03 15:28:21 +10:00
admin_objects_setting_editor.rb
admin_permalink_form.rb
admin_permalinks.rb UX: improve admin filters, add to users and permalinks (#42029) 2026-07-24 17:04:26 -04:00
admin_plugins_list.rb UX: remove redundant admin plugin nav (#42185) 2026-07-31 17:56:28 -04:00
admin_report.rb PERF: limit categories rendered in dashboard category pickers (#42078) 2026-07-29 07:12:06 +03:00
admin_site_settings.rb DEV: Render bool and integer site settings with FormKit (#41809) 2026-08-06 09:19:57 +02:00
admin_site_texts.rb
admin_staff_action_logs.rb SECURITY: Stored XSS in staff action logs injects staff UI 2026-07-28 16:40:22 +02:00
admin_tag_groups.rb DEV: Attempt to fix tag group spec flakes (#40614) 2026-06-06 12:12:39 +02:00
admin_theme_site_settings.rb UX: Use d-table classes instead of legacy d-admin-table (#38048) 2026-02-26 09:37:56 +10:00
admin_upcoming_change_item.rb DEV: Show depends_on site settings for upcoming changes (#41646) 2026-07-14 09:29:47 +10:00
admin_upcoming_changes.rb DEV: Rename AdminFilterControls to DFilterControls (#41719) 2026-07-16 07:53:06 +10:00
admin_user.rb Revert "FEATURE: discourse-workflows (#39704)" (#40366) 2026-05-28 13:59:42 +01:00
admin_user_badges.rb
admin_user_fields.rb DEV: Bump checkbox redesign to stable (#40051) 2026-05-18 14:15:03 +10:00
admin_users.rb UX: improve admin filters, add to users and permalinks (#42029) 2026-07-24 17:04:26 -04:00
admin_watched_words.rb FIX: Watched word tag action broken after TagChooser refactor (#38245) 2026-03-09 11:37:18 +08:00
admin_web_hook_events.rb
admin_webhooks.rb FEATURE: Add FormKit TagChooser control (#37680) 2026-02-11 11:42:33 +01:00
admin_welcome_banner_config.rb UX: add locale to welcome banner config, fix variable references (#36962) 2026-01-06 09:10:42 -05:00
base.rb
category.rb UX: Edit category scope fix (#41116) 2026-06-23 12:53:01 +02:00
csv_export_pm.rb DEV: Another approach to csv spec flakes (#40542) 2026-06-03 17:57:59 +02:00
discovery.rb FIX: Beacon pageview tracker drops query-param-only route transitions (#39780) 2026-05-08 16:15:23 +08:00
finish_installation.rb DEV: Allow new instances to be set up directly with Discourse ID (#36731) 2025-12-23 12:13:36 -05:00
form_template.rb FIX: Form Templates using the tag name instead of the formated version on the composer (#38345) 2026-03-09 08:21:57 -05:00
group.rb FIX: Improve error message when updating group notification settings (#37184) 2026-01-19 15:08:38 +11:00
group_activity_posts.rb
group_form.rb
group_index.rb
header.rb
invite_form.rb
login.rb
nested_view.rb FIX: Flakey nested scroll restoration spec attempt #2 (#42216) 2026-07-31 10:47:42 -05:00
omniauth_confirm.rb UX: Redesign OmniAuth confirmation page with branded styling (#39290) 2026-04-15 14:46:31 -07:00
pageview_tracking.rb FIX: Anon pageview session id reused across cached responses (#39879) 2026-05-12 10:13:05 +08:00
posts_page.rb
review.rb FEATURE: Allow suspending and silencing users from the review queue (#42205) 2026-07-31 14:47:40 +02:00
review_index.rb
search.rb FIX: Hand off search cleanly between welcome banner and header search (#42018) 2026-07-28 15:56:20 +02:00
signup.rb FEATURE: Add recaptcha provider to hcaptcha plugin (#39018) 2026-06-09 09:08:26 -05:00
tag.rb FEATURE: new tag info heading (#40171) 2026-05-26 09:58:29 -04:00
tag_settings.rb FEATURE: Support markdown in tag descriptions (#41996) 2026-07-29 14:43:47 +01:00
topic.rb FEATURE: Allow selection of multiple content languages when viewing topics and posts (#42128) 2026-07-30 12:19:44 +08:00
user.rb UX: link helpful flags from user profile staff counters (#39011) 2026-03-31 13:10:45 -04:00
user_activity_bookmarks.rb FIX: Serialize only a bookmark target's active assignment (#41397) 2026-07-06 06:34:22 +08:00
user_activity_drafts.rb
user_activity_stream.rb FIX: preserve scroll position when returning to user activity streams (#42435) 2026-08-07 16:36:28 +04:00
user_api_key_device_auth.rb FEATURE: User API key device authorization flow (#40189) 2026-06-10 16:09:44 -04:00
user_api_key_show.rb FEATURE: User API key device authorization flow (#40189) 2026-06-10 16:09:44 -04:00
user_invited_expired.rb
user_invited_pending.rb FIX: Loading more invites on the user invites page (#38386) 2026-03-09 20:01:03 -03:00
user_notifications.rb
user_preferences.rb
user_preferences_account.rb
user_preferences_interface.rb FIX: Ensure the language dropdowns from the frontend does not add interface language to understood languages (#42301) 2026-08-04 18:21:49 +08:00
user_preferences_navigation_menu.rb
user_preferences_notifications.rb
user_preferences_profile.rb
user_preferences_security.rb
user_private_messages.rb DEV: fix a large amount of typos (#37428) 2026-02-02 16:31:58 +11:00
user_reset_password.rb
wizard.rb