This gets rid of the awkward checking-in of `template.html` to git (when
it's a built file) and also makes the rebuilds faster and more
consistent by running everything through the same pipeline. So inline
CSS, SVG, and JS are all partially built on-the-fly.
I've basically reinvented gulp, but it's pretty lightweight and
zero-dep, so I'm happy with it.
* 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
* 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
* 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
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.
* 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
* make tests faster by logging in directly
* downgrade testcafe
* Revert "downgrade testcafe"
This reverts commit 0f78f5ef63.
* 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 438b3519a4.
* try a delay of 400ms
* okay fine delay of 1s
* try concurrency of 4 again