From 3a29f129128b0ced2c56fb96c7e4fa7f0b0e76b4 Mon Sep 17 00:00:00 2001 From: Christian Bundy Date: Sun, 19 Jan 2020 08:40:20 -0800 Subject: [PATCH 1/3] Add note about supported Node.js versions Problem: I've had a few friends have trouble installing Oasis with an older version of Node.js. Solution: Add supported versions to the readme in a way that we don't have to update (like version numbers) and link to the Node.js website for people who want to learn more about the release schedule. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index cd12a1c..429bd84 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,8 @@ Most people should install Oasis with [npm](https://npmjs.org/). npm --global install @fraction/oasis@latest ``` +Please make sure that your Node.js version is the [**current** or **active LTS** release](https://nodejs.org/en/about/releases/). + Want more? Check out [`install.md`](https://github.com/fraction/oasis/blob/master/docs/install.md). ## Resources From e706a048b5f98fac7e01e173677c609258a8537c Mon Sep 17 00:00:00 2001 From: Jonathan Dahan Date: Wed, 22 Jan 2020 16:23:13 -0500 Subject: [PATCH 2/3] Create svg favicon --- src/assets/favicon.svg | 4 ++++ src/views/template.js | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 src/assets/favicon.svg diff --git a/src/assets/favicon.svg b/src/assets/favicon.svg new file mode 100644 index 0000000..7e53386 --- /dev/null +++ b/src/assets/favicon.svg @@ -0,0 +1,4 @@ + + oasis favicon + 🏝️ + diff --git a/src/views/template.js b/src/views/template.js index b35a77b..fbbb323 100644 --- a/src/views/template.js +++ b/src/views/template.js @@ -23,10 +23,11 @@ module.exports = (...elements) => { const nodes = html({ lang: 'en' }, head( - title('🏝️ Oasis'), + title('Oasis'), link({ rel: 'stylesheet', href: '/theme.css' }), link({ rel: 'stylesheet', href: '/assets/style.css' }), link({ rel: 'stylesheet', href: '/assets/highlight.css' }), + link({ rel: 'icon', type: 'image/svg+xml', href: '/assets/favicon.svg' }), meta({ charset: 'utf-8' }), meta({ name: 'description', From fffa82724428f6d319dd75c1ac0a2eea9d6dbb06 Mon Sep 17 00:00:00 2001 From: Cinnamon Date: Wed, 22 Jan 2020 15:19:00 -0800 Subject: [PATCH 3/3] Add help text in Meta about peer connections --- src/views/index.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/views/index.js b/src/views/index.js index e228ea1..b931c04 100644 --- a/src/views/index.js +++ b/src/views/index.js @@ -225,11 +225,13 @@ exports.metaView = ({ status, peers, theme, themeNames }) => { button({ type: 'submit' }, 'set theme')), base16Elements, h2('Status'), - h3('Indexes'), - progressElements, + h3('Peer Connections 💻⚡️💻'), + p('Your computer is syncing data with these other computers. It will connect to any scuttlebutt pub and peer it can find, even if you have no relationship with them, as it looks for data from your friends.'), peerList.length > 0 - ? [h3('Peers'), ul(peerList)] - : null + ? ul(peerList) + : code('no peers connected'), + h3('Indexes'), + progressElements ) ) }