Commit graph

211 commits

Author SHA1 Message Date
面条
4e95c13bf0
Merge pull request #119 from MineraleYT/dev
Feat: add sort functionality for links
2025-03-16 11:22:38 +08:00
面条
f8130d731d
Merge pull request #117 from 7heMech/patch-1
Better qr styling
2025-03-16 11:19:45 +08:00
ccbikai
b5963268eb Merge branch 'i18n' into dev 2025-03-16 11:17:43 +08:00
ccbikai
e7b22a497b refactor: optimize language switcher and header layout
- Extracts language switcher into separate component
- Updates locale display to use country flag emojis
- Improves header responsiveness and spacing
- Removes embedded i18n logic for better separation of concerns
- Adjusts menu items alignment and margins for better visual balance
2025-03-16 11:17:32 +08:00
ccbikai
17c1c8747e Merge branch 'master' into i18n 2025-03-16 11:02:00 +08:00
ccbikai
e909922a5a chore: decrease preview link validity to 5 minutes
Reduces the preview link time-to-live from 24 hours to 5 minutes for improved security. Updates related user-facing message in the dashboard editor to reflect this change.
2025-03-12 20:10:32 +08:00
面条
81838bb541
Merge pull request #118 from WuChenDi/master
feat: Add internationalization (i18n) support
2025-03-10 21:15:40 +08:00
wudi
e563d55852 feat: Add internationalization (i18n) support
Implemented multi-language support for the application:
- Added @nuxtjs/i18n plugin configuration
- Created locale files for English (en-US) and Chinese (zh-CN)
- Updated components to use translation keys
- Added language switcher in header
- Configured VSCode i18n-ally settings
- Prepared translation infrastructure for future language expansions
2025-03-03 11:21:39 +08:00
MinerAle
a68a7430f2 fix: Update sorting logic for links to use createdAt property directly 2025-03-02 22:18:21 +01:00
MinerAle
a0aa7c43bc feat: Implement sorting options for links in dashboard 2025-03-02 22:06:47 +01:00
7heMech
7bd6461814 fix styling of qr 2025-03-02 21:00:27 +00:00
MinerAle
33c2631aa7 Drop Down menu 2025-03-02 21:53:22 +01:00
MinerAle
e0b6ffd62b feat: Add sorting options for links in dashboard 2025-03-02 21:45:43 +01:00
MinerAle
c478373970
Merge pull request #4 from MineraleYT/qrcode
Sync changes
2025-03-02 21:18:59 +01:00
ccbikai
31731c5bed Merge branch 'preview' 2025-03-02 19:17:05 +08:00
ccbikai
e9c78f0157 Merge branch 'dev' into preview 2025-03-02 19:16:52 +08:00
面条
ef631b485a
feat: Add QR code download button
Add QR code download button
2025-03-02 19:13:36 +08:00
ccbikai
9e8aac7448 chore(deps): bump version from 0.1.8 to 0.1.9 2025-03-02 18:20:54 +08:00
ccbikai
063ec2a711 Merge branch 'preview' 2025-03-02 18:18:43 +08:00
ccbikai
8169f8a973 Merge branch 'dev' into preview 2025-03-02 18:12:04 +08:00
ccbikai
77988a5381 Merge branch 'filter' into dev 2025-03-02 18:11:45 +08:00
ccbikai
9b6f33de88 feat: add viewport meta and enhance filter styling
Adds viewport meta tag with mobile-specific settings to improve responsive behavior

- Disables user scaling for better mobile experience
- Adjusts filter component padding and text styles
- Removes redundant font-normal class
2025-03-02 18:10:50 +08:00
ccbikai
67c588eb12 feat: add mobile-responsive drawer for search & filters
Replaces desktop-only popover components with responsive alternatives:
- Adds drawer component for mobile view using vaul-vue
- Extracts shared templates for reusability
- Adjusts layout and height based on viewport size
- Maintains desktop popover behavior on larger screens

Improves mobile user experience while preserving desktop functionality
2025-03-02 15:56:20 +08:00
ccbikai
6070f2f5c3 feat: add virtual scroll to links dropdown
Enhances dropdown performance by implementing virtual scrolling with VList from virtua/vue library. This optimization improves rendering efficiency for large link lists by only rendering visible items.
2025-03-02 14:33:47 +08:00
ccbikai
dd7b898a11 feat: implement URL state persistence for dashboard
Adds URL search params synchronization for dashboard filters and date range
- Stores selected date range in URL for restoration on page reload
- Removes old Filter component in favor of new implementation
- Preserves filter state across page navigation

This change improves user experience by maintaining dashboard state through browser navigation and page reloads.
2025-03-02 14:19:40 +08:00
ccbikai
1eb22503e6 fix: enable multiple filter values via comma separator
Updates query filter to support multiple values by splitting on commas.
Removes debug logging statement for cleaner code.

The change allows for more flexible query filtering by accepting
comma-separated values instead of single values only.
2025-03-02 13:47:50 +08:00
ccbikai
2a6b875bdb feat: consolidate time filtering and add advanced filters
Refactors time-based filtering by combining startAt/endAt into a single time object
Adds support for additional filter types in stats API queries
Implements deep watching for both time and filter changes

Improves code organization and maintainability while enabling more flexible data filtering
2025-03-02 13:40:43 +08:00
MinerAle
ba4844c62f
Merge pull request #3 from MineraleYT:qrcode
Add color picker and simplify QR code component
2025-02-27 08:35:13 +01:00
MinerAle
9b9814110c
Merge pull request #2 from MineraleYT:qr-color
Add color picker to customize QR code appearance
2025-02-27 08:34:14 +01:00
MinerAle
9a9975c6a9 refactor: remove icon toggle functionality and simplify QR code component 2025-02-27 08:29:35 +01:00
MinerAle
1d04e199ce feat: add icon toggle and color picker to QR code component 2025-02-27 08:21:51 +01:00
MinerAle
3d5c4b0dd4 feat: add color picker to customize QR code appearance 2025-02-27 08:11:31 +01:00
MinerAle
ce18b5eae3 Removed the api modification for the qrcode pull request 2025-02-24 21:19:33 +01:00
MinerAle
f562ef0bab
Merge pull request #1 from MineraleYT/qrcode
Add QR code download button
2025-02-24 21:13:28 +01:00
MinerAle
c1c84ab0f9 fix: update QR code download filename format to use slug instead of full URL 2025-02-24 21:05:56 +01:00
MinerAle
c4626101d5 feat: add download button for QR code in dashboard links 2025-02-24 21:00:47 +01:00
MinerAle
3e9f3bb02d fix: enhance slug generation to fallback to default if length is not specified 2025-02-17 11:48:00 +01:00
MinerAle
69018f0ed5 feat: generate default slug lenght if not provided in link creation using api 2025-02-16 20:24:40 +01:00
ccbikai
ab4fc66da9 Merge branch 'preview' 2025-02-08 21:05:21 +08:00
ccbikai
4eba7cc37d Merge branch 'dev' into preview 2025-02-08 20:24:40 +08:00
ccbikai
466e259de9 Merge branch 'dev' of github.com:ccbikai/Sink into dev 2025-02-08 20:22:37 +08:00
ccbikai
16ca5a1f06 fix: correct link creation event emission
Differentiates between 'edit' and 'create' events in link editor.
Updates the emit event to properly handle new link creation scenarios.
2025-02-08 20:22:21 +08:00
面条
c7321a1af2
Merge pull request #108 from dpi0/patch-1
docs: update KV Namespace setting path & add docs URL
2025-02-08 20:21:47 +08:00
面条
dbba560750
Merge pull request #105 from 7heMech/patch-1
Fix duplicates on edit
2025-02-08 20:18:30 +08:00
divyansh
093a9f7e41
docs: update KV Namespace setting path & add docs URL 2025-01-20 14:21:36 +05:30
7heMech
8d647ce39b
Fix duplicates on edit 2025-01-12 14:38:33 +02:00
面条
8731baa302
docs: Uneed 1st 2025-01-10 19:00:11 +08:00
ccbikai
8beff2ea7d 0.1.8 2024-12-29 21:12:55 +08:00
ccbikai
111af7b008 Merge remote-tracking branch 'origin/preview' 2024-12-29 21:11:53 +08:00
面条
d4ffda21b0
docs: add uneed badge 2024-12-26 18:40:15 +08:00