-
-
Notifications
You must be signed in to change notification settings - Fork 198
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
chore: remove twitter #2255
Conversation
%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') } |
There was a problem hiding this comment.
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
@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. |
39b76b9
to
583e99e
Compare
@@ -0,0 +1,7 @@ | |||
class RemoveTwitter < ActiveRecord::Migration[7.0] |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
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] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No issues.
There was a problem hiding this 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.
583e99e
to
317030d
Compare
When I merge this:
|
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
https://twitter.com/
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.