Commit graph

47 commits

Author SHA1 Message Date
f380397f71 fix(add property): edit ItemsList component to save auto-populated items immediately and invalidate queries after all operations are complete 2025-07-16 17:15:04 +03:00
90abad12b9 fix(PropertyInput): improve blur handling and suggestion click event handling 2025-07-16 15:27:57 +03:00
e42eec5dc1 fix(properties): resolve property persistence issues in ItemsList component
- Add query invalidation after successful property addition to database
- Persist auto-populated Wikidata values by saving updated items to database
- Ensure UI state stays synchronized with database state after property operations

Fixes issues where:
- Properties would disappear after being added
- Auto-populated values from Wikidata would not persist across reloads
- Inconsistent behavior between local state and database state
2025-07-15 19:54:20 +03:00
946416e6e6 feat(ItemsList, TypeaheadInput): streamline item update logic and improve suggestion handling 2025-07-10 17:50:56 +03:00
99a0d221ba feat(TypeaheadInput): implement dark mode detection and theme-aware styling 2025-07-09 16:04:07 +03:00
c31b195b5e feat(ItemsList): add item content validation and improve row management logic 2025-07-09 15:38:28 +03:00
f616d73826 feat(API, database): improve DELETE and GET property handling and enhance logging and error messages 2025-07-04 17:35:47 +03:00
23e9c4a621 docs(README): add quick start instructions for easier setup 2025-07-04 15:41:46 +03:00
dfad78a0ca feat(ItemsList, database): enhance item update logic with validation and improved error handling 2025-07-03 17:04:08 +03:00
887815c7da feat(ItemsList): enhance item saving logic with validation and error handling 2025-07-03 16:34:40 +03:00
d480495715 feat(Wikidata API): implement endpoints for fetching property labels, properties, and suggestions 2025-07-03 16:34:26 +03:00
c5380c0661 feat(ItemsList): remove header from items list component 2025-07-02 15:06:37 +03:00
477cf3310f chore(db): remove prisma/dev.db from version control 2025-06-30 16:49:56 +03:00
8c9b7d84ca feat(ItemsList): enhance table layout to matxh wireframe and improve item deletion UI 2025-06-30 16:26:25 +03:00
5f5d8f00d9 feat(EditableCell): improve handling of external updates and user input 2025-06-27 16:52:46 +03:00
afc70a56ba feat(ItemsList): reset focus state when URL changes 2025-06-27 16:42:50 +03:00
109377f083 feat(UrlPage): add encoded url pages 2025-06-27 14:44:09 +03:00
95adee9710 feat(TypeaheadInput): implement portal-based dropdown for suggestions with dynamic positioning 2025-06-24 14:06:09 +03:00
e32dc05999 feat(ItemsList): improve property addition validation 2025-06-21 03:02:15 +03:00
16b892b0e2 feat(ItemsList): enhance addProperty function with error handling and logging 2025-06-20 18:14:45 +03:00
c6a90805af feat(PropertyInput): add new component for managing property input and suggestions 2025-06-20 18:06:00 +03:00
fa65fb666b feat(EditableCell): enhance handling of external updates and focus behavior 2025-06-20 18:05:36 +03:00
e1992af634 feat(TypeaheadInput): enhance external update handling and suggestion management 2025-06-20 18:04:51 +03:00
b0a8271040 docs(readme): improve formatting and structure of setup instructions 2025-06-19 15:43:27 +03:00
2b4a8050d7 chore(gitignore): update .gitignore to include database files and clean up formatting 2025-06-19 15:39:32 +03:00
35e565467f style(css): edit globals.css to enhance theming and accessibility with CSS variables and responsive design 2025-06-19 15:39:07 +03:00
862c2587c1 feat(provider): add QueryProvider for managing React Query client and devtools 2025-06-19 15:38:12 +03:00
0432164522 feat(layout): update RootLayout to use Inter font and enhance metadata for CompareWare 2025-06-19 15:37:46 +03:00
79b90e770b feat(page): implement loading spinner and error boundary for ItemsList component 2025-06-19 15:35:34 +03:00
6096cc0670 feat(component): implement ItemsList component for managing and displaying items with editable properties 2025-06-19 15:34:36 +03:00
dcac90109f feat(component): add TypeaheadInput component for enhanced text input with suggestion dropdown 2025-06-19 15:32:51 +03:00
f75db7e3bd feat(component): add EditableCell component for inline editing of text and textarea inputs 2025-06-19 15:32:14 +03:00
007abefed2 docs(README): update README to enhance installation and setup instructions 2025-06-19 15:19:12 +03:00
7dbed7cc34 build(deps): update @tanstack/react-query and add @tanstack/react-query-devtools 2025-06-19 14:55:47 +03:00
7b9977db6b feat(api): implement DELETE endpoint for removing specific properties by URL 2025-06-19 14:50:09 +03:00
ff0f252389 feat(api): add GET and POST endpoints for managing properties associated with a URL 2025-06-19 14:49:19 +03:00
c03d01d9c8 feat(api): implement DELETE endpoint for removing specific items by URL 2025-06-19 14:48:37 +03:00
b90590f9a5 feat(api): implement GET and POST endpoints for managing items associated with a specific URL 2025-06-19 14:48:08 +03:00
4366678935 feat(api): implement ApiClient class with CRUD operations and error handling 2025-06-19 14:45:59 +03:00
ecc4e4da1c feat(api): add TypeScript types for API requests and responses 2025-06-19 14:44:02 +03:00
50d735ae5d feat(database): implement CRUD operations for URLs and items with transaction support 2025-06-18 14:24:38 +03:00
74c3c7a805 feat(database): add TypeScript interfaces for database models and API responses 2025-06-18 14:24:07 +03:00
c7dc18f7b2 feat(package): update dependencies and add database scripts 2025-06-18 14:23:25 +03:00
6c90888b1f feat(prisma): implement Prisma client setup and database utility functions 2025-06-18 14:22:48 +03:00
fe92d175a6 feat(prisma): define models for Url, Property, Item, ItemProperty, SelectedProperty, and DeletedProperty 2025-06-18 14:22:17 +03:00
d171cf7b62 build(prisma): add Prisma setup and update dependencies 2025-06-17 15:05:59 +03:00
08f9d13f66 Initial commit from Create Next App 2025-06-16 18:52:12 +03:00