Commit Graph

11 Commits

Author SHA1 Message Date
Thomas Camlong
2863cfd96d chore: lint && format codebase 2025-11-17 10:02:19 +01:00
Thomas Camlong
56289820f0 refactor(submissions): improve submission forms and data table
- Update icon submission forms with better validation
- Enhance advanced submission form with TanStack
- Improve submissions data table functionality
- Update submissions hook for better data management
2025-11-07 08:11:14 +01:00
Thomas Camlong
baa85d4b79 feat: merge metadata.json icons with database icons for validation
- Fetch icons from both community_gallery database AND metadata.json
- Combine both sources to get complete list of existing icons
- Prevent submission of icons that exist in either source
- Ensure comprehensive validation against all known icons
2025-10-13 15:38:12 +02:00
Thomas Camlong
08ff932257 feat: implement PostHog authentication hook
- Create usePostHogAuth hook for automatic user identification
- Add session-based identification tracking to prevent duplicate calls
- Implement proper cleanup of PocketBase auth listeners
- Follow PostHog best practices for identify timing
- Integrate with centralized PostHog utility functions
2025-10-02 16:20:25 +02:00
Thomas Camlong
e31b97f60e feat(hooks): add useExistingIconNames hook and clean up debug logs
- Add new useExistingIconNames hook for fetching community gallery icon names
- Implement proper caching with 5-minute stale time
- Remove debug console.log statements from useSubmissions hook
- Improve code organization and reusability
- Add proper error handling and retry configuration
2025-10-02 15:20:47 +02:00
Thomas Camlong
49aab75953 format code + change env 2025-10-01 19:01:31 +02:00
Thomas Camlong
3b6a8ad39f feat(web): add custom hook for managing icon submissions with React Query 2025-10-01 15:47:19 +02:00
ajnart
d0f8f8ced9 revert: revert changes 2025-04-26 13:07:02 +02:00
Bjorn Lammers
f0e20c2b19 refactor(web): Remove unused components and hooks (#1263)
* Update add_normal_icon.yml

Signed-off-by: Thomas Camlong <thomas@ajnart.fr>

* Update add_normal_icon.yml

Signed-off-by: Thomas Camlong <thomas@ajnart.fr>

* Update add_normal_icon.yml

Signed-off-by: Thomas Camlong <thomas@ajnart.fr>

* change id

* refactor(web): Remove unused components and hooks

---------

Signed-off-by: Thomas Camlong <thomas@ajnart.fr>
Co-authored-by: Thomas Camlong <thomas@ajnart.fr>
2025-04-25 23:22:01 +02:00
Bjorn Lammers
63349f7490 feat(website): enhance website 2025-04-17 18:05:07 +02:00
Thomas Camlong
bfe293f090 feat: Add website (#1157)
Co-authored-by: Bjorn Lammers <bjorn@lammers.media>
2025-04-16 16:18:20 +02:00