Commit Graph

81 Commits

Author SHA1 Message Date
Hein
cc12c0c3b8 fix(Gridler): improve height and width fallback logic 2026-02-11 15:11:13 +02:00
Hein
28ccd8af56 fix(Gridler): update ready state management logic 2026-02-11 14:29:24 +02:00
Hein
3887d08fca fix(Gridler): correct row index calculation logic
* Update row index checks to handle negative values correctly
* Simplify logic for determining row index from API
2026-02-11 14:22:51 +02:00
Hein
afb7a3346f fix: row selection with incorrect values 2026-02-11 11:09:35 +02:00
Hein
580c4b21cd fix: empty key, should no do rownumber call 2026-02-11 10:54:11 +02:00
Hein
a1f34fbf7b fix(Computer): 🐛 improve row selection logic and cleanup
* Refactor row selection to handle first row more efficiently.
* Remove unnecessary checks and console logs for cleaner code.
* Update dependencies for better performance.
2026-02-09 15:13:59 +02:00
Hein
6cb50978d0 fix(Gridler): 🐛 improve state management and cleanup
* Update `askAPIRowNumber` to return `null` or `number` for better type safety.
* Refactor conditionals to ensure proper handling of row indices.
* Clean up console logs for improved readability and performance.
* Ensure consistent formatting across the codebase.
2026-02-09 14:41:49 +02:00
31e46e6bd2 fix(Former): require 'opened' in useFormerStateProps for consistency 2026-02-08 16:21:24 +02:00
02d73254d9 fix(Former): update request type to FormRequestType for consistency 2026-02-08 16:14:14 +02:00
bc5d2d2a4f feat(Former): add useFormerState hook for managing form state 2026-02-08 15:54:35 +02:00
bc422e7d66 fix(api): improve error handling for API requests 2026-02-08 00:20:03 +02:00
8928432fe0 docs(changeset): feat(Former): add keep open functionality and update onClose behavior 2026-02-08 00:12:14 +02:00
00e5a70aef docs(changeset): feat(Former): enhance state management with additional callbacks and state retrieval 2026-02-08 00:05:05 +02:00
210a1d44e7 docs(changeset): feat(GlobalStateStore): add initialization state and update actions 2026-02-07 23:08:52 +02:00
c2113357f2 feat(GlobalStateStore): prevent saving during initial load 2026-02-07 22:54:00 +02:00
2e23b259ab feat(GlobalStateStore): implement storage loading and saving logic 2026-02-07 22:48:12 +02:00
9097e2f1e0 fix(api): response handling in FormerRestHeadSpecAPI 2026-02-07 22:24:39 +02:00
b521d04cd0 refactor(GlobalStateStoreProvider): update type definitions for session handlers 2026-02-07 21:31:16 +02:00
690cb22306 chore(release): bump version to 0.0.34 and update changelog 2026-02-07 21:29:43 +02:00
6edac91ea8 refactor(globalStateStore): simplify exports in index file 2026-02-07 21:15:27 +02:00
d7b1eb26f3 docs(changeset): feat(error-manager): implement centralized error reporting system 2026-02-07 21:11:48 +02:00
f737b1d11d feat(globalStateStore): implement global state management with persistence
- refactor state structure to include app, layout, navigation, owner, program, session, and user
- add slices for managing program, session, owner, user, layout, navigation, and app states
- create context provider for global state with automatic fetching and throttling
- implement persistence using IndexedDB with localStorage fallback
- add comprehensive README documentation for usage and API
2026-02-07 20:03:27 +02:00
Hein
a81d59f3ba refactor(GlobalStateStore): 🔄 remove unused ProgramDataWrapper component 2026-02-02 13:18:40 +02:00
Hein
29d56980b2 feat(global-state-store): implement GlobalStateStore and utils
* Create GlobalStateStore for managing application state.
* Add utility functions for loading and saving state to storage.
* Define types for global state and session management.
* Implement ProgramDataWrapper for fetching and updating program data.
2026-02-02 13:18:33 +02:00
Hein
9a597e35f3 Merge branch 'main' of git.warky.dev:wdevs/oranguru 2026-02-02 13:17:04 +02:00
Hein
9c78dac495 feat(lib): export ErrorBoundary from lib 2026-02-02 13:16:06 +02:00
Hein
a62036bb5a feat(ErrorBoundary): add ReactBasicErrorBoundary and ReactErrorBoundary components
* Implemented ReactBasicErrorBoundary for error handling.
* Created ReactErrorBoundary with enhanced error reporting features.
* Updated index file to export both components.
2026-02-02 13:15:13 +02:00
9414421430 fix: update GridlerStore setState type to accept full state values
fix: change defaultItems type in GlidlerFormAdaptor to use MantineBetterMenuInstanceItem[]

test: update global ResizeObserver and IntersectionObserver mocks to use globalThis

build: change moduleResolution to 'bundler' in tsconfig.app.json

build: add missing newline at end of file in tsconfig.node.json
2026-01-28 21:04:51 +02:00
ce7cf9435a feat(Former): update layout to use buttonArea prop instead of buttonOnTop 2026-01-28 20:07:30 +02:00
Hein
f963b38339 fix(Gridler): 🔧 wrap filter value in parentheses 2026-01-23 11:11:12 +02:00
Hein
ecb90c69aa feat(Gridler): add isValuesInPages method and update state handling
* Introduce isValuesInPages method to check if values exist in paginated data.
* Update state management in GlidlerAPIAdaptorForGoLangv2 to clear values when no pages are found.
2026-01-23 10:57:32 +02:00
Hein
3e460ae46c docs(changeset): fixed Gridler selectFirstRow 2026-01-23 10:13:08 +02:00
Hein
9c64217b72 fix(Computer): update selectFirstRowOnMount logic
* Introduce selectFirstRowOnMount to manage row selection on component mount.
* Update useEffect dependencies to include selectFirstRowOnMount.
* Ensure first row selection logic handles cases where keyField is not defined.
2026-01-23 10:09:59 +02:00
1fb57d3454 feat(Boxer): add @tanstack/react-virtual dependency and enhance Boxer component with improved option handling and ref exposure 2026-01-17 19:33:19 +02:00
a8e9c50290 feat(Boxer): implement Boxer component with autocomplete and server-side support 2026-01-17 18:26:20 +02:00
31f2a0428f feat(components): add InlineWrapper and related styles for improved form handling 2026-01-17 17:29:08 +02:00
9df2f3b504 feat(controllers): add new input and button components
* Introduced ButtonCtrl, IconButtonCtrl, NativeSelectCtrl, PasswordInputCtrl, SwitchCtrl, TextAreaCtrl, TextInputCtrl
* Updated FormerControllers.types.ts to include SpecialIDProps
* Enhanced lib.ts to export new components
2026-01-14 22:42:17 +02:00
e777e1fa3a chore(form): 🗑️ remove unused form components and types
* Refactor Former components to streamline functionality
* Update stories to reflect changes in form structure
2026-01-14 21:56:55 +02:00
cd2f6db880 feat(form): enhance form functionality and API integration
* Refactor key handling to use uniqueKeyField
* Add reset functionality to clear dirty state after save
* Introduce new API call specifications for REST and resolve
* Implement predefined wrappers for dialogs and popovers
* Update todo list to reflect completed tasks
2026-01-14 21:51:39 +02:00
e6507f44af feat(form): enhance form layout and functionality
* Add FormerButtonArea component for action buttons
* Introduce FormerLayoutTop and FormerLayoutBottom for structured layout
* Update Former types to include new properties
* Implement dynamic ID generation for forms
* Refactor example to demonstrate new layout features
* Mark tasks as completed in todo.md
2026-01-14 19:35:38 +02:00
400a193a58 feat(todo): planned ideas 2026-01-12 23:25:58 +02:00
9bac48d5dd Form prototype 2026-01-12 23:20:34 +02:00
fbb65afc94 Merge branch 'main' of git.warky.dev:wdevs/oranguru into rw 2026-01-12 23:20:02 +02:00
095ddf6162 refactor(former): 🔄 restructure form components and stores
* Remove unused FormLayout and SuperForm stores.
* Consolidate form logic into Former component.
* Implement new Former layout and types.
* Update stories for new Former component.
* Clean up unused styles and types across the project.
2026-01-12 23:19:25 +02:00
Hein
0d9511df77 fix(adaptor): 🐛 Handle undefined filter IDs in search 2026-01-12 11:00:58 +02:00
b2817f4233 Form prototype 2026-01-11 09:45:03 +02:00
Hein
71403289c2 Updated exports 2025-12-01 12:20:13 +02:00
Hein
32054118de docs(changeset): Using the effect of array as feature. 2025-12-01 11:48:05 +02:00
Hein
7c1d47819a docs(changeset): Possible selection fixes 2025-12-01 11:42:26 +02:00
Hein
249c283819 Update buffer when onCellClick 2025-12-01 10:39:28 +02:00