Repository navigation
Release: dev to main (S3 media URLs and 138 other commits) - #573
Merged
Merged
Conversation
- Updated opub-ui to version 0.5.6 in package.json and package-lock.json. - Added tokens.json file containing design tokens for colors and app theme. - Refactored some component styles and layout adjustments in Content.tsx and Sectors.tsx. - Enhanced dataset editing functionality with new context and components for managing dataset metadata and resources.
… context management - Updated the AI model editing flow to include a wizard-style interface with step navigation. - Introduced new components for handling model metadata and version management. - Improved context management for tracking edit status and validation across steps. - Replaced RichTextRenderer with ContentBlocksRenderer for better content handling. - Added styling for the new wizard layout and components. - Refactored routing to streamline navigation between editing steps.
…handling - Upgraded opub-ui dependency to version 0.6.0 in package.json and package-lock.json. - Refactored use case summary handling across multiple components to utilize the new `useCaseSummaryExcerpt` function for improved summary extraction. - Added a new Publications context for managing publication drafts and state. - Introduced layout and styling for the Publications section, enhancing the user experience for managing publications.
- Upgraded opub-ui dependency to version 0.6.1 in package.json and package-lock.json. - Refactored dataset editing components to streamline access model handling and improve resource selection. - Removed deprecated components and integrated new layout structures for better user experience. - Enhanced metadata and resource management functionalities within the dataset editing workflow.
…ase editing - Deleted obsolete files related to contributor selection and organization management, including EntitySelection, CustomCombobox, and PartnerModal. - Updated contributor query to include organization memberships and roles. - Refactored PeoplePage and ConnectPage to integrate new organization handling and improve user experience. - Introduced AddOrganisationSheet for better organization addition workflow. - Cleaned up unused styles and context providers to streamline the codebase.
- Updated the use case summary query to include datasets. - Modified the isUseCaseConnectComplete function to require at least one dataset for completion. - Improved the ConnectPage UI to display dataset connection errors and updated the section title to indicate required datasets. - Adjusted the PublishPage to reflect dataset requirements in connection issues and updated the label for partner organizations.
- Introduced new CSS variables for highlight styling and updated the highlight card layout. - Refactored ContentBlocksRenderer and ContentEditor to improve highlight block rendering and editing. - Updated the dashboard URL input to clarify user instructions and removed unnecessary text. - Implemented content dirty state management to optimize save operations in the builder page.
- Added a new function to validate access method completeness for various providers. - Updated the PublishPage to check access method readiness before publishing. - Improved the UI for displaying model details and access methods, including better handling of language support and tags. - Introduced a new PublicationsPage for managing publication lifecycle with create, delete, and unpublish functionalities. - Refactored ReviewStep component to improve the display of publication details and readiness status. - Enhanced styling and layout for better user experience across publication components.
- Renamed `useCaseSummaryExcerpt` to `getUseCaseSummaryExcerpt` for clarity and consistency across the codebase. - Updated all relevant imports and usages to reflect the new function name. - Made minor adjustments to component state management and effects for improved performance and readability. - Enhanced the handling of component props and state synchronization in various components related to use cases.
- Added publish and unpublish functionality using mutations for better publication lifecycle management. - Updated UI to reflect publication status and provide appropriate actions based on the current state. - Improved styling for the publish/unpublish button and added an icon for better user experience.
A green 'Tests skipped' job records it on the run, and promote still marks the release last-known-good. main ignores the flag.
Run workflow on dev with 'rollback' ticked skips the build and runs the existing rollback job: relinks the release before the last deploy and records it as last-known-good.
ci(deploy): SKIP_DEV_TESTS flag and a dev rollback button
- Added new CSS variables for button hover and pressed states to improve visual feedback. - Updated the `DistributionPage` component to handle platform source queries and manage state more effectively. - Introduced a mutation for importing datasets from public platforms, enhancing the dataset creation process. - Improved the `PublicPlatformImport` component with better error handling and user feedback for dataset generation. - Refactored state management for improved clarity and performance in handling dataset imports.
- Introduced `invalidateDatasetReview` function to manage cache invalidation for dataset reviews across multiple components. - Updated `EditMetadata`, `ResourceDropzone`, and `ResourceListView` components to call the new invalidation function after relevant mutations. - Enhanced the `getDatasetsSummary` query to include `refetchOnMount` for improved data consistency. - Refactored `PublicPlatformImport` to utilize `useMemo` for platform form options, optimizing performance and state management.
- Upgraded `opub-ui` from version `0.6.1` to `0.6.8` for improved features. - Introduced new dataset listing components and queries to enhance the dataset management experience. - Added SCSS styles for dataset listing to improve UI consistency and visual feedback. - Refactored dataset page to utilize new query structures and state management for better data handling.
[WIP] Provider Flow Update
- Updated the DatasetPage to improve layout and added border radius to the DataTable for better aesthetics. - Modified DashboardNav to adjust height constraints and improve responsiveness. - Refined BreadCrumbs component to enhance sticky positioning and responsiveness across different screen sizes.
- Adjusted margin classes in the DatasetPage component to enhance layout on medium-sized screens. - This change aims to improve the overall user experience by ensuring better spacing and alignment across different device sizes.
Enhance UI and layout for dashboard components
- Introduced a SCSS mixin for consistent styling across the listing component and related elements. - Updated DatasetPage to manage status counts more effectively using useEffect for improved data handling. - Removed unnecessary tags query to streamline data fetching and enhance performance.
…r cascading renders
- Introduced new pages for creating and editing charts, including support for image uploads. - Refactored existing components to streamline navigation and enhance user experience. - Added a comprehensive BuildStep component for managing chart configurations and validations. - Improved catalog management for datasets and resources to facilitate chart creation. - Enhanced publish and save functionalities for charts and images, ensuring better state management and user feedback.
- Updated icons in the OrgDashboardLayout for better visual representation. - Introduced new listing components for AI Models, Collaboratives, and Publications, improving data management and user interaction. - Enhanced the DatasetPage and related components for better responsiveness and state management. - Implemented a unified ProviderListingTable for consistent table layouts across different entities. - Streamlined query handling and data fetching processes for improved performance and user experience.
Enhance API testing functionality by adding detailed response handling
…e error messaging in dashboard mutations to provide clearer feedback on save failures. Update UI to reflect new statuses and improve user experience during API interactions.
…state with savedDashboard link. Introduce appliedLink state to manage updates more effectively and ensure consistent rendering of embed code.
Add custom API test status handling for quota and rate limits
…publish page. Update domain selection to show label instead of value for better clarity.
Add maximum tokens selection to AI model details page and display on publish page
The list of allowed dashboard hosts lived in NEXT_PUBLIC_DASHBOARD_EMBED_ORIGINS and had to be kept in step with the backend by hand. The backend now owns it (CivicDataLab/DataSpaceBackend#322): dashboards carry embedUrl, null when the host may not be embedded, the save mutations refuse other links, and checkDashboardLink runs the same check without saving. The use case page embeds embedUrl. The builder sends the link and shows the backend's refusal, and warns while typing through checkDashboardLink. Only the Superset standalone=1 tweak stays in the frontend.
…nd 'event' types in search filters. Update button sizes for consistency and improve type count display. Modify user fetching logic in AddUser component to include search value in query key.
Enhance UnifiedListingComponent by adding support for 'publication'
…er components. Introduce sanitizeRichText utility to ensure safe HTML output. Adjust label and button class order for consistency in styling.
Implement rich text sanitization in RichTextEditor and RichTextRender components
…abel function for improved clarity. Remove deprecated getWebsiteTitle API and related logic. Update DatasetCover, DatasetMetadata, and other components to display website labels instead of raw URLs.
Refactor website title handling across components to utilize
…ckend Let the backend decide which dashboards may be embedded
The wizard picked real users but saved only their display names in `authors`. On reload it rebuilt fake ids from those names, so the duplicate check never matched and the same person could be added twice (#560). The wizard now sends `contributorIds` and loads `contributors` with their real ids, so a reloaded contributor is recognised. The review step, wizard progress, preview and public page (cover, information, SEO data and citation) read the contributors' names instead of `authors`.
…ames The list now comes from contributors and the page labels it "Contributors", so the old `authors` name was misleading. The schema.org `author` field and the citation keep the word author.
Save publication contributors as users, not names
…ive-consumer Feat/publication collaborative consumer
…fers The people pickers (use case, collaborative, publication contributors) filtered the server's searchUsers results again in the browser, keeping only rows whose name or grey line contained the typed text. A person found by their full email address or login name was therefore hidden, because the row shows neither. Rows from searchUsers now carry the search text they were found for and are shown for exactly that text. Organisation rows, which are not searched on the server, and results still shown from an earlier search keep the text filter.
…arch fix(pickers): show people the server found even when the row text differs
…ive-consumer Fix back button bug
next.config.mjs adds this host to images.remotePatterns at build time (#514). The deploy never set it, so the CloudFront host was never allowed.
This branch was successfully deployed
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.
Release of
devto production. Goes out before the backend release (DataSpaceBackend#279).S3 media
mediaUrl()/MediaImage; queries ask forurlinstead ofpath. Absolute CloudFront URLs pass through, relative/public/...paths still get the backend prefix, so this works against the current prod backend (verified: prod API returns relativeurls that nginx serves).STORAGE_PUBLIC_BASE_URLis passed to the build so the CDN host is allowed inimages.remotePatterns. Theproductionenvironment variable is set.Checks
main: no conflicts. The only main-only commits are a docs edit and two old release merges.STORAGE_PUBLIC_BASE_URL; test secrets TEST_*_3..5 exist at repo level.After deploy
migrate_media_to_s3on prod.