Conversation
Switches from require to import statements for consistency and modern syntax in both JavaScript and Vue files. Introduces computed properties for minDate and maxDate to improve date handling and ensure accurate time settings for scheduled events. This enhances code readability and maintains better date boundaries within the scheduler component.
Refactor validation to use a new `hasData` utility, ensuring non-empty strings are considered valid. Simplify button formatting for trigger group actions by removing unnecessary span closing tags. Added a utility function in `dataUtils.ts` to streamline data presence checks.
Co-authored-by: Jakob Frank <jakob.frank@redlink.at>
…--0-for-gps-data-throws-error #317: Improve validation logic and button formatting
…relativeScheduler. Also added a better error handling system and refined the UI a bit
This commit introduces the package-lock.json file, which is essential for maintaining consistent dependency versions across installations. It locks the specific versions of production and development dependencies used in the project.
Introduces an openapitools.json file to support API generation. Updated dependencies in package-lock.json, including @openapitools/openapi-generator-cli. Modified package.json script for API generation to ensure previous sources are removed before generating new ones. Removed the openapitools.json entry from .gitignore to track the configuration file.
Simplify and centralize event scheduling and repetition validation by consolidating error handling and duration calculations. Introduced reusable utility functions and constants, improved error messaging, and streamlined runtime behavior to improve maintainability and clarity.
…-exceed-study-duration-without-validation #352: Implemented duration limitation for the study duration and the …
Added `scrollToFirstError` utility to focus on the first error and improved error handling in `RelativeScheduler`. Replaced manual toast injection with PrimeVue’s `useToast` for clarity and removed obsolete code. Upgraded to Vue 3.5.13 to ensure compatibility.
The package-lock.json file was deleted from the repository. This could imply a transition to managing dependencies without a lockfile, possibly to allow flexibility across environments or workflows.
Updated the conditional check for `frontRowActions` to use optional chaining, preventing potential runtime errors when the property is undefined or null. This ensures more robust and error-proof behavior for row action rendering.
#352: Update error handling and simplify toast integration
Updated scheduler's end offset default value and adjusted related i18n strings for clarity. Added a new npm script for lint and test checks, streamlined input handling in StudyDialog, and corrected logic in relative schedule utility calculations. Minor reordering of imports and cleanup in various components.
…nged-wording #532: Fix scheduler offset default, improve i18n, and refactor code
The `exportStudyCalendar` function and related UI elements were removed from the codebase. This cleanup eliminates unused functionality, simplifying the component logic and reducing clutter in the studies module.
#418: Remove export calendar functionality from studies module
Removed unused `dateIsValid` function from `dateUtils.ts` to streamline the utility file. Introduced helper functions `minDate` and `maxDate` in `ObservationDialog.vue` to standardize date manipulations. Additionally, reordered imports for better readability and made minor style adjustments.
#541: Refactor date handling and cleanup unused code.
…ilds due to version inaccuracy
…ds due to version inaccuracy of lts-alpine (22.x currently)
…ds due to version inaccuracy of lts-alpine (22.x currently)
Align the CI workflow's Node.js version with the exact version specified in package.json for consistency. This ensures compatibility and reduces potential issues during builds.
…as-package More 578 pipeline node 18 as package
…ritical-apps More 578 update security critical apps
…ion' into MORE-313-fe-participant-duplication
…plication More 313 + 559, fixes participant duplication + relative schedule day calculation of observations
…-update # Conflicts: # package-lock.json # src/components/shared/RelativeScheduler.vue # src/constants.ts # src/utils/durationUtils.ts # src/views/StudyOverview.vue
#588: Use "P xxx" as default participant name
…-update # Conflicts: # package-lock.json
#577 Update node + deps
- kalendar popup: header, calendar body and day numbers - absolute scheduler: repetition select buttons and information - interventions: scheduled datacheck - only once checkbox, triggerconditions layout of dropdown and buttons - monitoring tabview: cursor-pointer - table actions: cursor-pointer for file upload button
- adjust hr between absolute scheduler repition elements
…date-deps-to-node-22x 577 fix broken UI after update deps to node 22x
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.