Skip to content

feat(ARC-3813): add the driekeuzespeler content block - #436

Open
RobbeBierebeeck wants to merge 13 commits into
release/v6.0.0from
feature/ARC-3813_driekeuzespeler
Open

feat(ARC-3813): add the driekeuzespeler content block#436
RobbeBierebeeck wants to merge 13 commits into
release/v6.0.0from
feature/ARC-3813_driekeuzespeler

Conversation

@RobbeBierebeeck

Copy link
Copy Markdown
Contributor

https://meemoo.atlassian.net/browse/ARC-3813

Adds the driekeuzespeler: three random interests as tiles, each opening its
object in a modal.

Robbe Bierebeeck added 2 commits August 26, 2026 17:19
IE_OBJECT_WITH_SNIPPET_TIME_FIELDS held the object picker inline, so a block
that points at an object without a snippet could not reuse it. Moves the field
to defaults.ts next to the other field helpers and has the snippet helper call
it, with the fields it resets on change as a parameter.

No behaviour change: the timeline and video blocks get the same field they had.
A new HET_ARCHIEF content block that offers three curated interests at random,
each a tile with its object's thumbnail and a coloured pill. Clicking a tile
opens the object in a modal; the shuffle CTA deals three more.

Config holds a title, one colour pair per tile position, the shuffle label and
3 to 200 interests. The colours belong to the position rather than the interest,
because a shuffle decides which interest lands where.

Also adds a ThemeSelect editor type for picking the one theme an interest links
to, and a config slot for the host's IIIF viewer so a newspaper opens in the
real viewer rather than a flat still.

Two parts of the FA are not in here: the secondary CTA needs a theme search
filter that does not exist yet, and the hover animation still awaits the example
the FA lists as an open question.

@reunefe reunefe left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Voor ik er verder in detail doorga, lijkt het me beter om de bestaande zaken reeds op te pikken.
Vooral de roundtrips via meerdere API calls lijkt me niet ideaal. Doel van de playable data was net om dat te vermijden.

Comment thread ui/src/react-admin/modules/shared/hooks/useGetAllThemes.ts Outdated
Comment thread ui/src/react-admin/modules/shared/styles/mixins/_typography.scss
Comment thread ui/src/react-admin/modules/shared/components/ThemeSelect/ThemeSelect.tsx Outdated
Comment thread ui/src/react-admin/modules/content-page/types/content-block.types.ts Outdated
Comment thread ui/src/react-admin/modules/content-page/components/blocks/defaults.ts Outdated
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