Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better automatic links to topic pages #2802

Merged
merged 1 commit into from
Oct 24, 2023
Merged

Conversation

danyx23
Copy link
Contributor

@danyx23 danyx23 commented Oct 19, 2023

At the right top of topic pages we show tags if they are given in the ETL. The tags are rendered as little pills and should link to the topic page that we have for this tag. Unfortunately, at this point we don't have the "authoritative links" stored with the tags and no association between tags and their topic pages so we slugify the text and 🤞.

This PR improves the slugify function for this particular use case. It's not bullet proof but it makes sure that the system works for a few more of the important tags. Some remain broken until we store the links properly.

@danyx23 danyx23 mentioned this pull request Oct 19, 2023
2 tasks
@danyx23 danyx23 force-pushed the 10-18-data-page-better-date-formats-processing-level branch from e69d088 to 1f47473 Compare October 20, 2023 13:49
@danyx23 danyx23 force-pushed the 10-18-data-page-better-slugify branch from 6473480 to 0f4d04b Compare October 20, 2023 13:49
@danyx23 danyx23 force-pushed the 10-18-data-page-better-date-formats-processing-level branch from 1f47473 to 5e477cc Compare October 23, 2023 08:08
@danyx23 danyx23 force-pushed the 10-18-data-page-better-slugify branch from 0f4d04b to 90e1f18 Compare October 23, 2023 08:08
@danyx23 danyx23 force-pushed the 10-18-data-page-better-date-formats-processing-level branch from 5e477cc to 2b3b150 Compare October 23, 2023 08:12
@danyx23 danyx23 force-pushed the 10-18-data-page-better-slugify branch from 90e1f18 to 66b41aa Compare October 23, 2023 08:12
@danyx23 danyx23 force-pushed the 10-18-data-page-better-date-formats-processing-level branch from 2b3b150 to c6be603 Compare October 23, 2023 08:35
@danyx23 danyx23 force-pushed the 10-18-data-page-better-slugify branch from 66b41aa to 15c5b28 Compare October 23, 2023 08:35
@danyx23 danyx23 force-pushed the 10-18-data-page-better-date-formats-processing-level branch from c6be603 to a2623bc Compare October 23, 2023 08:47
@danyx23 danyx23 force-pushed the 10-18-data-page-better-slugify branch from 15c5b28 to 889873e Compare October 23, 2023 08:47
@danyx23 danyx23 changed the title data-page-better-slugify Better automatic links to topic pages Oct 23, 2023
@danyx23 danyx23 marked this pull request as ready for review October 23, 2023 08:59
Base automatically changed from 10-18-data-page-better-date-formats-processing-level to master October 24, 2023 16:29
@danyx23 danyx23 merged commit c9053be into master Oct 24, 2023
13 checks passed
@danyx23 danyx23 deleted the 10-18-data-page-better-slugify branch October 24, 2023 16:30
Copy link
Contributor Author

danyx23 commented Oct 24, 2023

Merge activity

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