<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in Permalink.tsx</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>46b58c59 - [docs] separate copy and link icons on headers/ collapsibles (#24448)</title>
        <link>http://172.16.0.5:8080/history/expo/docs/components/icons/Permalink.tsx#46b58c59</link>
        <description>[docs] separate copy and link icons on headers/ collapsibles (#24448)# WhyA follow-up to https://github.com/expo/expo/pull/24293 based on feedbackfrom @brentvatne . The goal is to create more consistency and claritybetween the anchor link and copy anchor link functionality on bothheaders and collapsibles.**UPDATE**: After talking with Brent, I removed the copy functionality,the idea being that, now that clicking the link icon everywhere gets youan updated URL, it&apos;s easy enough to copy. So, this really just updatescollapsibles and removes copy functionality from the headings. I leftthe icon switch in there in case there was some appeal to that, sincethe link icon seemed to be a one-off.# How (old)There&apos;s a few ways to slice this, but this approach is to try separatingthe functionality into two icons. I&apos;ve definitely seen this elsewhere,can&apos;t remember where tho.&lt;img width=&quot;419&quot; alt=&quot;image&quot;src=&quot;https://github.com/expo/expo/assets/8053974/19917dd5-eeae-4bcd-9152-242608fbf39c&quot;&gt;&lt;img width=&quot;554&quot; alt=&quot;image&quot;src=&quot;https://github.com/expo/expo/assets/8053974/12164972-6728-4e08-b993-2d3c38026ba4&quot;&gt;Now we have consistent rules for both headers and collapsibles:- the link icon always navigates to the anchor tag on click- the copy icon always copies the anchor tag on click (and __only__copies, no updating of the URL here!)Additionally, we now have better copy feedback:&lt;img width=&quot;301&quot; alt=&quot;image&quot;src=&quot;https://github.com/expo/expo/assets/8053974/2587ad54-bd3f-4977-9361-97092ef8f3c6&quot;&gt;&lt;img width=&quot;301&quot; alt=&quot;image&quot;src=&quot;https://github.com/expo/expo/assets/8053974/946fae82-c6bf-4225-a097-3836e95b028d&quot;&gt;Design notes:- I removed the arrow from the tooltip since, if the heading is at thetop of the page, the tooltip moves below the icon, but the arrow stillpoints down &#55358;&#56614;- I didn&apos;t see a copy icon in the docs, noticed it seemed like a lot ofother icons were going in the styleguide direction, so I switched bothicons to styleguide. I have no idea how to see all the icons, so I&apos;m notsure if this is the best of the like 20 different link icons.## Special collapsible stuff- Unlike a heading, where you can click anywhere and navigate to theanchor tag, you have to click the link icon in order to navigate anchortag here. This is so you can expand the collapsible without alsoscrolling the page.- If you click the link icon and the collapsible is closed, it willexpand the collapsible as well as updating the URL. However, if thecollapsible is already open, clicking the link icon will not close it.Thus, clicking the link icon will always leave you in the same state asif you copied the URL with anchor tag and opened it in another tab.- The copy icon also expands the collapsible but will not close it.# Test Plan- [x] clicking on header text updates URL with anchor tag- [x] Headers: clicking on link icon updates URL with anchor tag~~- [x] Headers: clicking on copy icon copies URL (doesn&apos;t navigate)~~- [x] Collapsibles: clicking on header expands/ collapses section ONLY- [x] Collapsibles: clicking on link expands and navigates~~- [x] Collapsibles: clicking on copy expands and copies (doesn&apos;tnavigate)~~~~- [x] Collapsibles: clicking on link or copy when already openeddoesn&apos;t close~~~~- [x] Copy tooltip: updates to &quot;Copied!&quot; on click~~# Checklist&lt;!--Please check the appropriate items below if they apply to your diff.This is required for changes to Expo modules.--&gt;- [ ] Documentation is up to date to reflect these changes (eg:https://docs.expo.dev and README.md).- [ ] Conforms with the [Documentation Writing StyleGuide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)- [ ] This diff will work correctly for `npx expo prebuild` &amp; EAS Build(eg: updated a module plugin).

            List of files:
            /expo/docs/components/icons/Permalink.tsx</description>
        <pubDate>Fri, 15 Sep 2023 15:48:19 +0000</pubDate>
        <dc:creator>Keith Kurak &lt;keith.kurak@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>52aab7ca - Revert &quot;separate copy/ link icons on headers and collapsibles&quot;</title>
        <link>http://172.16.0.5:8080/history/expo/docs/components/icons/Permalink.tsx#52aab7ca</link>
        <description>Revert &quot;separate copy/ link icons on headers and collapsibles&quot;This reverts commit 857493dcbcd6761210ef538660efdca44afe2a00.

            List of files:
            /expo/docs/components/icons/Permalink.tsx</description>
        <pubDate>Thu, 14 Sep 2023 15:29:34 +0000</pubDate>
        <dc:creator>Keith Kurak &lt;keith.kurak@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>1f61a071 - [docs] improve typings after React 18 migration (#18269)</title>
        <link>http://172.16.0.5:8080/history/expo/docs/components/icons/Permalink.tsx#1f61a071</link>
        <description>[docs] improve typings after React 18 migration (#18269)

            List of files:
            /expo/docs/components/icons/Permalink.tsx</description>
        <pubDate>Tue, 19 Jul 2022 07:19:17 +0000</pubDate>
        <dc:creator>Bartosz Kaszubowski &lt;gosimek@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>b8b69ebe - [docs] bump Next, switch to React 18 (#18256)</title>
        <link>http://172.16.0.5:8080/history/expo/docs/components/icons/Permalink.tsx#b8b69ebe</link>
        <description>[docs] bump Next, switch to React 18 (#18256)

            List of files:
            /expo/docs/components/icons/Permalink.tsx</description>
        <pubDate>Fri, 15 Jul 2022 14:58:24 +0000</pubDate>
        <dc:creator>Bartosz Kaszubowski &lt;gosimek@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>586106d6 - [docs] Migrate codebase to TypeScript (#10324)</title>
        <link>http://172.16.0.5:8080/history/expo/docs/components/icons/Permalink.tsx#586106d6</link>
        <description>[docs] Migrate codebase to TypeScript (#10324)* Configure Next.js to use TypeScript* Migrate &apos;docs/common&apos; to TypeScript* Migrate some components to TS* General components migrated* Migrate base components* Migrate icons* Migrate plugins* Tape patch window globals* Migrate _app* Migrate global-styles* Migrate _error and _document* Fixes* Exclude static files* Add slugger types, remove ts-ignores* Improve headingManger typing* Rebase, use React.FC where possible, prettier fixes* Add ESLint config* tsc watch script, updated test snapshots* Apply code review suggestionsApply suggestions* [docs] Enable TypeScript &apos;strict&apos; mode (#10380)* Resolved TSC strict errors* Fix heading metadata typing* Simplify version handling* Enable &apos;noImplicitAny&apos;* Update icons* Add mdx-js types

            List of files:
            /expo/docs/components/icons/Permalink.tsx</description>
        <pubDate>Tue, 29 Sep 2020 11:47:43 +0000</pubDate>
        <dc:creator>Bart&#322;omiej Klocek &lt;bartlomiej.klocek@swmansion.com&gt;</dc:creator>
    </item>
</channel>
</rss>
