Commit Graph

707 Commits

Author SHA1 Message Date
Nolan Lawson 1be5fd3672
fix overflow inside of modals (#432)
fixes #431
2018-08-17 22:26:08 -07:00
Nolan Lawson 37cc2c2df7
add placeholder to "add instance" input (#427) 2018-08-16 22:15:22 -07:00
Nolan Lawson b8863e684e
use page lifecycle (#424)
* use page lifecycle

* fix eslint
2018-08-16 10:23:26 -07:00
Daniel Diekmeier 78d95e0dc4 Change arrow on back button (#420)
* Change arrow on back button

* Update DynamicPageBanner.html
2018-08-16 07:29:12 -07:00
Nolan Lawson 23ccec45d0
fix notifications in a background tab (#402)
Part of the way to improving #390.

Before this fix, if you recieved a notification while Pinafore was in a background tab, nothing would happen, because most browsers (Edge, Firefox, Chrome) don't run rAF in background tabs. Furthermore, Chrome doesn't run rIC. In this PR we detect if we're in a background tab and then avoid rAF/rIC in that case.
2018-06-23 10:11:14 -07:00
Nolan Lawson 0d601f924e
fix svelte warning for empty block (#401) 2018-06-23 09:51:47 -07:00
Nolan Lawson b2568dbbda
short mentions should have full title (#396)
quick fixup to #395
2018-06-15 09:20:55 -07:00
Nolan Lawson f7ebfbf139
status mentions should use short usernames (#395) 2018-06-15 07:58:12 -07:00
Nolan Lawson b7748d849b
add mentions outside of content warnings (#393)
Fixes #389
2018-06-14 12:52:00 -07:00
Nolan Lawson fb6df029f3
add "reply all" icon (#392)
fixes #388
2018-06-14 08:42:55 -07:00
Nolan Lawson 5f4e869eeb
add more fine-grained request timeouts (#387)
* add more fine-grained request timeouts

fixes #381

* tweak timeout
2018-06-13 07:38:36 -07:00
Nolan Lawson a0d3a89180
remove useless aria-hidden (#386) 2018-06-10 19:49:39 -07:00
Nolan Lawson 11dcaf0cf3
Remove PseudoVirtualList (#385)
* start on removing pseudo virtual list

* rename, refactor

* remove unused file

* fix the tests

* actually fix tests

* okay actually fix tests
2018-06-09 22:55:58 -07:00
Nolan Lawson eeff84a587
Fix text overflow on status headers (#383)
* Fix text overflow on status headers

* fix tests

* really fix tests
2018-06-09 15:04:47 -07:00
Nolan Lawson e8d2cd9ffc
tests: quicker login, tweak test setup (#372)
* make tests faster by logging in directly

* downgrade testcafe

* Revert "downgrade testcafe"

This reverts commit 0f78f5ef63f25b6428de2faba476a353a338c695.

* try a delay

* the delay does not do anything

* disable concurrency in testcafe

* make setup script less noisy

* try transparency of 2?

* Revert "the delay does not do anything"

This reverts commit 438b3519a4e0c325e89f0c2a0eff6a7a4ae11ebd.

* try a delay of 400ms

* okay fine delay of 1s

* try concurrency of 4 again
2018-06-08 09:00:20 -07:00
Nolan Lawson df6323fba3
switch from copy icon to link icon (#343)
fixes #325
2018-05-26 17:23:27 -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 a51477b501
fix timelineType state read (#310) 2018-05-18 18:33:20 -07:00
Nolan Lawson 8035662f93
fix minor design issue (#297) 2018-05-13 18:53:37 -07:00
Nolan Lawson 2b309b242c
close first dialog when opening copy dialog (#292) 2018-05-13 11:13:35 -07:00
Nolan Lawson ad84adaf63
add ability to mute conversation (#291)
fixes another thing from #6
2018-05-12 22:49:01 -07:00
Nolan Lawson 3d8cdcd649
only allow public/unlisted statuses to be pinned (#290)
fixes #264
2018-05-12 15:45:50 -07:00
Nolan Lawson c0d0b4dd36
add option to copy link to clipboard (#289)
Fixes #288
2018-05-12 15:00:11 -07:00
Nolan Lawson fa4dd59f01
wrap code in dev block (#286) 2018-05-12 14:01:25 -07:00
Nolan Lawson 5a1e10dee0
refactor some stuff (#274) 2018-05-06 17:35:22 -07:00
Nolan Lawson 07fb5e867c
isolate autosuggestion state (#273)
fixes #261
2018-05-06 16:25:17 -07:00
Nolan Lawson a88fb70542
remove unnecessary sveltejs/svelte#1354 workarounds (#269) 2018-05-04 20:09:20 -07:00
Nolan Lawson 9e9a897ede
fix nav bar for pinned lists (#263) 2018-05-03 21:24:10 -07:00
Nolan Lawson b1a3be06ff
fix null in virtual list item (#260) 2018-05-03 20:41:55 -07:00
Nolan Lawson b7c90a4206
add animation for navigation bar indicator (#257) 2018-05-02 21:32:43 -07:00
Nolan Lawson ffa5dcb3ec
remove unnecessary item wrapping (#254)
* remove unnecessary item wrapping

* fix lint
2018-05-01 21:05:15 -07:00
Nolan Lawson 42be854521
upgrade to svelte 2.0 (#251)
* upgrade to svelte 2.0

* update svelte-loader to 2.9.0
2018-05-01 17:05:36 -07:00
Nolan Lawson 429df7fbc5
fix more svelte undefined warnings (#250) 2018-04-30 19:06:08 -07:00
Nolan Lawson 814716cc8d
remove deprecated observe() from stores, take 2 (#249) 2018-04-30 17:20:20 -07:00
Nolan Lawson dbba271f39
fix some svelte data warnings (#247) 2018-04-30 09:57:49 -07:00
Nolan Lawson f9792ae3d8
remove deprecated .observe() from components (#246) 2018-04-30 08:29:04 -07:00
Nolan Lawson c309e5842d
slightly improve Svelte 2.0 compatibility (#244)
* slightly improve Svelte 2.0 compatibility

* fixup

* fix lint
2018-04-29 22:13:41 -07:00
Nolan Lawson 8229d1c9e6
use svelte shorthand wherever possible (#242) 2018-04-29 18:42:03 -07:00
Nolan Lawson c4182c9ddc
remove unnecessary helpers (#241) 2018-04-29 18:41:56 -07:00
Nolan Lawson a368294b43
fix for malformed notiications (#238)
fixes #217
2018-04-29 18:41:47 -07:00
Nolan Lawson 9629a55a9f
remove all instances of string coercion (#240) 2018-04-29 17:45:03 -07:00
Nolan Lawson 40a9ff957a
fix null error in virtual list items (#239) 2018-04-29 17:33:58 -07:00
Nolan Lawson de7bc7e43d
avatar should not have gray background (#237)
fixes #233
2018-04-29 16:57:12 -07:00
Nolan Lawson 8089202977
add ability to pin and unpin statuses (#235)
* add ability to pin and unpin statuses

* add another test
2018-04-29 12:28:44 -07:00
Nolan Lawson ffb00fcc5c
approve/reject follow requests, unblock, unmute (#230)
* approve/reject follow requests, unblock, unmute

* make tests less flaky
2018-04-28 14:19:39 -07:00
codl 562d0d2774 emoji style fixes (#227)
* emoji style fixes

* fixes non-square emoji being stretched to fit a square, both in
  statuses and in autosuggestions
* sizes emoji proportionally to text, so emoji won't look all tiny in
  expanded statuses
* emoji sizing and positioning similar to mastodon web

* prevent emoji from pushing down the line below them
2018-04-27 18:19:37 -07:00
Nolan Lawson 75b4d09b64 remove AsyncLayout in favor of rAf + gBCR 2018-04-27 18:16:57 -07:00
Nolan Lawson 8a46f3b3d1 add test and aria-label 2018-04-26 22:37:39 -07:00
Nolan Lawson 7ec109c6af fix style nit 2018-04-26 22:37:39 -07:00
codl 03e0ac72d2 add lists of follows and followers 2018-04-26 22:37:39 -07:00