mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-22 22:49:45 +01:00
web: fix all tests & improve notebook/topic deletion
This commit is contained in:
committed by
Abdullah Atta
parent
7a53881eb3
commit
765fcafc38
@@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { Flex, Link, Text } from "@theme-ui/components";
|
||||
import { Flex, Text } from "@theme-ui/components";
|
||||
import { appVersion } from "../../utils/version";
|
||||
import Field from "../field";
|
||||
import Dialog from "./dialog";
|
||||
@@ -152,33 +152,14 @@ export default IssueDialog;
|
||||
function showIssueReportedDialog({ url }: { url: string }) {
|
||||
return confirm({
|
||||
title: "Thank you for reporting!",
|
||||
yesAction: () => clipboard.writeText(url),
|
||||
yesText: "Copy link",
|
||||
message: (
|
||||
<>
|
||||
<p>
|
||||
You can track your bug report at{" "}
|
||||
<Link target="_blank" href={url} sx={{ lineBreak: "anywhere" }}>
|
||||
{url}
|
||||
</Link>
|
||||
.
|
||||
</p>
|
||||
<p>
|
||||
Please note that we will respond to your bug report on the link above.{" "}
|
||||
<b>
|
||||
We recommended that you save the above link for later reference.
|
||||
</b>
|
||||
</p>
|
||||
<p>
|
||||
If your issue is critical (e.g. notes not syncing, crashes etc.),
|
||||
please{" "}
|
||||
<a href="https://discord.com/invite/zQBK97EE22">
|
||||
join our Discord community
|
||||
</a>{" "}
|
||||
for one-to-one support.
|
||||
</p>
|
||||
</>
|
||||
)
|
||||
positiveButtonText: "Copy link",
|
||||
message: `You can track your bug report at [${url}](${url}).
|
||||
|
||||
Please note that we will respond to your bug report on the link above. **We recommended that you save the above link for later reference.**
|
||||
|
||||
If your issue is critical (e.g. notes not syncing, crashes etc.), please [join our Discord community](https://discord.com/invite/zQBK97EE22) for one-to-one support.`
|
||||
}).then((result) => {
|
||||
result && clipboard.writeText(url);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user