Tags: SciCatProject/frontend
Tags
RELEASE 2025-11-11 (#2094) ## Description Short description of the pull request ## Motivation Background on use case, changes needed ## Fixes: Please provide a list of the fixes implemented in this PR * Items added ## Changes: Please provide a list of the changes implemented by this PR * changes made ## Tests included - [ ] Included for each change/fix? - [ ] Passing? (Merge will not be approved unless this is checked) ## Documentation - [ ] swagger documentation updated \[required\] - [ ] official documentation updated \[nice-to-have\] ### official documentation info If you have updated the official documentation, please provide PR # and URL of the pages where the updates are included ## Backend version - [ ] Does it require a specific version of the backend - which version of the backend is required: ## Summary by Sourcery Implement advanced proposal and dataset filtering capabilities, enhance shared filter and multi-select components, streamline application configuration loading, improve metadata display control, and update CI workflows and tests for robust coverage. New Features: - Introduce proposal filter management actions and selectors (add, remove, clear, and initial filters) with state and effect integration - Auto-set filter end dates to the current date when only a start date is provided for datasets and proposals - Introduce a hideEmptyMetadataTable configuration flag to conditionally suppress empty metadata sections across detail views - Enable dynamic facet parameter handling in proposal effects using front-end configuration Bug Fixes: - Fix DynamicMatTable getColumnValue to correctly handle comma-separated field names - Ensure proposal filters reset pagination skip when adding or removing filters - Prevent empty or null IDs from appearing in checkbox facet lists Enhancements: - Refactor SharedFilterComponent to improve checkbox facet search, ordering, deduplication, and display threshold - Enhance MultiSelectFilterComponent to map facet IDs to labels and emit structured selection events - Consolidate application configuration merging in AppConfigService with array-replace behavior and support for override toggling - Provide custom date formats for proposal date pickers via MAT_DATE_FORMATS in the proposals module - Refactor instrument selectors to return arrays of {_id,label} pairs and update related selectors and components CI: - Upgrade GitHub Actions setup-node to v6 and upload-artifact to v5 across CI workflows Tests: - Add unit tests for proposal filter actions, selectors, reducers, and SharedFilter behaviors - Extend Cypress end-to-end tests to cover filter auto-end-date logic and dynamic detail view reloads Chores: - Bump dependencies: @SciCatProject SDK, luxon, mathjs - Add CODEOWNERS file - Update package and lock files versions
RELEASE 2025/28/10 (#2080) ## Description RELEASE 2025/28/10 ## Summary by Sourcery Implement advanced filtering for proposals and datasets by introducing NgRx-based add/remove filter actions, dynamic facet count selectors, and configurable filter behaviors, refactor the AppConfigService to support override merging, update filter components to simplify multiselect and shared filters, and extend tests to cover the new filter logic. New Features: - Add NgRx actions and reducer handlers for adding, removing, and clearing proposal filters with multiSelect, checkbox, and dateRange support - Introduce selectors for full facet parameters and per-key filter state, and integrate dynamic facet count retrieval by key - Update AppConfigService to support allowConfigOverrides flag and custom merging of base and override configurations - Enable default filter settings from app config and immediate filter application for checkbox and multiselect in dataset filters Enhancements: - Refactor mergeConfig in AppConfigService to use mergeWith for array replacement and remove deprecated loadAndMerge - Simplify MultiSelectFilterComponent by managing id-label mapping internally and removing external getFacetId util - Improve SharedFilterComponent filtering logic to normalize labels and faceted checkbox helper methods Build: - Bump @scicatproject/scicat-sdk-ts-angular, luxon, and mathjs dependencies Tests: - Expand unit tests for AppConfigService to verify override behavior, and add specs for proposal filter actions, reducers, selectors, and side-bar filter component - Update dataset and proposal effects and reducer tests to reflect new filter actions and selectors --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Jay <[email protected]> Co-authored-by: snyk-bot <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Omkar Zade <[email protected]>
RELEASE 2025-10-07 (#2049) ## Description Short description of the pull request ## Motivation Background on use case, changes needed ## Fixes: Please provide a list of the fixes implemented in this PR * Items added ## Changes: Please provide a list of the changes implemented by this PR * changes made ## Tests included - [ ] Included for each change/fix? - [ ] Passing? (Merge will not be approved unless this is checked) ## Documentation - [ ] swagger documentation updated \[required\] - [ ] official documentation updated \[nice-to-have\] ### official documentation info If you have updated the official documentation, please provide PR # and URL of the pages where the updates are included ## Backend version - [ ] Does it require a specific version of the backend - which version of the backend is required:
BREAKING CHANGE: release major version bump (#2025) ## Description Release v5.5.0 includes a breaking change: the Docker image port has changed from 80 to 8080. Therefore, the release should have been a major bump instead of a minor bump. ## Motivation Background on use case, changes needed ## Fixes: Please provide a list of the fixes implemented in this PR * Items added ## Changes: Please provide a list of the changes implemented by this PR * changes made ## Tests included - [ ] Included for each change/fix? - [ ] Passing? (Merge will not be approved unless this is checked) ## Documentation - [ ] swagger documentation updated \[required\] - [ ] official documentation updated \[nice-to-have\] ### official documentation info If you have updated the official documentation, please provide PR # and URL of the pages where the updates are included ## Backend version - [ ] Does it require a specific version of the backend - which version of the backend is required:
RELEASE 01-07-2025 (#1924) ## Description Short description of the pull request ## Motivation Background on use case, changes needed ## Fixes: Please provide a list of the fixes implemented in this PR * Items added ## Changes: Please provide a list of the changes implemented by this PR * changes made ## Tests included - [ ] Included for each change/fix? - [ ] Passing? (Merge will not be approved unless this is checked) ## Documentation - [ ] swagger documentation updated \[required\] - [ ] official documentation updated \[nice-to-have\] ### official documentation info If you have updated the official documentation, please provide PR # and URL of the pages where the updates are included ## Backend version - [ ] Does it require a specific version of the backend - which version of the backend is required: ## Summary by Sourcery Unify and streamline table rendering across the application by replacing bespoke table implementations with a shared dynamic-mat-table component, introduce a fully integrated files dashboard with state management and pagination, persist user table preferences, expand datafiles action types with JSON-download support, and add configurable main-page routing along with accompanying state, effects, and tests. New Features: - Replace custom dataset, samples, files, jobs, and metadata tables with a centralized dynamic-mat-table component - Add a files dashboard for origDatablocks with pagination, sorting, and global search via new NgRx state slice, selectors, actions, and effects - Enable user-configurable table settings (columns, sort, pagination) persisted through user settings and TableConfigService - Introduce a new 'json-download' type for datafiles actions with templated payloads and filename substitution - Add MainPageConfiguration and MainPageGuard to route users to configurable default main pages Enhancements: - Refactor AppConfigService to support defaultMainPage and add validation for application configuration - Migrate job and sample handling to SciCat SDK v3 endpoints and DTOs, updating effects, selectors, and reducers - Consolidate HTML and SCSS across multiple components, removing redundant markup and styles for tables and cards - Extend MetadataViewComponent to support export rendering and paging mode configuration - Bump dependencies and generator scripts (openapi-generator-cli, scicat-sdk-ts-angular, zone.js, @types/node) and add a lint:errors task CI: - Update SDK generation scripts to openapi-generator-cli v7.13.0 - Add lint:errors npm script Documentation: - Add comprehensive Datafiles Actions documentation for form and JSON-download configurations Tests: - Revise and expand unit tests for dynamic-mat-table interactions, convertSavedColumns logic, nested metadata resolution, files selectors, and new event types
RELEASE 04-06-2025 (#1882) ## Description Short description of the pull request ## Motivation Background on use case, changes needed ## Fixes: Please provide a list of the fixes implemented in this PR * Items added ## Changes: Please provide a list of the changes implemented by this PR * changes made ## Tests included - [ ] Included for each change/fix? - [ ] Passing? (Merge will not be approved unless this is checked) ## Documentation - [ ] swagger documentation updated \[required\] - [ ] official documentation updated \[nice-to-have\] ### official documentation info If you have updated the official documentation, please provide PR # and URL of the pages where the updates are included ## Backend version - [ ] Does it require a specific version of the backend - which version of the backend is required: ## Summary by Sourcery Upgrade core integrations and enhance UI tables, dataset detail, datafiles actions, and jobs workflows while standardizing authentication flows and updating documentation and tests. New Features: - Add JSON-download support in DatafilesActionComponent with payload substitution, file download flow, and error snackbar - Switch SampleDashboard to dynamic-mat-table with persistent user table settings, server-side pagination, sorting, and row events Enhancements: - Extend DatasetDetailDynamicComponent with instrument name resolution, internal link handling, and scientific metadata extraction methods - Migrate jobs module to use v3 API endpoints and update related actions, selectors, reducers, and effects - Standardize returnUrl query parameter naming and handling across login, auth callback, and header components Build: - Bump @scicatproject/scicat-sdk-ts-angular to ^4.17.1 and update OpenAPI generator scripts to v7.13.0 Documentation: - Add comprehensive markdown documentation for Datafiles Actions configuration Tests: - Add extensive unit tests for DatasetDetailDynamicComponent methods - Update SampleDashboard and jobs tests to accommodate dynamic-mat-table events and v3 API changes Chores: - Refactor SampleEffects to only trigger on fetchSamplesAction and adjust metadata keys query logic - Clean up backward-compatibility comments and obsolete code in admin tab and archiving service --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Max Novelli <[email protected]> Co-authored-by: Jay <[email protected]> Co-authored-by: MatthMig <[email protected]> Co-authored-by: Matthieu Migné <[email protected]> Co-authored-by: Martin <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Garrett Birkel <[email protected]>
RELEASE 23-05-2025 (#1857) ## Description Short description of the pull request ## Motivation Background on use case, changes needed ## Fixes: Please provide a list of the fixes implemented in this PR * Items added ## Changes: Please provide a list of the changes implemented by this PR * changes made ## Tests included - [ ] Included for each change/fix? - [ ] Passing? (Merge will not be approved unless this is checked) ## Documentation - [ ] swagger documentation updated \[required\] - [ ] official documentation updated \[nice-to-have\] ### official documentation info If you have updated the official documentation, please provide PR # and URL of the pages where the updates are included ## Backend version - [ ] Does it require a specific version of the backend - which version of the backend is required: ## Summary by Sourcery Migrate frontend to Angular v19 with server-side dynamic tables and new API V3 endpoints, unify table settings via a dedicated service, overhaul theming to Material M2 API, and update CI, Docker and tests accordingly New Features: - Adopt dynamic-mat-table for instruments and proposals dashboards with server-side pagination, sorting and URL query params - Introduce TableConfigService and default-table-settings util to handle merging of default and user table settings - Add Cypress commands to create and remove instruments programmatically Enhancements: - Upgrade to Angular v19, NgRx v19 and Material M2 theming API with mat.m2-define-palette/map.get changes - Migrate all SDK service calls and tests to V3 endpoints and update associated effects, actions and selectors - Refactor routing and initialization to use provideRouter, provideHttpClient and DI-based app initializers in AppModule Build: - Update Dockerfile to Node 22.15 and Nginx 1.28, adjust build output path for dist/browser CI: - Bump CI and GitHub workflow Node version to 22.x and remove deprecated release commit steps Tests: - Revise numerous effect and selector specs to match V3 API and new state selectors Chores: - Add standalone:false flag to components and clean up obsolete actions and reducers
minor fix for github workflow (#1811) ## Description Short description of the pull request ## Motivation Background on use case, changes needed ## Fixes: Please provide a list of the fixes implemented in this PR * Items added ## Changes: Please provide a list of the changes implemented by this PR * changes made ## Tests included - [ ] Included for each change/fix? - [ ] Passing? (Merge will not be approved unless this is checked) ## Documentation - [ ] swagger documentation updated \[required\] - [ ] official documentation updated \[nice-to-have\] ### official documentation info If you have updated the official documentation, please provide PR # and URL of the pages where the updates are included ## Backend version - [ ] Does it require a specific version of the backend - which version of the backend is required: ## Summary by Sourcery CI: - Modify git commit command order in release workflow to ensure correct amend behavior
PreviousNext