Skip to content

Commit

Permalink
add release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
soapdog committed Oct 5, 2021
1 parent f6a79c8 commit 53878b4
Show file tree
Hide file tree
Showing 5 changed files with 100 additions and 38 deletions.
64 changes: 33 additions & 31 deletions dist/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -117338,7 +117338,7 @@ function add_css(target) {
append_styles(target, "svelte-1kmc4x", ".file-on-top.svelte-1kmc4x{border:solid 2px rgb(26, 192, 11)}input[type=\"file\"].svelte-1kmc4x{display:none}");
}

// (206:2) {#if fork}
// (208:2) {#if fork}
function create_if_block_11(ctx) {
let div;
let t0;
Expand All @@ -117365,7 +117365,7 @@ function create_if_block_11(ctx) {
};
}

// (209:2) {#if msg}
// (211:2) {#if msg}
function create_if_block_9(ctx) {
let if_block_anchor;

Expand Down Expand Up @@ -117406,7 +117406,7 @@ function create_if_block_9(ctx) {
};
}

// (212:4) {:else}
// (214:4) {:else}
function create_else_block_2(ctx) {
let div1;
let div0;
Expand Down Expand Up @@ -117449,7 +117449,7 @@ function create_else_block_2(ctx) {
};
}

// (210:4) {#if error}
// (212:4) {#if error}
function create_if_block_10(ctx) {
let div;
let t;
Expand All @@ -117473,7 +117473,7 @@ function create_if_block_10(ctx) {
};
}

// (290:2) {:else}
// (292:2) {:else}
function create_else_block_1(ctx) {
let div5;
let h2;
Expand Down Expand Up @@ -117558,8 +117558,8 @@ function create_else_block_1(ctx) {

if (!mounted) {
dispose = [
listen(button0, "click", /*click_handler*/ ctx[27]),
listen(button1, "click", /*post*/ ctx[15])
listen(button0, "click", /*click_handler*/ ctx[28]),
listen(button1, "click", /*post*/ ctx[16])
];

mounted = true;
Expand Down Expand Up @@ -117600,7 +117600,7 @@ function create_else_block_1(ctx) {
};
}

// (228:2) {#if !showPreview}
// (230:2) {#if !showPreview}
function create_if_block(ctx) {
let div3;
let div0;
Expand Down Expand Up @@ -117713,14 +117713,14 @@ function create_if_block(ctx) {

if (!mounted) {
dispose = [
listen(input0, "input", /*input0_input_handler*/ ctx[23]),
listen(textarea, "dragover", stop_propagation(prevent_default(/*dragOver*/ ctx[17]))),
listen(textarea, "dragleave", stop_propagation(prevent_default(/*dragLeave*/ ctx[18]))),
listen(textarea, "input", /*textarea_input_handler*/ ctx[25]),
listen(button0, "click", /*toggleContentWarning*/ ctx[21]),
listen(input1, "input", /*attachFile*/ ctx[20]),
listen(button1, "click", /*attachFileTrigger*/ ctx[19]),
listen(button2, "click", /*preview*/ ctx[16])
listen(input0, "input", /*input0_input_handler*/ ctx[24]),
listen(textarea, "dragover", stop_propagation(prevent_default(/*dragOver*/ ctx[18]))),
listen(textarea, "dragleave", stop_propagation(prevent_default(/*dragLeave*/ ctx[19]))),
listen(textarea, "input", /*textarea_input_handler*/ ctx[26]),
listen(button0, "click", /*toggleContentWarning*/ ctx[22]),
listen(input1, "input", /*attachFile*/ ctx[21]),
listen(button1, "click", /*attachFileTrigger*/ ctx[20]),
listen(button2, "click", /*preview*/ ctx[17])
];

mounted = true;
Expand Down Expand Up @@ -117804,7 +117804,7 @@ function create_if_block(ctx) {
};
}

// (294:6) {#if channel || root || branch || contentWarning.length > 0}
// (296:6) {#if channel || root || branch || contentWarning.length > 0}
function create_if_block_4(ctx) {
let t0;
let t1;
Expand Down Expand Up @@ -117902,7 +117902,7 @@ function create_if_block_4(ctx) {
};
}

// (295:10) {#if channel}
// (297:10) {#if channel}
function create_if_block_8(ctx) {
let p;
let b;
Expand Down Expand Up @@ -117939,7 +117939,7 @@ function create_if_block_8(ctx) {
};
}

// (301:10) {#if root}
// (303:10) {#if root}
function create_if_block_7(ctx) {
let p;
let b;
Expand Down Expand Up @@ -117969,7 +117969,7 @@ function create_if_block_7(ctx) {
};
}

// (307:10) {#if branch}
// (309:10) {#if branch}
function create_if_block_6(ctx) {
let p;
let b;
Expand Down Expand Up @@ -117999,7 +117999,7 @@ function create_if_block_6(ctx) {
};
}

// (313:10) {#if contentWarning.length > 0}
// (315:10) {#if contentWarning.length > 0}
function create_if_block_5(ctx) {
let p;
let b;
Expand Down Expand Up @@ -118029,7 +118029,7 @@ function create_if_block_5(ctx) {
};
}

// (240:6) {#if branch}
// (242:6) {#if branch}
function create_if_block_2(ctx) {
let div;
let label;
Expand Down Expand Up @@ -118083,7 +118083,7 @@ function create_if_block_2(ctx) {
current = true;

if (!mounted) {
dispose = listen(input, "input", /*input_input_handler*/ ctx[24]);
dispose = listen(input, "input", /*input_input_handler*/ ctx[25]);
mounted = true;
}
},
Expand Down Expand Up @@ -118138,11 +118138,11 @@ function create_if_block_2(ctx) {
};
}

// (252:8) {:else}
// (254:8) {:else}
function create_else_block(ctx) {
let spinner;
let current;
spinner = new Spinner({});
spinner = new /*Spinner*/ ctx[15]({});

return {
c() {
Expand All @@ -118168,7 +118168,7 @@ function create_else_block(ctx) {
};
}

// (250:8) {#if branchedMsg}
// (252:8) {#if branchedMsg}
function create_if_block_3(ctx) {
let messagerenderer;
let current;
Expand Down Expand Up @@ -118202,7 +118202,7 @@ function create_if_block_3(ctx) {
};
}

// (273:8) {#if showContentWarningField}
// (275:8) {#if showContentWarningField}
function create_if_block_1(ctx) {
let input;
let mounted;
Expand All @@ -118221,7 +118221,7 @@ function create_if_block_1(ctx) {
set_input_value(input, /*contentWarning*/ ctx[7]);

if (!mounted) {
dispose = listen(input, "input", /*input_input_handler_1*/ ctx[26]);
dispose = listen(input, "input", /*input_input_handler_1*/ ctx[27]);
mounted = true;
}
},
Expand Down Expand Up @@ -118354,6 +118354,7 @@ function instance($$self, $$props, $$invalidate) {
const { slide } = require("svelte/transition");
const AvatarChip = require("../../core/components/AvatarChip.svelte");
const MessageRenderer = require("../../core/components/MessageRenderer.svelte");
const Spinner = require("../../core/components/Spinner.svelte");
const { getPref } = require("../../core/kernel/prefs.js");
const pull = require("pull-stream");
const fileReader = require("pull-file-reader");
Expand Down Expand Up @@ -118558,7 +118559,7 @@ function instance($$self, $$props, $$invalidate) {
if ('branch' in $$props) $$invalidate(0, branch = $$props.branch);
if ('channel' in $$props) $$invalidate(1, channel = $$props.channel);
if ('content' in $$props) $$invalidate(2, content = $$props.content);
if ('replyfeed' in $$props) $$invalidate(22, replyfeed = $$props.replyfeed);
if ('replyfeed' in $$props) $$invalidate(23, replyfeed = $$props.replyfeed);
if ('fork' in $$props) $$invalidate(4, fork = $$props.fork);
};

Expand All @@ -118578,6 +118579,7 @@ function instance($$self, $$props, $$invalidate) {
branchedMsg,
slide,
MessageRenderer,
Spinner,
post,
preview,
dragOver,
Expand Down Expand Up @@ -118609,7 +118611,7 @@ class PostCompose extends SvelteComponent {
branch: 0,
channel: 1,
content: 2,
replyfeed: 22,
replyfeed: 23,
fork: 4
},
add_css,
Expand All @@ -118620,7 +118622,7 @@ class PostCompose extends SvelteComponent {

module.exports = PostCompose;

},{"../../core/components/AvatarChip.svelte":659,"../../core/components/MessageRenderer.svelte":668,"../../core/kernel/prefs.js":680,"drag-and-drop-files":101,"pull-file-reader":406,"pull-stream":414,"svelte":573,"svelte/internal":574,"svelte/transition":576,"tributejs":580}],734:[function(require,module,exports){
},{"../../core/components/AvatarChip.svelte":659,"../../core/components/MessageRenderer.svelte":668,"../../core/components/Spinner.svelte":670,"../../core/kernel/prefs.js":680,"drag-and-drop-files":101,"pull-file-reader":406,"pull-stream":414,"svelte":573,"svelte/internal":574,"svelte/transition":576,"tributejs":580}],734:[function(require,module,exports){
const PostCompose = require("./PostCompose.svelte");
const PostCard = require("./PostCard.svelte");

Expand Down
12 changes: 6 additions & 6 deletions dist/docs/packages/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@ These are the packages that Patchfox is loading.
* [blog](/packages/blog/)
* [books](/packages/books/)
* [calendar](/packages/calendar/)
* [errorHandler](/packages/errorHandler/)
* [globalMenu](/packages/globalMenu/)
* [githubIntegration](/packages/githubIntegration/)
* [globalMenu](/packages/globalMenu/)
* [errorHandler](/packages/errorHandler/)
* [contacts](/packages/contacts/)
* [helpMenu](/packages/helpMenu/)
* [hub](/packages/hub/)
* [intercept](/packages/intercept/)
* [launcher](/packages/launcher/)
* [post](/packages/post/)
* [openCollectiveIntegration](/packages/openCollectiveIntegration/)
* [private](/packages/private/)
* [search](/packages/search/)
* [sourcehutIntegration](/packages/sourcehutIntegration/)
* [openCollectiveIntegration](/packages/openCollectiveIntegration/)
* [pub](/packages/pub/)
* [search](/packages/search/)
* [system](/packages/system/)
* [settings](/packages/settings/)
* [vote](/packages/vote/)
* [sourcehutIntegration](/packages/sourcehutIntegration/)
* [settings](/packages/settings/)
* [zine](/packages/zine/)
30 changes: 30 additions & 0 deletions dist/docs/release_notes/2021.10.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Release 2021.10.2

This release is a major overhaul of Patchfox. It is laying the necessary groundwork for Patchfox to support multiple backends — nodejs-based ssb-server, browser-ssb server, go-ssb server — and become a viable main client.

There is comprehensive information about the [ROADMAP on SSB](ssb:message/sha256/Y2iyBckEhcWvxX6a1-9ELeP6wFYD80QNdhvR50V1C7E=), and the tasks have been broken into [discreet issues](https://github.com/soapdog/patchfox/issues) on Github.

Because there is so much going on, the release notes will give at a glance information only.

## Revamped UI with theme support

Every single package has been reworked to support the new design language used in Patchfox. You can now use the little palette at the end of the main navigation bar to switch among the available themes. Your selected theme will be remembered.

> For the developer-curious among you, I replaced the old <i>Spectre2 CSS + Augmented UI CSS</i> based layout with <i>Tailwind CSS + DaisyUI</i>.
## Support Multiple Identities / Connections

This release adds support for using multiple identities and connections with Patchfox. The `settings` package has been enhanced to allow you to add as many identities as you want.

An account switcher is provided in the top-right corner of the UI. Selecting an identity there will open a new tab using that identity.

Developers can now use `ssb.platform` to detect what is the current running backend, and use the `supportedPlatforms` property in the package declaration to make sure the package only loads for supported platforms.

> Be aware that the only supported backend is `nodejs-ssb` at the moment. Trying to add a `go-ssb` or `browser-ssb` identity will work, but connecting to them will not work as expected since the packages have not been patched to handle them. Baby steps, baby steps...
## Fixes & Improvements

* Made packages more backend agnostic by removing direct calls to nodejs-ssb-only features. For cases where this was not possible, made sure they detect what is the current backend before attempting to use such features.
* Provided ways for package developers to flag which backends their package supports, and also detect the running backend at runtime.
* Removed hardcoded occurrences of `localhost` to fetch blobs. Now it uses the same host and port as the _remote_ in settings.
* Small fix to post compose lack of spinner
2 changes: 1 addition & 1 deletion dist/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"description": "Patchfox is a Secure Scuttlebutt client",
"manifest_version": 2,
"name": "Patchfox",
"version": "2021.10.1",
"version": "2021.10.2",
"icons": {
"512": "images/patchfox_pixel_512.png",
"96": "images/patchfox_pixel_96.png",
Expand Down
30 changes: 30 additions & 0 deletions docs/release_notes/2021.10.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Release 2021.10.2

This release is a major overhaul of Patchfox. It is laying the necessary groundwork for Patchfox to support multiple backends — nodejs-based ssb-server, browser-ssb server, go-ssb server — and become a viable main client.

There is comprehensive information about the [ROADMAP on SSB](ssb:message/sha256/Y2iyBckEhcWvxX6a1-9ELeP6wFYD80QNdhvR50V1C7E=), and the tasks have been broken into [discreet issues](https://github.com/soapdog/patchfox/issues) on Github.

Because there is so much going on, the release notes will give at a glance information only.

## Revamped UI with theme support

Every single package has been reworked to support the new design language used in Patchfox. You can now use the little palette at the end of the main navigation bar to switch among the available themes. Your selected theme will be remembered.

> For the developer-curious among you, I replaced the old <i>Spectre2 CSS + Augmented UI CSS</i> based layout with <i>Tailwind CSS + DaisyUI</i>.
## Support Multiple Identities / Connections

This release adds support for using multiple identities and connections with Patchfox. The `settings` package has been enhanced to allow you to add as many identities as you want.

An account switcher is provided in the top-right corner of the UI. Selecting an identity there will open a new tab using that identity.

Developers can now use `ssb.platform` to detect what is the current running backend, and use the `supportedPlatforms` property in the package declaration to make sure the package only loads for supported platforms.

> Be aware that the only supported backend is `nodejs-ssb` at the moment. Trying to add a `go-ssb` or `browser-ssb` identity will work, but connecting to them will not work as expected since the packages have not been patched to handle them. Baby steps, baby steps...
## Fixes & Improvements

* Made packages more backend agnostic by removing direct calls to nodejs-ssb-only features. For cases where this was not possible, made sure they detect what is the current backend before attempting to use such features.
* Provided ways for package developers to flag which backends their package supports, and also detect the running backend at runtime.
* Removed hardcoded occurrences of `localhost` to fetch blobs. Now it uses the same host and port as the _remote_ in settings.
* Small fix to post compose lack of spinner

0 comments on commit 53878b4

Please sign in to comment.