Skip to content

Commit

Permalink
WhatsNewModal: remove other sections
Browse files Browse the repository at this point in the history
  • Loading branch information
jcv8000 committed Feb 21, 2025
1 parent 438ff84 commit c8cd2b5
Showing 1 changed file with 47 additions and 76 deletions.
123 changes: 47 additions & 76 deletions packages/renderer/src/components/Modals/WhatsNewModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,87 +30,58 @@ export function WhatsNewModal(props: { state: { opened: boolean }; onClose: () =
title={<Title order={3}>What&apos;s New in 2.0.5</Title>}
size="lg"
>
<Tabs orientation="vertical" placement="right" defaultValue="v205">
<Tabs.List>
<Tabs.Tab value="v205">2.0.5 Changelog</Tabs.Tab>
<Tabs.Tab value="bugs">Bug Reports</Tabs.Tab>
<Tabs.Tab value="v2release">2.0 Changelog</Tabs.Tab>
</Tabs.List>
<Modal.Body>
<Title order={3}>*New Survey*</Title>
<Text>Please take this short survey about future versions of Codex:</Text>
<Anchor onClick={() => window.api.openLink("feedback")}>
https://forms.gle/r4HqxLb6Yh663LV28
</Anchor>

<Tabs.Panel value="v205" px="xs">
<Title order={3}>*New Survey*</Title>
<Text>Please take this short survey about future versions of Codex:</Text>
<Anchor onClick={() => window.api.openLink("feedback")}>
https://forms.gle/r4HqxLb6Yh663LV28
</Anchor>

<Space h="lg" />

<Title order={3}>General</Title>
<ul>
<li>Updated to Electron 32 and Node.js 20</li>
<li>Added Russian localization (@wennerryle)</li>
<li>
Updated MathLive to 0.104
<ul>
<li>
This adds a new menu in the Math Editor to insert common math
expressions easily, like a matrix.
</li>
</ul>
</li>
</ul>
<Space h="lg" />

<Title order={3}>Bug Fixes</Title>
<ul>
<li>
Fixed an issue where favoriting / unfavoriting pages doesn&apos;t work.
</li>
<li>
Fixed an issue where the &quot;textContent&quot; of notes was not being
saved, which is what the search bar uses to find text.
<br />
<b>
If the search bar is not correctly finding text in your notes, you
might need to go through your pages manually and re-save them to
generate each page&apos;s text content for searching.
</b>
</li>
</ul>
<Title order={3}>General</Title>
<ul>
<li>Updated to Electron 32 and Node.js 20</li>
<li>Added Russian localization (@wennerryle)</li>
<li>
Updated MathLive to 0.104
<ul>
<li>
This adds a new menu in the Math Editor to insert common math
expressions easily, like a matrix.
</li>
</ul>
</li>
</ul>

<Space h="lg" />
<Title order={3}>Bug Fixes</Title>
<ul>
<li>Fixed an issue where favoriting / unfavoriting pages doesn&apos;t work.</li>
<li>
Fixed an issue where the &quot;textContent&quot; of notes was not being
saved, which is what the search bar uses to find text.
<br />
<b>
If the search bar is not correctly finding text in your notes, you might
need to go through your pages manually and re-save them to generate each
page&apos;s text content for searching.
</b>
</li>
</ul>

<Title order={3}>Other</Title>
<Text>
Codex v3 (a full rewrite) is something that I want to do soon, with a new
website and docs. Currently waiting on TipTap v3 before I start again.{" "}
<Anchor onClick={() => window.api.openLink("feedback")}>
Take the new survey
</Anchor>{" "}
for suggestions and input. As always bug reports and issues go on the{" "}
<Anchor onClick={() => window.api.openLink("issues")}>GitHub</Anchor>.
</Text>
</Tabs.Panel>
<Space h="lg" />

<Tabs.Panel value="bugs" px="xs">
If you find any bugs/issues with the new release of Codex, create an Issue on
the GitHub Repository{" "}
<Anchor onClick={() => window.api.openLink("issues")}>here</Anchor>.
<Space h="md" />
Please include your platform (Windows, Linux, macOS) and the version of Codex
that you&apos;re running.
<Space h="md" />
There&apos;s also a new feedback survey{" "}
<Anchor onClick={() => window.api.openLink("feedback")}>here</Anchor> for
suggestions, and a question about Windows 7/8/8.1 support.
</Tabs.Panel>

<Tabs.Panel value="v2release" px="xs">
<Anchor onClick={() => window.api.openLink("changelogs")}>
Codex 2.0.0 Changelogs
</Anchor>
</Tabs.Panel>
</Tabs>
<Title order={3}>Other</Title>
<Text>
Codex v3 (a full rewrite) is something that I would like to do soon, with a new
website and docs. Currently waiting on TipTap v3 before I start again.{" "}
<Anchor onClick={() => window.api.openLink("feedback")}>
Take the new survey
</Anchor>{" "}
for suggestions and input. As always bug reports and issues go on the{" "}
<Anchor onClick={() => window.api.openLink("issues")}>GitHub</Anchor>.
</Text>
</Modal.Body>
</Modal>
);
}

0 comments on commit c8cd2b5

Please sign in to comment.