\r\n\r\nCreating an issue to track this feature per @ayoayco [see this discussion](https://elk.zone/mstdn.io/@ayo@ayco.io/109767556096555675).\r\n\r\nThis is somewhat related to https://github.com/elk-zone/elk/issues/981\r\n",[1984,1987,1990],{"name":1985,"color":1986},"c: feature","2878FF",{"name":1988,"color":1989},"c: ui","8949BA",{"name":1991,"color":1992},"s: pending triage","dddddd",1504,"elk-zone","elk","open","Hide preview card if multiple links found in a single toot","2023-01-31T15:49:06Z","https://github.com/elk-zone/elk/issues/1504",0.7562132,{"description":2002,"labels":2003,"number":2005,"owner":1994,"repository":1995,"state":1996,"title":2006,"updated_at":2007,"url":2008,"score":2009},"When PreviewCard is detected to be a mastodon link (via powers of regex testing the author or provider or title?) we can expand the preview card in a manner similar to Twitter\n\nFrom previous discussion:\n1. don't implement a quote button\n2. aim to have expanded mastodon links",[2004],{"name":1985,"color":1986},387,"Expand mastodon links","2023-08-19T07:45:13Z","https://github.com/elk-zone/elk/issues/387",0.7791349,{"description":2011,"labels":2012,"number":2013,"owner":1994,"repository":1995,"state":1996,"title":2014,"updated_at":2015,"url":2016,"score":2017},"Preview cards are a gorgeous alternative to just a barren link. They can really spiff up a post + make it visually interesting. Publishers love them because it increases the odds you'll click through to their site.\r\n\r\nHowever, when the author has taken the time + effort to choose media to display alongside their words, preview cards should NOT be displayed. Three examples:\r\n\r\n1. Thread discussing two images from one linked site. Injecting the preview card is a distraction. https://elk.zone/hachyderm.io/@pevohr/109664873250118606\r\n\r\n2. Artbot linking to works by a single artist. Injecting a preview card makes it look like the author was stuttering. https://elk.zone/mastodon.arthaus.social/@AugustMacke/109662774198259109\r\n\r\n3. Post celebrating a bit of whimsy found online. Injecting the preview card turns it into an advertisement. https://elk.zone/norden.social/@czottmann/109663886482523238\r\n\r\nIn all three cases, the author built a post that works better without the preview card. Please honor that, because we want this to be an author-centric medium (where people discuss + share things they find interesting), not a publisher-centric clicky-clicky link farm.\r\n\r\nSUGGESTED FIX\r\n\r\nOnly add preview cards for a link if there's zero attached media.",[],937,"Suppress preview card for posts with media","2023-01-30T07:48:46Z","https://github.com/elk-zone/elk/issues/937",0.7802654,{"description":2019,"labels":2020,"number":2022,"owner":1994,"repository":1995,"state":1996,"title":2023,"updated_at":2024,"url":2025,"score":2026},"I just found out about the existence of this project and it's great to have a really well-designed and uniform interface to access my different Fediverse accounts from the browser. One feature that I miss from the standard Mastodon UI is the ability to hide replies and boosts from my timeline, and just view the new posts made by the people I follow. I find this feature very helpful when I just want to check quickly what is going on without getting sucked into the latest 50+ reply discussion or have to scroll through the 100 boosts that someone felt like they needed to make.",[2021],{"name":1985,"color":1986},2435,"Option to hide boosts/replies","2024-11-24T01:38:59Z","https://github.com/elk-zone/elk/issues/2435",0.78794277,{"description":2028,"labels":2029,"number":2033,"owner":1994,"repository":1995,"state":1996,"title":2034,"updated_at":2035,"url":2036,"score":2037},"Not to be overly pedantic but the URL matching overshoots a bit when compared to mastodon. Specifically, in this example, mastodon would not capture the right paren `)`:\r\n```\r\nfoo (https://news.ycombinator.com/)\r\n```\r\n\r\nMastodon counts 29 characters (500 - 471):\r\n\r\n\r\nElk counts 28:\r\n\r\n\r\nThis is an issue since now it's possible to achieve a elk-safe 500 character limit and then receive a 500 character limit exceeded error by Mastodon after submitting which would confuse the user.\r\n\r\nSo somewhere down the line we might need to update this:\r\nhttps://github.com/elk-zone/elk/blob/3732a2cc16b4de6cd60f4836151d4a3292c627fa/components/publish/PublishWidget.vue#L72\r\n\r\nSince it includes the ending paren:\r\n\r\n\r\nMastodon themselves have their URL regex defined here: https://github.com/mastodon/mastodon/blob/1ed12d/app/javascript/mastodon/features/compose/util/url_regex.js (which relies on [`twitter-text`](https://github.com/twitter/twitter-text/))",[2030],{"name":2031,"color":2032},"c: bug","FFA500",1880,"Link length not properly counted in status text","2023-08-01T16:00:30Z","https://github.com/elk-zone/elk/issues/1880",0.8047686,{"description":2039,"labels":2040,"number":2042,"owner":1994,"repository":1995,"state":2043,"title":2044,"updated_at":2045,"url":2046,"score":2047},"The Status API gives a `card` prop that we can render for links: https://docs.joinmastodon.org/entities/Status/#card\r\n\r\nFor example, in this [post with a github link](https://elk.zone/fosstodon.org/@patak@mas.to/109450555194579022), we get a `card` property object with information including the image:\r\n\r\n\r\n\r\nThe example card object:\r\n\r\n```\r\n{\r\n \"url\": \"https://github.com/vitejs/vite/pull/11158\",\r\n \"title\": \"refactor: move framework plugins out of core by patak-dev · Pull Request #11158 · vitejs/vite\",\r\n \"description\": \"Description\\nBenefits of Framework plugins being out of Core\\nFoster ownership of the plugin from folks out of the Core team\\nThe framework plugins in the core monorepo doesn't help to encourage colla...\",\r\n \"type\": \"link\",\r\n \"author_name\": \"\",\r\n \"author_url\": \"\",\r\n \"provider_name\": \"GitHub\",\r\n \"provider_url\": \"\",\r\n \"html\": \"\",\r\n \"width\": 400,\r\n \"height\": 200,\r\n \"image\": \"https://cdn.fosstodon.org/cache/preview_cards/images/012/447/272/original/f226ed69b0e5ff34.png\",\r\n \"embed_url\": \"\",\r\n \"blurhash\": \"UNR:HHR-oItR%1xtR-s:R:o#adR+~padR-Ri\"\r\n}\r\n```\r\n\r\n",[2041],{"name":1985,"color":1986},335,"closed","Preview card for links on posts","2022-12-07T15:55:51Z","https://github.com/elk-zone/elk/issues/335",0.7672375,{"description":2049,"labels":2050,"number":2055,"owner":1994,"repository":1995,"state":2043,"title":2056,"updated_at":2057,"url":2058,"score":2059},"When using a screen reader the statusbar links just read as \"link\", \"link\", \"link\", \"link\" and the last link will not focus at all.\r\n\r\n\r\n\r\n\r\n",[2051,2052],{"name":2031,"color":2032},{"name":2053,"color":2054},"c: a11y","553F0B",1422,"Accessibility: Unlabeled links","2023-07-21T10:17:33Z","https://github.com/elk-zone/elk/issues/1422",0.76750576,{"description":2061,"labels":2062,"number":2064,"owner":1994,"repository":1995,"state":2043,"title":2065,"updated_at":2066,"url":2067,"score":2068},"Improve the status preview card by not stretching when we see it has a small image.\r\n\r\nMaybe add a condition for minimum width, and apply the current layout for `isSquare`\r\n\r\nExamples of a preview image that is very small:\r\n\r\nhttps://elk.zone/fosstodon.org/@isbiltur@fosstodon.org/109473584035635377\r\n\r\n\r\n\r\n\r\nhttps://elk.zone/fosstodon.org/@maggie@indieweb.social/109473442831113769\r\n\r\n\r\n\r\n",[2063],{"name":1985,"color":1986},364,"Don't stretch smaller preview card images","2022-12-16T08:22:49Z","https://github.com/elk-zone/elk/issues/364",0.7689081,{"description":2070,"labels":2071,"number":2074,"owner":1994,"repository":1995,"state":2043,"title":2075,"updated_at":2076,"url":2077,"score":2078},"### Pre-Checks\n\n- [X] Check that there isn't [already an issue](https://github.com/elk-zone/elk/issues) that reports the same bug to avoid creating a duplicate.\n- [X] Check that this is a concrete bug. For Q&A open a [GitHub Discussion](https://github.com/elk-zone/elk/discussions) or join our [Discord Chat Server](https://chat.elk.zone).\n- [X] Providing a screenshot or video to reproduce the issue or show visually what was meant.\n- [ ] I am willing to provide a PR.\n\n### Describe the bug\n\nMiddle-click or Shift-click on \"Show full thread\" opens a page \"Something went wrong, un(...).v1.statuses.fetch is not a function\".\r\n\r\nLeft-clicking works as intended.\n\n### Reproduction video or screenshot\n\nhttps://user-images.githubusercontent.com/4067975/212289338-9bee837f-c471-4f19-afc3-d2fcfb9605ff.mp4\r\n\n\n### Additional Context\n\n```\r\nentry.dd4eda74.js:9 TypeError: un(...).v1.statuses.fetch is not a function\r\n at GS (entry.dd4eda74.js:12:73259)\r\n at middleware (entry.dd4eda74.js:12:75525)\r\n at s (entry.dd4eda74.js:1:87761)\r\n at En (entry.dd4eda74.js:1:87790)\r\n at entry.dd4eda74.js:12:108452\r\n```",[2072,2073],{"name":2031,"color":2032},{"name":1991,"color":1992},1059,"\"Show full thread\" has incorrect `href`","2023-01-15T18:33:35Z","https://github.com/elk-zone/elk/issues/1059",0.78123724,{"description":2080,"labels":2081,"number":2083,"owner":1994,"repository":1995,"state":2043,"title":2084,"updated_at":2085,"url":2086,"score":2087},"When the status has media attachments, set the preview card to be `smallPicture`",[2082],{"name":1985,"color":1986},386,"Prioritize media attachments over preview cards","2022-12-13T18:39:53Z","https://github.com/elk-zone/elk/issues/386",0.78374064,["Reactive",2089],{},["Set"],["ShallowReactive",2092],{"TRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"GEEqPBtnIeZs9GwPZB4MC_7FVcRbWGb38l9BewIDhLw":-1},"/elk-zone/elk/981"]