Api-linked-art-kulturnav-integration#13
Open
tarjelavik wants to merge 8 commits into
Open
Conversation
tarjelavik
commented
Dec 28, 2025
Contributor
- Added PreviewAvatar and PreviewBadge components for displaying kulturnav references in different styles.
- Introduced DetailsPopup component for showing detailed information about selected references.
- Updated types to include new PreviewStyle and PreviewComponentProps for better type safety.
- Refactored configuration management to separate client and plugin configurations.
- Enhanced SelectedBadges component to utilize new preview components and manage loading states for details.
- Replaced APISearchInput with kulturnavInput in sanity.config.ts. - Added new fields for creator and subjects in Post.js schema to reference entities from kulturnav.org. - Introduced components for handling kulturnav references, including KulturnavInput, KulturnavArrayInput, SearchInput, and SelectedBadges. - Implemented search functionality for kulturnav API with debounced input and result handling. - Created a new schema type for kulturnav references to align with Linked Art reference model. - Added configuration management for the kulturnav plugin to handle API settings and defaults.
…efinitions - Added PreviewAvatar and PreviewBadge components for displaying kulturnav references in different styles. - Introduced DetailsPopup component for showing detailed information about selected references. - Updated types to include new PreviewStyle and PreviewComponentProps for better type safety. - Refactored configuration management to separate client and plugin configurations. - Enhanced SelectedBadges component to utilize new preview components and manage loading states for details.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- Added @sanity/icons and @sanity/ui dependencies for improved UI elements. - Refactored DetailsPopup component to utilize new UI components, enhancing layout and user experience. - Updated SearchInput and KulturnavInput components to use Stack for better spacing and layout. - Improved PreviewAvatar and PreviewBadge components with new styling and functionality. - Enhanced SearchResults component to provide better loading and error handling visuals. - Refactored SelectedBadges component to utilize Stack for consistent spacing.
…unctionality - Modified KulturnavReference type to use 'ExternalReference' for better clarity. - Enhanced KulturnavArrayInput to include unique keys for array items and improved type definitions. - Refactored PreviewAvatar to utilize PreviewBadge for consistent styling. - Updated SearchInput to leverage Autocomplete for better user experience and performance. - Cleaned up unnecessary code and improved error handling in various components. - Adjusted tsconfig to reflect changes in component structure and dependencies.
- Added @seidhr/sanity-plugin-muna-la-external-references to manage external references from kulturnav.org. - Updated package-lock.json and package.json to replace the previous kulturnav API plugin with the new external references plugin. - Implemented new components including KulturnavInput, KulturnavArrayInput, and SearchInput for handling references. - Created a detailed configuration and schema for the new plugin, ensuring compatibility with Sanity Studio. - Enhanced UI components for better user experience and integrated error handling. - Added necessary TypeScript definitions and improved type safety across the plugin.
…ding - Added @sanity/sanity-plugin-async-list dependency to package.json and package-lock.json. - Updated sanity.config.ts to include asyncList for fetching Disney character data. - Enhanced Post schema with new fields for related posts and Disney character references. - Improved configuration to support dynamic loading of external data in the Sanity Studio.
…endencies - Removed unnecessary Prettier plugin from ESLint configuration for cleaner setup. - Updated dependencies in DetailsPopup component to streamline effect dependencies, enhancing performance and readability.
…ionality - Updated the external reference plugin to include new components: ExternalReferenceInput and ExternalReferenceArrayInput for improved handling of external references. - Refactored existing components to utilize a unified loader system for fetching data. - Introduced createExternalReferenceSchema function to streamline schema creation for external references. - Enhanced SearchInput component to support dynamic loading and improved user experience. - Updated type definitions for better clarity and consistency across the plugin. - Removed deprecated Kulturnav components in favor of the new external reference structure.
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.