This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse/app
Osama Sayegh eb237e634a
A11Y: Focus last viewed topic in topic lists (take 3) (#16257)
Another attempt at fixing https://meta.discourse.org/t/discourse-with-a-screen-reader/178105/88?u=osama. Previous PR (reverted): #16240.

The problems with the previous PR were:

1. As you scrolled down a topics list, the first topic of every new batch of topics would receive focus and the indicator would show up.
2. Similar to 1, clicking the `See X new or updated topics` notice would also focus a random topic from the new topics that were just loaded.
3. Topics in the suggested topics list received focus too
4. Our custom focus indicator appeared on mobile, but it shouldn't.

This commit should have none of these problems.
2022-03-23 13:03:56 +03:00
..
adapters FEATURE: Display pending posts on user’s page 2021-11-29 10:26:33 +01:00
components A11Y: Focus last viewed topic in topic lists (take 3) (#16257) 2022-03-23 13:03:56 +03:00
controllers DEV: Refactor tag-show route (#16217) 2022-03-21 12:20:51 +00:00
helpers DEV: Add category-color variable (#15807) 2022-02-03 13:16:27 -06:00
initializers DEV: Disallow Ember global usage (#16147) 2022-03-09 17:54:07 +01:00
lib DEV: Add clipboardCopyAsync API to utilities (#16232) 2022-03-21 13:34:01 +10:00
mixins DEV: appEvent to close user card (#16253) 2022-03-22 12:00:44 -05:00
models FIX: Allow admins to change user ignore list (#16129) 2022-03-09 14:51:30 +10:00
pre-initializers FIX: Ensure all/none subcategory filters work correctly with tags 2022-03-22 15:26:00 +00:00
raw-views DEV: Use method definition syntax consistently (#14915) 2021-11-13 14:01:55 +01:00
routes FIX: Ensure all/none subcategory filters work correctly with tags 2022-03-22 15:26:00 +00:00
services FIX: Better 0 file size detection and logging (#16116) 2022-03-07 12:39:33 +10:00
styles DEV: Migrate to Ember CLI (#11932) 2021-02-03 14:22:20 -05:00
templates A11Y: Focus last viewed topic in topic lists (take 3) (#16257) 2022-03-23 13:03:56 +03:00
widgets FEATURE: Replace share-popup with share-topic (#16108) 2022-03-15 21:27:18 +02:00
app.js DEV: Improve theme error handling UX 2022-02-14 10:11:19 +00:00
index.html FIX: Ember CLI was always loading the admin payload in dev mode 2021-10-05 08:34:10 -04:00
mapping-router.js DEV: Improve and document __container__ workaround in tests (#15498) 2022-01-10 10:34:08 +00:00