Skip to content

chore: remove twitter #2255

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

Merged
merged 1 commit into from
Aug 13, 2025
Merged

Conversation

mroderick
Copy link
Contributor

This PR removes all links and references to Twitter (except for a couple of the localisation files, as I am not confident to do that correctly).

Rationale

  1. Many organisers and members are not listed with a Twitter handle, so the links point to https://twitter.com/
  2. After Space Karen took over Twitter and turned it into X, it has really turned into The Bad Place. The values of that organisation are now very far from the values of codebar. We shouldn't be linking to that, as it can be seen as endorsing, promoting or even finding that platform acceptable.

This can be seen as quite a radical change, so I'd like to get @KimberleyCook and @matyikriszta to review the PR before we merge it.

%meta{ name: 'twitter:data1', value: "#{workshop.host.name}, #{@host_address}" }
%meta{ name: 'twitter:label2', value: "When"}
%meta{ name: 'twitter:data2', value: "#{humanize_date(workshop.date_and_time, with_time: true)}" }
%meta{ property: 'og:image', content: image_url('social-summary-card-image.png') }
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The file twitter-summary-card-image.png was renamed to social-summary-card-image.png

@matyikriszta
Copy link
Contributor

matyikriszta commented Aug 11, 2025

@mroderick might have to rebase on master to make that one failing test pass. I think this was the one that David updated and reverted later, as it was not passing on Github. Once the test are passing I'm happy to approve.

@@ -0,0 +1,7 @@
class RemoveTwitter < ActiveRecord::Migration[7.0]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@olleolleolle do you foresee any issues with this migration?

Copy link
Collaborator

Choose a reason for hiding this comment

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

No issues.

@@ -33,5 +33,4 @@
- if event.organisers.any?
.d-md-flex.align-items-md-center
- event.organisers.each do |organiser|
= link_to twitter_url_for(organiser.twitter), class: 'border-0 d-inline-block mx-1' do
= image_tag(organiser.avatar(26), class: 'rounded-circle', title: organiser.full_name, alt: organiser.full_name)
= image_tag(organiser.avatar(26), class: 'rounded-circle', title: organiser.full_name, alt: organiser.full_name)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Future: perhaps there’s room for some contact link (perhaps a Show organisation page?) on this image? Not a blocker to merging this change.

@@ -0,0 +1,7 @@
class RemoveTwitter < ActiveRecord::Migration[7.0]
Copy link
Collaborator

Choose a reason for hiding this comment

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

No issues.

Copy link
Contributor

@matyikriszta matyikriszta left a comment

Choose a reason for hiding this comment

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

Good to go once the conflict is resolved. Thanks @mroderick.

@olleolleolle
Copy link
Collaborator

olleolleolle commented Aug 13, 2025

When I merge this:

  • I will run the migrations after this has been deployed.
  • Remove ENV vars HQ_TWITTER_HANDLE, HQ_TWITTER_ID

@olleolleolle olleolleolle merged commit 0294e6a into codebar:master Aug 13, 2025
2 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.

3 participants