Commit Graph

95 Commits

Author SHA1 Message Date
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 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 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 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
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 6bd4b05a98
fix more bugs in autocomplete (#208)
* fix more bugs in autocomplete

fully fixes #170

* fixup

* fix tests
2018-04-21 14:57:02 -07:00
Nolan Lawson 12131bd807
refactor dialogs to be individually async (#206) 2018-04-21 09:56:53 -07:00
Nolan Lawson 1151a3be4b
fix null in Timeline.html get() (#205) 2018-04-21 09:56:45 -07:00
Nolan Lawson 64973757a3
slightly refactor compose box (#192) 2018-04-20 10:36:05 -07:00
Nolan Lawson 581a0fcd00
fix multiple compose autosuggest dropdowns (#188)
* fix multiple compose autosuggest dropdowns

Fixes #170

* fix failing test

* remove console.log
2018-04-20 06:26:36 -07:00
Nolan Lawson bfc3c46462
use standard to lint HTML too (#186) 2018-04-19 21:38:01 -07:00
Nolan Lawson 8d5690d63d
remove get() with string from Svelte calls (#169)
* remove get() with string pt 1

* remove get() with string pt 2

* fix typo

* fix some null exceptions in get()

* fixup code style
2018-04-19 09:37:05 -07:00
Nolan Lawson b231466fff
Refactor database for better code-splitting (#144) 2018-04-16 20:56:21 -07:00
Nolan Lawson 6be77a6b25
Fix spinner button spinning background (#113)
Fixes #107
2018-04-14 10:07:45 -07:00
Nolan Lawson aaf0a16a48 remove mistaken code comment
[skip ci]
2018-04-12 22:30:40 -07:00
Nolan Lawson a82c44c21f
Replying returns focus to reply button (#98)
Fixes #42
2018-04-12 21:18:14 -07:00
Nolan Lawson 2c6576e09d
Fix compose button covering content (#95)
Fixes #43 for browsers that support fit-content
2018-04-12 20:23:38 -07:00
Nolan Lawson 7ece5d7ffc fix css typo 2018-04-12 19:37:37 -07:00
Nolan Lawson bdf658f54c fixup minor style nitpicks
[skip ci]
2018-04-11 20:01:45 -07:00
codl 8e08d08712 send status on ctrl+enter (#81)
* send status on ctrl+enter (#24)

* don't check for floating post button when pressing ctrl+enter

oops, I was too eager. it doesn't matter too much, except that if the
main compose form is off-screen but still focused, ctrl+enter would open
the compose modal instead of posting
2018-04-11 20:01:17 -07:00
Nolan Lawson 70b03eb56e
fix headings for timelines (#67)
Adds an sr-only class to make this easier in the future. Also fixes a missing aria-label.

Fixes #44
2018-04-10 22:08:14 -07:00
Nolan Lawson 7ae3212c55
Fix alts for image uploads (#54)
* Fix alts for image uploads

Fixes #41

* fix alts mixed with no-alts
2018-04-09 18:30:15 -07:00
Nolan Lawson bcc7fb47ef start using an event bus 2018-04-08 15:08:32 -07:00
Nolan Lawson fe8ad175f2 more elegant fix for autosuggestion covering toolbar 2018-04-05 21:35:22 -07:00
Nolan Lawson f5943c3c24 Revert "fix issue with not being able to click toolbar"
This reverts commit 001f85eecc.
2018-04-05 21:00:30 -07:00
Nolan Lawson 001f85eecc fix issue with not being able to click toolbar 2018-04-05 20:30:52 -07:00
Nolan Lawson 2544b71251 use lodash-es for slightly smaller bundle size 2018-04-05 17:57:36 -07:00
Nolan Lawson 8197c9e773 fix DM background color for replies 2018-04-04 23:03:26 -07:00
Nolan Lawson 0ce79fed44 fix z-index 2018-04-04 22:20:12 -07:00
Nolan Lawson 8d6cb56421 make entire sticky banner pointer-events:auto 2018-04-04 20:32:54 -07:00
Nolan Lawson b17b554965 fix auto-focus for dialog compose 2018-04-04 19:49:05 -07:00
Nolan Lawson bd183c9b37 fix default post privacy on replies 2018-04-03 17:50:48 -07:00
Nolan Lawson 79e33d7938 automatically insert CWs for replies to CWs 2018-04-03 09:45:17 -07:00
Nolan Lawson 3458c353e4 clicking avatar takes you to your profile 2018-04-02 17:53:04 -07:00
Nolan Lawson e467f74631 fix intersection observer bug in firefox 2018-03-31 09:36:29 -07:00
Nolan Lawson ec80a3847b clicking Esc clears autosuggestions 2018-03-30 17:34:10 -07:00
Nolan Lawson f9993cac35 fix post privacy for replies 2018-03-30 10:04:35 -07:00
Nolan Lawson 5a0c4897b0 make replies inline 2018-03-30 01:06:17 -07:00
Nolan Lawson 3b8f551477 implement better timeline navigations with fades 2018-03-29 23:16:53 -07:00
Nolan Lawson 290a3b068e fix math error in css 2018-03-28 09:05:22 -07:00
Nolan Lawson 474b6e6dad replace × with svg x icon 2018-03-28 08:56:40 -07:00
Nolan Lawson 3bca451669 fix svg spinner 2018-03-28 08:45:58 -07:00
Nolan Lawson 45ee11352f remove unnecessary will-change 2018-03-27 20:13:41 -07:00
Nolan Lawson 59cf489ca3 try to fix floating button with will-change:transform 2018-03-27 10:01:35 -07:00
Nolan Lawson 1d7d7612a6 improve floating compose button 2018-03-27 09:38:19 -07:00
Nolan Lawson ddd32a2223 improve tests 2018-03-27 08:38:40 -07:00