docbrown/app/views/liquids
Dwight Scott 71294dca14
OpenGraph fallback for Embeds (merge-by-any-core) (#17001)
* WIP -- start of OpenGraph class that wraps MetaInspector gem

* use properties method instead of hash

* Update app/services/open_graph.rb

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update app/services/open_graph.rb

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update app/services/open_graph.rb

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update app/services/open_graph.rb

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update app/services/open_graph.rb

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update app/services/open_graph.rb

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* address PR feedback

* adding some specs

* gem vendor cache

* more specs

* lock metainspector gem to 5.11

* Update app/services/open_graph.rb

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* WIP -- start of incorporating the open graph into the view

* regex match anything

* Update app/liquid_tags/open_graph_tag.rb

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Refactors and Improvements

* build UI (some wonkiness; see loom)

* UI improvements

* add hyperlink to embed url

* display site_name conditionally

* Make PR review changes; implement A-tag fallback for OG

* Address PR review comments

* Fix failing spec

* deleted superfluous assignment; switched filename annotations off

* nudge Travis

* Address PR feedback

* attempting to apply custom styles

* update specs

* update specs

* add favicon if exists

* remove site-name method

* styling changes 

* nudge Travis

* PR review comments

* keep border around A-tag fallback

* use preferred description

* remove www prefix from url

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Arit Amana <msarit@gmail.com>
2022-04-04 15:31:38 -04:00
..
_asciinema.html.erb Use official Asciinema player embed (#8339) 2020-06-10 12:44:03 +02:00
_blogcast.html.erb Implement embed tag and specs (#15801) 2021-12-16 12:58:43 -05:00
_codepen.html.erb Add lazy loading to iframes (#4673) 2019-11-18 18:31:56 -05:00
_codesandbox.html.erb Add lazy loading to iframes (#4673) 2019-11-18 18:31:56 -05:00
_details.html.erb [deploy] Create details liquid tag (#9777) 2020-08-17 20:28:00 -04:00
_dotnetfiddle.html.erb new liquid tag - dotnetfiddle (#10788) 2020-10-16 14:47:52 -04:00
_gist.html.erb Utilize ERB template in GistTag (#2785) 2019-05-13 17:01:11 -04:00
_github_issue.html.erb views/liquids i18n (#15060) 2021-10-21 12:25:30 +07:00
_github_readme.html.erb views/liquids i18n (#15060) 2021-10-21 12:25:30 +07:00
_gitpitch.html.erb Implement GitPitchTag (#4942) 2019-12-19 19:59:15 -05:00
_glitch.html.erb Fix fullscreen button issue by allowing popups (#5115) [deploy] 2019-12-16 08:26:07 -05:00
_instagram.html.erb Allow embedding of Instagram profile URLs (#16904) 2022-03-18 09:03:14 -04:00
_jsfiddle.html.erb Add lazy loading to iframes (#4673) 2019-11-18 18:31:56 -05:00
_jsitor.html.erb Add JSitor liquid tag (#4657) [deploy] 2019-11-05 09:43:52 -05:00
_katex.html.erb Remove inline style from KatexTag template (#8833) 2020-06-23 08:56:01 +02:00
_kotlin.html.erb Fix erblint errors on the app/views/liquids folder (#8403) 2020-06-11 20:03:27 +02:00
_loom.html.erb Implement Loom Embed (not merging now) (#16633) 2022-02-22 09:05:55 -05:00
_medium.html.erb Remove unused assets (#15367) 2021-11-16 19:57:37 +01:00
_nexttech.html.erb Add Next Tech Liquid Tag (#4958) [deploy] 2019-12-10 15:19:30 -05:00
_open_graph.html.erb OpenGraph fallback for Embeds (merge-by-any-core) (#17001) 2022-04-04 15:31:38 -04:00
_parler.html.erb Fix erblint errors on the app/views/liquids folder (#8403) 2020-06-11 20:03:27 +02:00
_poll.html.erb views/liquids i18n (#15060) 2021-10-21 12:25:30 +07:00
_reddit.html.erb views/liquids i18n (#15060) 2021-10-21 12:25:30 +07:00
_replit.html.erb Implement Replit Unified Embed (#15992) 2022-01-07 15:00:06 -05:00
_runkit.html.erb fix: Parsing of preamble with escaped content in runkit tags (#11466) 2020-11-27 16:56:52 -05:00
_slideshare.html.erb Complete implementation and add specs (#16274) 2022-01-24 14:23:16 -05:00
_soundcloud.html.erb Add lazy loading to iframes (#4673) 2019-11-18 18:31:56 -05:00
_speakerdeck.html.erb Implement Unified Embeds for Speakerdeck URLs (#16276) 2022-01-25 07:21:39 -05:00
_spotify.html.erb complete implementation and tests (#15977) 2022-01-06 15:49:35 -05:00
_stackblitz.html.erb Implement Unified Embeds for Stackblitz URLs (#16313) 2022-01-26 17:10:38 -05:00
_stackery.html.erb Implement Unified Embeds for Stackery URLs (#16320) 2022-01-26 16:19:27 -05:00
_stackexchange.html.erb Added title to be displayed for stackexchange question (#16289) 2022-01-25 13:24:03 -06:00
_tweet.html.erb views/liquids i18n (#15060) 2021-10-21 12:25:30 +07:00
_twitch.html.erb Implement TwitchTV Unified Embed (#15968) 2022-01-05 18:27:46 -05:00
_twitter_timeline.html.erb views/liquids i18n (#15060) 2021-10-21 12:25:30 +07:00
_user_subscription.html.erb Rework user subscription liquid tag to avoid errors (#16460) 2022-02-15 09:14:03 +00:00
_vimeo.html.erb Add lazy loading to iframes (#4673) 2019-11-18 18:31:56 -05:00
_wikipedia.html.erb views/liquids i18n (#15060) 2021-10-21 12:25:30 +07:00
_youtube.html.erb Add lazy loading to iframes (#4673) 2019-11-18 18:31:56 -05:00