Skip to content

Commit

Permalink
FE version bump and minor copy updates (#2517)
Browse files Browse the repository at this point in the history
version bump and minor copy updates
  • Loading branch information
MattDHill authored Nov 15, 2023
1 parent a1495dd commit 417053a
Show file tree
Hide file tree
Showing 8 changed files with 33 additions and 14 deletions.
4 changes: 2 additions & 2 deletions web/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "startos-ui",
"version": "0.3.5",
"version": "0.3.5.1",
"author": "Start9 Labs, Inc",
"homepage": "https://start9.com/",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion web/patchdb-ui-seed.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": null,
"ack-welcome": "0.3.5",
"ack-welcome": "0.3.5.1",
"marketplace": {
"selected-url": "https://registry.start9.com/",
"known-hosts": {
Expand Down
20 changes: 20 additions & 0 deletions web/projects/ui/src/app/modals/os-welcome/os-welcome.page.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,26 @@
<ion-content class="ion-padding">
<h2>This Release</h2>

<h4>0.3.5.1</h4>
<p class="note-padding">
View the complete
<a
href="https://github.com/Start9Labs/start-os/releases/tag/v0.3.5.1"
target="_blank"
noreferrer
>
release notes
</a>
for more details.
</p>
<h6>Highlights</h6>
<ul class="spaced-list">
<li>Revert perpetual performance mode for quieter fan</li>
<li>Minor bug fixes</li>
</ul>

<h2>Previous 0.3.5.x Releases</h2>

<h4>0.3.5</h4>
<p class="note-padding">
View the complete
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ <h2>Reset Tor</h2>
<ion-label>
<h2>{{ server.zram ? 'Disable' : 'Enable' }} zram</h2>
<p>
Enabling zram may improve server performance, especially on low RAM
devices
Zram creates compressed swap in memory, resulting in faster I/O for
low RAM devices
</p>
</ion-label>
</ion-item>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ export class ExperimentalFeaturesPage {

async presentAlertZram(enabled: boolean) {
const alert = await this.alertCtrl.create({
header: enabled ? 'Confirm' : 'Warning',
header: 'Confirm',
message: enabled
? 'Are you sure you want to disable zram?'
: 'zram on StartOS is experimental. It may increase performance of you server, especially if it is a low RAM device.',
? 'Are you sure you want to disable zram? It provides significant performance benefits on low RAM devices.'
: 'Enable zram? It will only make a difference on lower RAM devices.',
buttons: [
{
text: 'Cancel',
Expand All @@ -82,7 +82,6 @@ export class ExperimentalFeaturesPage {
cssClass: 'enter-click',
},
],
cssClass: enabled ? '' : 'alert-warning-message',
})
await alert.present()
}
Expand Down Expand Up @@ -122,7 +121,7 @@ export class ExperimentalFeaturesPage {

private async toggleZram(enabled: boolean) {
const loader = await this.loadingCtrl.create({
message: enabled ? 'Disabling zram...' : 'Enabling zram',
message: enabled ? 'Disabling zram...' : 'Enabling zram...',
})
await loader.present()

Expand Down
4 changes: 2 additions & 2 deletions web/projects/ui/src/app/services/api/api.fixures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ export module Mock {
'shutting-down': false,
}
export const MarketplaceEos: RR.GetMarketplaceEosRes = {
version: '0.3.5',
version: '0.3.5.1',
headline: 'Our biggest release ever.',
'release-notes': {
'0.3.5': 'Some **Markdown** release _notes_ for 0.3.5',
'0.3.5.1': 'Some **Markdown** release _notes_ for 0.3.5.1',
'0.3.4.4': 'Some **Markdown** release _notes_ for 0.3.4.4',
'0.3.4.3': 'Some **Markdown** release _notes_ for 0.3.4.3',
'0.3.4.2': 'Some **Markdown** release _notes_ for 0.3.4.2',
Expand Down
2 changes: 1 addition & 1 deletion web/projects/ui/src/app/services/api/mock-patch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const mockPatchData: DataModel = {
},
'server-info': {
id: 'abcdefgh',
version: '0.3.5',
version: '0.3.5.1',
'last-backup': new Date(new Date().valueOf() - 604800001).toISOString(),
'lan-address': 'https://adjective-noun.local',
'tor-address': 'https://myveryownspecialtoraddress.onion',
Expand Down

0 comments on commit 417053a

Please sign in to comment.