Skip to content

Conversation

@ekate
Copy link

@ekate ekate commented Dec 3, 2025

Description

Implement configuration-based item page display with collection-specific templates

Core Implementation

  • Created item-field-config.ts with configuration for 10 collections:

    • Default (standard DSpace fields)
    • Jones (photography collection with technical metadata)
    • Relics (archival materials with spatial metadata)
    • Laefer (engineering/architecture publications)
    • Tandon (academic papers with pagination)
    • Tandon Capstone (student projects with advisors)
    • DNP (thesis collection with degree information)
    • Calabash (journal articles with PRISM metadata)
    • OpenScholarship (research with sponsorship)
    • Syllabi (course materials with instructor info)
  • Implemented UntypedItemComponent override in FDA theme

    • Detects owning collection via handle extraction
    • Loads appropriate field configuration dynamically
    • Renders fields in collection-specific order
    • Applies collection-specific i18n labels

ekate added 5 commits December 2, 2025 15:01
Implemented single FDA theme with configuration-driven field rendering for
10 collection types. Each collection has custom field order and labels while
sharing the same codebase.

Features:
- Dynamic collection detection via handle extraction
- Configuration file for field mappings (item-field-config.ts)
- Collection-specific i18n labels with fallbacks
- Authors as links, semicolon-separated
- Comprehensive unit and integration tests
- CI/CD test data creation

Collections supported:
Jones, Relics, Laefer, Tandon, Tandon Capstone, DNP, Calabash,
OpenScholarship, Syllabi, Default
@ekate ekate merged commit ad8df93 into nyu-dev Dec 3, 2025
7 checks passed
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.

2 participants