Skip to content

Api-linked-art-kulturnav-integration#13

Open
tarjelavik wants to merge 8 commits into
mainfrom
api-linked-art-kulturnav-integration
Open

Api-linked-art-kulturnav-integration#13
tarjelavik wants to merge 8 commits into
mainfrom
api-linked-art-kulturnav-integration

Conversation

@tarjelavik

Copy link
Copy Markdown
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.
@vercel

vercel Bot commented Dec 28, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment Feb 4, 2026 3:12pm

Request Review

- 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant