4 Commits

Author SHA1 Message Date
325abd1ab5 feat: implement new store architecture for authentication and post management, replacing Bloc with Store pattern
Some checks failed
Frontend CI / build (push) Failing after 55s
2025-10-15 02:57:51 +08:00
d569f35bc1
feat: implement create post functionality with dialog and API integration
Some checks failed
Frontend CI / build (push) Failing after 57s
2025-10-14 20:50:06 +08:00
de2099011b BLOG-127 Image management (upload) (#138)
All checks were successful
Frontend CI / build (push) Successful in 1m37s
### Description

- Implement the frontend to upload image.
- It will copy the image URL when uploaded.

### Package Changes

```json
{
		"@internationalized/date": "^3.10.0",
		"@lucide/svelte": "^0.544.0",
		"bits-ui": "^2.11.5",
		"mode-watcher": "^1.1.0",
		"svelte-sonner": "^1.0.5"
}
```

### Screenshots

|Scenario|Screenshot|
|-|-|
|Dialog|![截圖 2025-10-14 凌晨2.16.13.png](/attachments/8b38b87f-7f17-4e31-adc1-cb9660501e87)|
|Empty file or invalid format|![截圖 2025-10-14 凌晨2.17.12.png](/attachments/950cebd0-ae6b-4f2b-a821-6d7366e8ae57)|
|Success|![截圖 2025-10-14 凌晨2.17.32.png](/attachments/938d8669-598f-4dba-b1ce-24d5f9ae390a)|
|Error|![截圖 2025-10-14 凌晨2.18.52.png](/attachments/b35048e6-e012-498b-be77-1f1793b87038)|

### Reference

Resolves #127.

### Checklist

- [x] A milestone is set
- [x] The related issuse has been linked to this branch

Reviewed-on: #138
Co-authored-by: SquidSpirit <squid@squidspirit.com>
Co-committed-by: SquidSpirit <squid@squidspirit.com>
2025-10-14 02:23:06 +08:00
e8c5e678d5 BLOG-136 Dashboard route and frontend authentication (#137)
All checks were successful
Frontend CI / build (push) Successful in 1m23s
### Description

- Create a dashboard layout (with a navigation sidebar)
- Only logged in users are able to access (others 404)

### Package Changes

> shadcn-svelte

```json
{
  "@lucide/svelte": "^0.545.0",
  "clsx": "^2.1.1",
  "tailwind-merge": "^3.3.1",
  "tailwind-variants": "^3.1.1",
  "tw-animate-css": "^1.4.0"
}
```

### Screenshots

|Status|Screenshot|
|-|-|
|Logged in|![image.png](/attachments/5d5fc3b9-c15f-43b8-8201-dedeef3c3fb9)|
|Logged out|![image.png](/attachments/29683c9f-395c-4dd8-892f-dc21df2dd0cc)|

### Reference

Resolves #136.

### Checklist

- [x] A milestone is set
- [x] The related issuse has been linked to this branch

Reviewed-on: #137
Co-authored-by: SquidSpirit <squid@squidspirit.com>
Co-committed-by: SquidSpirit <squid@squidspirit.com>
2025-10-13 20:33:36 +08:00