Commit graph

15 commits

Author SHA1 Message Date
crbon
c3332552d7 refactor(link): simplify LinkEditForm state management and improve slug handling
- Removed unnecessary useEffect for slug initialization and replaced it with a more efficient state setup.
- Updated handleSubmit to conditionally include the slug in the payload based on link creation or modification.
- Enhanced form handling by utilizing watch for dynamic slug updates and improved validation messages for slug input.
2026-01-22 17:27:46 +10:00
crbon
0471c6b452 feat(link): update LinkEditForm to use localized labels for Open Graph fields
- Replaced static labels in LinkEditForm with localized messages for ogTitle, ogDescription, and ogImageUrl.
- Added a new label for imageUrl in the messages file to support localization.
2026-01-22 13:42:48 +10:00
crbon
2c91d4e68d feat(link): enhance LinkEditForm with advanced Open Graph fields toggle
- Added a toggle for advanced settings in the LinkEditForm to show/hide Open Graph fields (ogTitle, ogDescription, ogImageUrl).
- Updated the form to initialize these fields with default values if available.
- Introduced a new label for the advanced section in the messages file.

This enhancement improves user experience by allowing users to manage Open Graph metadata more efficiently.
2026-01-21 17:25:29 +10:00
crbon
e295fca187 feat(link): add Open Graph fields for enhanced link sharing
- Introduced ogTitle, ogDescription, and ogImageUrl fields in the Link model for improved social media previews.
- Updated the database schema to accommodate new Open Graph fields.
- Modified link creation and editing forms to include inputs for Open Graph metadata.
- Enhanced the GET route to serve Open Graph metadata for bots.

This update allows for better customization of shared links, improving their presentation on social media platforms.
2026-01-21 15:24:54 +10:00
crbon
b915f15ed9 feat(analytics): add custom metadata support for shared links
- Add custom title field for user-defined link names
- Implement custom OG image URL input for social media previews
- Enable Open Graph metadata customization (description, type, etc.)
- Add link slug/path customization for personalized URLs
- Update link creation form with new metadata fields
- Extend database schema to store custom link properties
- Add validation for OG image URLs and metadata inputs

This allows users to fully customize their shared analytics links with
custom titles, Open Graph images, and other metadata for better social
media presentation and link management.
2026-01-08 14:43:41 +10:00
Mike Cao
fa8d8055df Reformatted files with biome. 2025-11-22 22:42:42 -08:00
Mike Cao
6faf16e9aa Convert all mutate to mutateAsync. 2025-09-22 22:39:25 -07:00
Mike Cao
bf16ade184 Updated icons. 2025-09-22 20:11:31 -07:00
Mike Cao
9897c725de Updated cloud mode checks. 2025-09-22 13:09:07 -07:00
Mike Cao
fc01ee9f56 Get localized error messages. 2025-09-14 23:43:22 -07:00
Mike Cao
f40e1b44f3 Updates for cloud mode.
Some checks failed
Node.js CI / build (postgresql, 18.18) (push) Has been cancelled
2025-09-04 20:27:42 -07:00
Mike Cao
56af91950a Updated components build. 2025-09-01 15:59:06 -07:00
Mike Cao
8e766e2db7 Pixel/link metrics pages. 2025-08-21 01:33:20 -07:00
Mike Cao
5f4b83b09c Link editing. 2025-08-15 11:11:24 -07:00
Mike Cao
88639dfe83 New schema for pixels and links. 2025-08-13 20:27:54 -07:00