Skip to content

IDA-893 enrichment integration#619

Open
stephenwf wants to merge 250 commits into
mainfrom
feature/IDA-893-enrichment-integration
Open

IDA-893 enrichment integration#619
stephenwf wants to merge 250 commits into
mainfrom
feature/IDA-893-enrichment-integration

Conversation

@stephenwf

Copy link
Copy Markdown
Member

This PR replaces the existing Madoc Search Service with the full enrichment service, also adds Admin + User facing pages for Topics and Topic types.

Admin topics

Topics are available to edit from the Admin sidebar. There are 2 concepts:

  • Topic types (e.g. A category like Tribe/People/Place)
  • Topics (e.g. An individual person, tribe or place)

Each topic must be associated with a type.

You can create topics and topic types from the Admin:

There are 3 new user facing pages:

  • All topic types (/topics)
  • A single topic type (/topics/{topicType})
  • A single topic (/topics/{topicType}/{topic})

They are currently unstyled, with data coming through a Site API proxy and mapped to a temporary structure.

Adding tags

You can manually add tags from the admin, from the search index page (manifests only)

You must use the UUID identifier when adding a tag

Once you have added the tag it should be indexed automatically.

Then you can see item you have tagged on both the topic page in the Admin and on the site from the search.

image

@stephenwf stephenwf requested a review from Heather0K November 27, 2022 23:56
@stephenwf

Copy link
Copy Markdown
Member Author

There are a few manual steps you have to do to run this branch at the moment:

  • Drop existing search table manually (hopefully automatic in the future)
  • Add MIGRATE=true to .env locally to get the latest DB changes
  • Clone the enrichment repository into ./services

Then fully stopping and rebuilding the containers:

docker-compose stop

and running using the temporary docker-compose files:

docker-compose -f docker-compose.yml -f docker-compose.enrichment.yml up --build

All compose commands need to use the format:

docker-compose -f docker-compose.yml -f docker-compose.enrichment.yml [cmd]

Known issues

  • Capture models no longer being ingested
  • Topics are addressed by their UUID (no slug yet)
  • Cannot delete topic types (can't address their UUID)

Heather0K and others added 28 commits May 15, 2023 11:15
…dmin-crud

# Conflicts:
#	services/madoc-ts/src/frontend/site/features/AllTopicTypeItems.tsx
#	services/madoc-ts/src/frontend/site/features/GlobalMenuStack.tsx
#	services/madoc-ts/translations/en/madoc.json
@stephenwf stephenwf marked this pull request as ready for review February 16, 2024 10:17
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.

3 participants