Commit Graph

45 Commits

Author SHA1 Message Date
Matilde Park
1df231f79e meta: revert urbitrc-sample rename 2021-03-04 12:25:00 -05:00
Liam Fitzgerald
034fc30173
Merge remote-tracking branch 'origin/release/next-js' into lf/tutorial-revive 2021-02-26 11:26:17 +10:00
Jimmy Young
a62dd1c752 fix spacing on all modals complete 2021-02-23 18:35:24 -08:00
Liam Fitzgerald
efd39b2419
tutorial: update envvars for prod build 2021-02-22 13:01:35 +10:00
Liam Fitzgerald
aefeea2d61
service-worker: handle update semantics properly 2021-02-22 11:55:03 +10:00
Liam Fitzgerald
64522eeca7
Merge remote-tracking branch 'origin/release/next-js' into lf/globbed-sw 2021-02-22 11:23:57 +10:00
Liam Fitzgerald
72a0588a52
tutorial: update mainnet location 2021-02-19 13:21:56 +10:00
Liam Fitzgerald
4125f306be
interface: update tutorial location 2021-02-11 10:40:50 +10:00
Liam Fitzgerald
07518e5cff
interface: inject location of tutorial group at compile tim 2021-02-08 11:02:52 +10:00
Tyler Brown Cifu Shuster
fc179eac7d interface: adds serviceworker 2021-01-27 21:33:23 -08:00
Matilde Park
3f059a57d8 Merge branch 'release/next-js' into mp/landscape/indigo-themes 2021-01-12 14:27:22 -05:00
Matilde Park
113aad6db5 meta: remove unnecessary variable 2021-01-05 19:24:51 -05:00
Matilde Park
2c0ecc6494 meta: amend environment variable access 2021-01-05 19:18:35 -05:00
Matilde Park
2005604c9d landscape: use indigo theme imports 2020-11-09 21:47:12 -05:00
matildepark
782ea1a6e7
Merge pull request #3696 from urbit/lf/bundle-cleanup
interface: various bundle size optimisations
2020-10-16 18:32:07 -04:00
Liam Fitzgerald
f14c0ee19e interface, glob: serve source maps externally 2020-10-14 13:26:40 +10:00
Liam Fitzgerald
6855f623de interface: multi ship devserver 2020-10-13 15:06:12 +10:00
Liam Fitzgerald
6794a930b5 interface: rewrite lodash imports with babel
Due to lodash's packaging mechanism, it is unable to treeshake unless
you always import from it in a certain fashion. This commit adds a babel
plugin to rewrite these imports for us.
2020-10-13 11:52:14 +10:00
Liam Fitzgerald
e7d3261252 interface: do not bundle extra locales
Landscape is not localised in any fashion and we never change the
default locale. As such, the locales that moment.js includes in the
bundle are redundant and can be removed
2020-10-13 11:49:57 +10:00
Liam Fitzgerald
abffd4062d interface: disable source maps on production builds
Source maps have never worked correctly on production builds, and the
way that they are bundled into the JS itself negatively impacts our time
to first paint. As such, we disable them for a significant bundle size
improvement (10MB -> 2.4MB)
2020-10-13 11:48:13 +10:00
Tyler Brown Cifu Shuster
ff3dd549ef interface: open dev server to network 2020-09-25 16:17:44 -07:00
Liam Fitzgerald
9f0546e926 webpack: update for new bundle location 2020-08-04 10:41:55 +10:00
Liam Fitzgerald
4207e2372e interface: clean dir before webpack build 2020-08-03 11:04:01 +10:00
Liam Fitzgerald
4ab11c13ee interface: version JS changes in webpack
Also fixes a longstanding bug where the compiled JS would be written
twice to the same file, causing the bundle to be twice as large as it
needs to be.
2020-08-03 09:55:04 +10:00
matildepark
5108814645
Merge pull request #3134 from urbit/mp/babel-build
interface: add babel-transform-runtime
2020-07-22 12:16:55 -04:00
Philip Monk
d641210c6f
Merge branch 'philip/glob' (#3139)
* philip/glob:
  interface: don't require urbitrc for build:prod
  maintainers: add glob-making instructions
  publish: loosen +noun:grab
  glob: autostart and make ota-able
  glob: added app to distribute js outside clay

Signed-off-by: Philip Monk <phil@pcmonk.me>
2020-07-21 11:22:16 -07:00
Philip Monk
2bafb4a96a
interface: don't require urbitrc for build:prod 2020-07-21 11:15:15 -07:00
Matilde Park
e4584ae949 interface: remove string replace, add guide 2020-07-16 11:40:35 -04:00
Liam Fitzgerald
1330ff6fe3 interface: address review comments and don't timeout channels 2020-07-16 09:32:11 +10:00
Matilde Park
815d9e043c interface: add babel-transform-runtime
Fixes #3132. Prior to this, we hit errors due to Babel not being able
to transform async functions for browsers.
2020-07-15 16:42:56 -04:00
Liam Fitzgerald
5ba1027a90 interface: document HMR 2020-07-15 15:15:41 +10:00
Liam Fitzgerald
09375d311d interface: add HMR to webserver config 2020-07-15 15:04:14 +10:00
Matilde Park
9ddf035238 interface: add hot reloading dev server config 2020-07-14 17:03:55 -04:00
Matilde Park
9686f3483a interface: update production build for typescript 2020-06-29 22:48:17 -04:00
Liam Fitzgerald
60ff310422 interface: make store global 2020-06-22 14:59:02 +10:00
Liam Fitzgerald
05b665f908 interface: convert api and reducers to typescript 2020-06-20 14:49:18 +10:00
Matilde Park
506c8996d6 interface/config: fix production build 2020-06-18 18:04:30 -04:00
Liam Fitzgerald
c087044212 various-js: improve scrolling experience on iOS
Removes use of vh units, as they don't play well with safari
(https://bugs.webkit.org/show_bug.cgi?id=141832). Adjusts layouts
accordingly.
2020-06-10 12:46:38 +10:00
Liam Fitzgerald
96ecfbec40 interface: improve webpack dev config
Fixes an issue where only the first ship would receive the updated files
from webpack. Enables watch mode. If herb is set to true in the urbitrc,
then webpack will commit the desk for each change on every ship.
2020-06-05 13:14:01 +10:00
Logan Allen
1bbeb8d2a4 landscape: moved chat files to landscape directory and updated to use landscape SPA 2020-06-01 13:55:49 -04:00
Matilde Park
27406fe029 spa: componentise spinner, migrate all global css 2020-06-01 13:54:08 -04:00
Matilde Park
5b7b33efab spa: import chat 2020-06-01 13:54:08 -04:00
Gavin
29aeecfc71 webpack with css importer 2020-06-01 13:54:08 -04:00
Gavin
224ba83b32 more scaffolding 2020-06-01 13:54:08 -04:00
Gavin
643053433c update oldApps, attempt importing api, store and reducers in Chat 2020-06-01 13:54:08 -04:00