Commit Graph

168 Commits

Author SHA1 Message Date
Nolan Lawson b2f5f36207
fix(svg): re-inline svg into html (#772)
* Revert "fix(icons): fix icons.svg url (#769)"

This reverts commit 1d34d45da7.

* Revert "perf: use prefetch instead of preload for svgs (#765)"

This reverts commit b73dd548ae.

* Revert "perf: build separate icons.svg file (#762)"

This reverts commit ee45c07314.

* move svg to end of 2xx.html
2018-12-10 00:13:54 -08:00
Nolan Lawson b73dd548ae
perf: use prefetch instead of preload for svgs (#765) 2018-12-08 16:04:11 -08:00
Nolan Lawson ee45c07314
perf: build separate icons.svg file (#762) 2018-12-08 12:46:16 -08:00
Nolan Lawson 7876f82871
fix: build inline script using Rollup (#761)
* fix: build inline script using Rollup

This reduces code duplication and allows the theme engine to work the
same without modifying the code in two places. It does extra extra deps,
but I tried to keep them to a minimum.

* change code comment

* remove unnecessary constant
2018-12-08 11:21:54 -08:00
Nolan Lawson ab548a0a5d
fix(scroll): slightly tweak flicker fix (#758) 2018-12-08 07:53:14 -08:00
Nolan Lawson 99c44f348a
fix(scroll): improve flicker on back navigation (#756)
* fix(scroll): improve flicker on back navigation

It's still not perfect in Firefox for Android, but it's improved.

Partial fix for #753

* the double raf makes no difference here
2018-12-07 23:23:48 -08:00
Nolan Lawson 0e524f3e9a
fix: detect private browsing and safari blocked cookies (#733)
* WIP: detect private browsing and safari blocked cookies

* just check for indexeddb

* just check for indexeddb

* change warning text

* change text

* change text again

* change text again

fixes #444
2018-12-05 21:34:30 -08:00
sgenoud 03d883423c feat(themes): Add the Pitch Black theme (#727)
This theme is made with mobile OLED screens (iPhone XS for instance)
2018-12-04 20:40:47 -08:00
Nolan Lawson aae73f0cc6
fix(design): "add instance" input has dark bg on dark theme (#726)
fixes #723
2018-12-04 07:25:22 -08:00
Nolan Lawson 945c1e7a23
fix(iOS): fix horizontal scroll, use fake sticky button on iOS (#711)
fixes #667
2018-12-02 11:22:18 -08:00
Nolan Lawson e44cafb5fb
feat(scrollbars): add option to disable scrollbars, fix macOS style (#701)
fixes #698 and fixes #700
2018-11-27 19:17:18 -08:00
Nolan Lawson 2569b59b32
feat(design): add custom scrollbars for each theme (#685)
* feat(design): add custom scrollbars for each theme

fixes #683

* improve contrast of hotpants theme
2018-11-24 01:39:00 -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 83d92711e1
fix(safari): fix sticky-positioned button (#674)
fixes #673
2018-11-21 07:27:56 -08:00
Nolan Lawson 5fdba9366a
fix(scroll): prevent horizontal scroll in mobile safari/firefox (#669)
* fix(scroll): prevent horizontal scroll in mobile safari/firefox

fixes #667

* fix safari vs non-safari browsers
2018-11-21 00:17:59 -08:00
Nolan Lawson 35a42c9fd3
fix(emoji): fix textarea emoji on linux (#670) 2018-11-20 22:41:32 -08:00
Nolan Lawson 4124da2439
fix(emojos): fix emojos on Ubuntu and Chrome on Windows (#661)
* fix(emojos): fix emojos on Ubuntu and Chrome on Windows

* fixup

* start working on unit tests

* fixup

* add more tests and fix emoji
2018-11-20 00:01:23 -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 92d2dbddfc
perf(virtuallist): add contain:content to virtual list items (#650)
* perf(virtuallist): add contain:content to virtual list items

* add a few more contain:contents
2018-11-16 00:37:28 -08:00
Sorin Davidoi c1917318ca fix: Show boost action only for toots with relevant visibility (#584) 2018-10-28 15:28:55 -07:00
Sorin Davidoi e45af16bf9 Push notifications (#579)
* feat: Push notifications

* feat: Feature-detect push notifications support

* feat: Prompt user to reauthenticate when missing push scope

* fix(service-worker): Add tags to notifications

* feat: Push notification actions for mentions
2018-10-06 13:06:10 -07:00
Nolan Lawson 5c204b8001
fix Safari search bar appearance (#575) 2018-09-23 14:17:48 -07:00
Nolan Lawson 9b2b90b46e
simplify theme definitions (#574)
* simplify theme definitions

* remove rollup dep which is overkill

* fix syntax error

* fix lint

* fix test
2018-09-23 12:26:01 -07:00
Nolan Lawson a026f395ce update generated HTML file 2018-09-22 16:49:49 -07:00
Nolan Lawson 24dc3ad2ae rename darkscarlet and darkpink to Punk and Riot 2018-09-22 16:42:57 -07:00
Nolan Lawson 8d2e0636d6
add null check for index.html fetch in SW (#484)
hopefully should fix #483
2018-08-24 08:51:09 -07:00
Nolan Lawson d10f924620
remove will-change:transform from container (#470) 2018-08-22 19:26:13 -07:00
Nolan Lawson d30ffc6683
disable service worker image cache for avatars (#465)
fixes #464
2018-08-21 22:22:21 -07:00
Nolan Lawson 350667e5df
allow user display names to contain custom emoji (#448)
* allow user display names to contain custom emoji

fixes #445

* fix tests

* fix focus issue
2018-08-19 15:23:40 -07:00
Nolan Lawson 1aeb57fb57
remove link rel=manifest for iOS (#443)
fixes #45 in a better way than before
2018-08-18 23:14:30 -07:00
Nolan Lawson 38215470ca fix built 2xx.html file 2018-08-17 22:43:08 -07:00
Nolan Lawson 092d9e98a5
fix typo in SCSS (#430) 2018-08-17 21:51:26 -07:00
Nolan Lawson fb6df029f3
add "reply all" icon (#392)
fixes #388
2018-06-14 08:42:55 -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 c0d0b4dd36
add option to copy link to clipboard (#289)
Fixes #288
2018-05-12 15:00:11 -07:00
Nolan Lawson 67e41e4fb0 update generated file 2018-05-06 15:49:05 -07:00
Nolan Lawson 7f325a0166
fix blue active background on Chrome for Android (#236)
fixes #141
2018-04-29 16:57:22 -07:00
Nolan Lawson e4d2934c67
fix themes (#199)
Fixes #194
2018-04-21 00:33:42 -07:00
Nolan Lawson 82438a62e0
upgrade to node-sass 4.8.3 (#165) 2018-04-18 21:38:16 -07:00
Nolan Lawson 1d61a737da
update site meta description (#152)
[skip ci]
2018-04-17 18:38:22 -07:00
Nolan Lawson 7ff45dfb3f
mute and unmute accounts (#127) 2018-04-14 22:18:48 -07:00
Nolan Lawson 283bc78b4f
Add CSP (#119)
Fixes #25
2018-04-14 15:50:16 -07:00
Nolan Lawson 18af622f49 minor style fixup
[skip ci]
2018-04-14 09:44:47 -07:00
Maxime Le Conte des Floris e52130f1c8 add toot-cafe theme (#108)
* add toot-cafe theme

* rename "toot-cafe" theme to "sorcery"
2018-04-14 09:43:30 -07:00
Nolan Lawson 96f02f349b improve webpack dev mode (#104) 2018-04-13 20:49:52 -07:00
Nolan Lawson edb621e0f5 nit: make cobalt secondary text a bit lighter
[skip ci]
2018-04-11 20:13:39 -07:00
Chris c8687635e8 add cobalt blue theme (#78)
* added cobalt blue theme

* lighten nav items
2018-04-11 20:11:47 -07:00
Nolan Lawson a150613b53 tweak css variable names
[skip ci]
2018-04-11 19:53:43 -07:00
Spanky bdf547b561 made a variable for the AccountProfile page for its color overlay of the header image. (#84) 2018-04-11 19:47:24 -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