mirror of
https://github.com/pockethost/pockethost.git
synced 2025-06-22 05:56:42 +00:00
Merge branch 'main' of github.com:pockethost/pockethost
This commit is contained in:
commit
37e94a610c
@ -1,5 +0,0 @@
|
||||
---
|
||||
'pockethost': patch
|
||||
---
|
||||
|
||||
Default to dev mode on new instances
|
@ -1,5 +0,0 @@
|
||||
---
|
||||
'pockethost': patch
|
||||
---
|
||||
|
||||
Add mothership update-versions command
|
@ -1,5 +0,0 @@
|
||||
---
|
||||
'@pockethost/dashboard': patch
|
||||
---
|
||||
|
||||
Add dev mode pulse
|
@ -1,5 +0,0 @@
|
||||
---
|
||||
'@pockethost/dashboard': patch
|
||||
---
|
||||
|
||||
Dashboard fix: Don't allow instance creation until versions are available
|
8
packages/dashboard/CHANGELOG.md
Normal file
8
packages/dashboard/CHANGELOG.md
Normal file
@ -0,0 +1,8 @@
|
||||
# @pockethost/dashboard
|
||||
|
||||
## 0.4.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 148e7bb: Add dev mode pulse
|
||||
- ea113a9: Dashboard fix: Don't allow instance creation until versions are available
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@pockethost/dashboard",
|
||||
"version": "0.4.1",
|
||||
"version": "0.4.2",
|
||||
"private": true,
|
||||
"main": "./src/app.html",
|
||||
"scripts": {
|
||||
|
@ -93,7 +93,7 @@
|
||||
<button
|
||||
type="submit"
|
||||
class="btn btn-error"
|
||||
disabled={!power || isButtonDisabled}>Delete Instance</button
|
||||
disabled={power || isButtonDisabled}>Delete Instance</button
|
||||
>
|
||||
</form>
|
||||
|
||||
|
@ -2,19 +2,12 @@
|
||||
import UserLoggedIn from '$components/guards/UserLoggedIn.svelte'
|
||||
import UserLoggedOut from '$components/guards/UserLoggedOut.svelte'
|
||||
import { onMount } from 'svelte'
|
||||
import { dev } from '$app/environment'
|
||||
import { browser, dev } from '$app/environment'
|
||||
import { is23Available } from '$util/stores'
|
||||
|
||||
const BANNER_KEY = 'promo-banner-v0.23-dismissed'
|
||||
const isActive = $is23Available
|
||||
let isVisible = isActive
|
||||
|
||||
onMount(() => {
|
||||
if (dev) {
|
||||
localStorage.removeItem(BANNER_KEY)
|
||||
}
|
||||
isVisible = isActive && !localStorage.getItem(BANNER_KEY)
|
||||
})
|
||||
$: isActive = $is23Available
|
||||
$: isVisible = isActive && browser && !localStorage.getItem(BANNER_KEY)
|
||||
|
||||
function dismissBanner() {
|
||||
localStorage.setItem(BANNER_KEY, 'true')
|
||||
|
@ -1,5 +1,16 @@
|
||||
# pockethost
|
||||
|
||||
## 2.2.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- v23 support
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- a5eaa42: Default to dev mode on new instances
|
||||
- ed47618: Add mothership update-versions command
|
||||
|
||||
## 2.1.1
|
||||
|
||||
### Patch Changes
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "pockethost",
|
||||
"version": "2.1.1",
|
||||
"version": "2.2.0",
|
||||
"author": {
|
||||
"name": "Ben Allfree",
|
||||
"url": "https://github.com/benallfree"
|
||||
|
@ -82,7 +82,7 @@ const createDevCert = async () => {
|
||||
|
||||
export const createSettings = () => ({
|
||||
DEBUG: mkBoolean(_DEBUG),
|
||||
PH_ALLOWED_POCKETBASE_SEMVER: mkString(`<=0.22.*`),
|
||||
PH_ALLOWED_POCKETBASE_SEMVER: mkString(`<=0.23.*`),
|
||||
|
||||
PH_HOME: mkPath(_PH_HOME, { create: true }),
|
||||
PH_PROJECT_ROOT: mkPath(PH_PROJECT_ROOT()),
|
||||
|
Loading…
x
Reference in New Issue
Block a user