Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,10 @@ export const InteractiveBlockComponent = ({
: false;

const isUploaderEmbedPath =
url && url.includes('interactive.guim.co.uk/uploader/embed/')
url &&
(url.includes('interactive.guim.co.uk/uploader/embed/') ||
url.includes('superyacht') ||

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.

Could this be a more suitable (i.e. less general) marker?

Suggested change
url.includes('superyacht') ||
url.includes('interactive.guim.co.uk/embed/superyacht') ||

We'd just have to be sure all superyacht URLs have this form

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

In the last audit test I ran I managed to catch 118 superyacht URLs, which is the same number you get when you search that sheet for interactive.guim.co.uk/embed/superyacht - which gives me some confidence that the tool has been set up to always dump its output into the same S3 bucket. https://docs.google.com/spreadsheets/d/1DF-6cBa5xQCH_1tKgc7x5F5eXakQYKz00IbMjywwjO0/edit?gid=1748685808#gid=1748685808

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.

That sounds promising. Shall we make the change?

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.

Oh I see, you're making the opposite argument.

Sure, I'm fine to leave it as superyacht 👍

url.includes('choropleth_map_maker'))
? true
: false;

Expand Down
Loading