Skip to content

Commit

Permalink
chore: 1. fix UX issue; 2. update ic_message_frontend dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
zensh committed Nov 18, 2024
1 parent 600dfc4 commit 32598cc
Show file tree
Hide file tree
Showing 14 changed files with 681 additions and 54 deletions.
691 changes: 659 additions & 32 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions src/ic_message_frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"@skeletonlabs/skeleton": "^2.10.3",
"@skeletonlabs/tw-plugin": "^0.4.0",
"@sveltejs/adapter-static": "^3.0.6",
"@sveltejs/kit": "^2.8.0",
"@sveltejs/vite-plugin-svelte": "^4.0.0",
"@sveltejs/kit": "^2.8.1",
"@sveltejs/vite-plugin-svelte": "^4.0.1",
"@tailwindcss/forms": "^0.5.9",
"@testing-library/jest-dom": "^6.6.3",
"@types/eslint": "^9.6.1",
Expand All @@ -36,7 +36,7 @@
"cross-fetch": "^4.0.0",
"cssnano": "^7.0.6",
"dotenv": "^16.4.5",
"eslint": "^9.14.0",
"eslint": "^9.15.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-prettier": "^5.2.1",
Expand All @@ -51,17 +51,17 @@
"sort-package-json": "^2.10.1",
"stylelint": "^16.10.0",
"stylelint-config-standard": "^36.0.1",
"svelte": "^5.1.15",
"svelte-check": "^4.0.7",
"svelte": "^5.2.2",
"svelte-check": "^4.0.9",
"svelte-easy-crop": "^3.0.1",
"tailwindcss": "^3.4.14",
"tailwindcss": "^3.4.15",
"ts-node": "^10.9.2",
"tslib": "^2.8.1",
"typescript": "^5.6.3",
"vite": "^5.4.11",
"vite-plugin-environment": "^1.1.3",
"vite-plugin-pwa": "^0.20.5",
"vitest": "^2.1.4",
"vite-plugin-pwa": "^0.21.0",
"vitest": "^2.1.5",
"workbox-core": "^7.3.0",
"workbox-expiration": "^7.3.0",
"workbox-precaching": "^7.3.0",
Expand All @@ -82,5 +82,5 @@
"test": "vitest run"
},
"type": "module",
"version": "2.6.8"
"version": "2.6.9"
}
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@

<form
class="m-auto !mt-4 flex flex-col content-center"
onchange={onFormChange}
oninput={onFormChange}
use:focusTrap={true}
>
<div class="relative">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@

<form
class="m-auto !mt-4 flex flex-col content-center"
onchange={onFormChange}
oninput={onFormChange}
>
<div class="relative">
<input
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@
await myState.agent.setUploadingFile(
channelInfo.canister,
channelInfo.id,
filePayload
$state.snapshot(filePayload)
)
}, toastStore).finally(() => {
uploading = null
Expand Down Expand Up @@ -756,7 +756,7 @@
<input
type="file"
bind:this={fileInput}
onchange={onUploadChangeHandler}
oninput={onUploadChangeHandler}
/>
</div>
<button
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@

<form
class="m-auto !mt-4 flex flex-col content-center"
onchange={onFormChange}
oninput={onFormChange}
use:focusTrap={true}
>
<div class="relative">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@

<form
class="m-auto !mt-4 flex flex-col content-center"
onchange={onFormChange}
oninput={onFormChange}
use:focusTrap={true}
>
<div class="relative">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@
>
<form
class="m-auto !mt-4 flex flex-col content-center"
onchange={onFormChange}
oninput={onFormChange}
use:focusTrap={true}
>
<input
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@

<form
class="m-auto !mt-4 flex flex-col content-center"
onchange={onFormChange}
oninput={onFormChange}
>
<div class="relative">
<div
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@

<form
class="m-auto !mt-4 flex flex-col content-center"
onchange={onFormChange}
oninput={onFormChange}
use:focusTrap={true}
>
<div class="relative">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@

<form
class="m-auto !mt-4 flex flex-col content-center"
onchange={onFormChange}
oninput={onFormChange}
>
<div class="relative mt-4">
<input
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
{#if stepN === 0}
<div class="flex w-full flex-col gap-4">
<!-- Enable for debugging: -->
<form class="flex flex-col" bind:this={formRef} onchange={onFormChange}>
<form class="flex flex-col" bind:this={formRef} oninput={onFormChange}>
<label class="label">
<span>Send to destination</span>
<input
Expand Down
2 changes: 1 addition & 1 deletion src/ic_message_frontend/src/lib/constants.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const src = globalThis.location?.href || ''

export const APP_VERSION = '2.6.8'
export const APP_VERSION = '2.6.9'
export const IS_LOCAL = src.includes('localhost') || src.includes('127.0.0.1')
export const ENV = IS_LOCAL ? 'local' : 'ic'
export const APP_ORIGIN = IS_LOCAL
Expand Down
2 changes: 1 addition & 1 deletion src/ic_message_frontend/src/routes/(app)/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@

<div class="landing-page w-full">
<div
class="pandas-backgroud flex w-full max-w-[1800px] flex-col items-center pt-12 md:pt-24"
class="pandas-backgroud mx-auto flex w-full max-w-[1800px] flex-col items-center pt-12 md:pt-24"
>
<Saos
animation="scale-down-center 0.6s cubic-bezier(0.250, 0.460, 0.450, 0.940) both"
Expand Down

0 comments on commit 32598cc

Please sign in to comment.