Commit Graph

23 Commits

Author SHA1 Message Date
Nolan Lawson 63003c3763
fix: fix aria-posinset should be 1-based (#1055)
* fix: fix aria-posinset should be 1-based

fixes #1053

* second attempt to fix tests

* try to fix test

*  fixup

* lint fix

* fix more tests

* simplify test math
2019-02-28 08:56:25 -08:00
Nolan Lawson fabf9399f2
fix: use static server for `node server.js` (#1041)
* fix: use static server for `node server.js`

Aligns the Node server with the Zeit server. Fixes #1019

* fix test
2019-02-23 16:09:48 -08:00
Nolan Lawson 31a6ec6857
chore: make test less flaky (#1038) 2019-02-23 12:32:10 -08:00
Nolan Lawson c9ca605cfe
fix: fix keyboard shortcuts for pinned toots (#1033)
* fix: fix keyboard shortcuts for pinned toots

fixes #908

* fix test
2019-02-23 09:47:36 -08:00
Nolan Lawson 4bd181d3cc
fix: update Sapper to latest (#775)
* fix: update to latest sapper

fixes #416

* fix error and debug pages

* requestIdleCallback makes column switching feel way nicer than double rAF

* add export feature

* add better csp info

* workaround for sapper sub-page issue

* clarify in readme about exporting

* fix now config

* switch from rIC to triple raf

* style-loader is no longer used

* update theming guide
2018-12-11 07:31:48 -08:00
Nolan Lawson 4d3a2ded2a
chore(tests): skip flaky "thread preserves focus" test (#777) 2018-12-11 07:29:31 -08:00
Nolan Lawson a760687c6d
chore(tests): make focus test less flaky (#708) 2018-12-01 12:56:55 -08:00
Nolan Lawson 48a1bd47b3
refactor(themes): use CSS specificity order for themes (#684)
The point of this PR is to make it easier to implement scrollbars (#683).

With this PR, the themes move from a body tag-based system (e.g. `body.theme-scarlet`) to a system where they simply declare global CSS and we use CSS specificity order to give us the right theme.
2018-11-24 00:41:36 -08:00
Nolan Lawson b7f5d04b4c
fix(scrolling): use body as scrolling container (#656)
* fix(scrolling): use body as scrolling container

Fixes #526

* fixup tests and focus
2018-11-17 18:06:49 -08:00
Nolan Lawson 0964442815
chore(travis): update to mastodon v2.6.1 (#630)
* chore(travis): update to mastodon v2.6.1

* check if mastodon v2.6.1 has a race condition

* apparently in 2.6.1 direct messages no longer appear in home timeline

* Revert "check if mastodon v2.6.1 has a race condition"

This reverts commit dde8ef8be58eda0563170e6b73165fdcbea54f6b.

* try to fix tests

* fix more tests
2018-11-12 12:59:47 -08:00
greenkeeper[bot] 8dbc1b0503 Update standard to the latest version 🚀 (#519)
* chore(package): update standard to version 12.0.0

* package lock update

* fix eslint
2018-08-29 21:42:57 -07:00
Nolan Lawson e489702dc6
tests: remove more testcafe .find() calls (#376) 2018-06-08 21:54:21 -07:00
Nolan Lawson efdb0bc534
Remove testcafe roles and run in parallel x4 (#334)
* more attempts to fix test flakiness

* remove testcafe roles entirely

* really remove testcafe roles

* run testcafe in parallel x2

* run testcafe in parallel x4

* fix online/offline forcing in tests

* fix pin test
2018-05-26 13:51:41 -07:00
Nolan Lawson fe12b72293
attempt to fix flaky tests (#318)
* attempt to fix flaky tests

* another attempt to fix flakiness

* more attempts to fix flakiness
2018-05-24 20:01:34 -07:00
Nolan Lawson e8a527989a
explicitly focus elements in tests (#147) 2018-04-17 09:44:28 -07:00
Maxime Le Conte des Floris eef54e992b focus container on page load (#116)
* focus container on page load

* only focus container on first page load

* add test for container focus on page load

* fix typo
2018-04-17 09:42:10 -07:00
Nolan Lawson 5a0c4897b0 make replies inline 2018-03-30 01:06:17 -07:00
Nolan Lawson 0c9992c0e1 change scheduling to focus on requestIdleCallback 2018-03-20 20:28:53 -07:00
Nolan Lawson ed0db17ca0 add auto-focus to reply input text 2018-03-16 19:04:48 -07:00
Nolan Lawson 9a0071a934 clicking avatars goes directly to profile 2018-03-16 18:48:24 -07:00
Nolan Lawson 73b53c2afd upgrade svelte 2018-03-15 23:01:38 -07:00
Nolan Lawson c0a2a1e8bf add another focus test 2018-03-15 20:31:58 -07:00
Nolan Lawson 15b51bb3eb rename test files 2018-03-06 21:32:51 -08:00
Renamed from tests/spec/10-focus.js (Browse further)