Skip to content

Commit

Permalink
chore: disable canny feature/bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
RPDeshaies committed May 10, 2024
1 parent 440baec commit b3f6c08
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 35 deletions.
8 changes: 7 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,11 @@
],
"[markdown]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
},
"i18n-ally.localesPaths": [
"out/locales",
"public/locales",
"lib/services/internationalization/locales"
],
"i18n-ally.keystyle": "nested"
}
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,7 @@

This repo contains the source code that powers Fari, the open source virtual tabletop platform.

## Feature Requests

You can request new features [here](https://fari.app/feature-requests/)

## Bug Report

If you found an issue with the app, you can report the bug [here](https://fari.app/bugs)
<!-- -->

## Development

Expand Down
16 changes: 8 additions & 8 deletions lib/components/AppRouter/AppRouter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ const CharacterPrintRoute = React.lazy(
() => import("../../routes/CharacterPrint/CharacterPrintRoute")
);
const DiceRoute = React.lazy(() => import("../../routes/DiceRoute/DiceRoute"));
const FeatureRequestsRoute = React.lazy(
() => import("../../routes/FeatureRequests/FeatureRequestsRoute")
);
const BugsRoute = React.lazy(() => import("../../routes/Bugs/BugsRoute"));
// const FeatureRequestsRoute = React.lazy(
// () => import("../../routes/FeatureRequests/FeatureRequestsRoute")
// );
// const BugsRoute = React.lazy(() => import("../../routes/Bugs/BugsRoute"));
const DataRoute = React.lazy(() => import("../../routes/Data/DataRoute"));
const DrawRoute = React.lazy(() => import("../../routes/Draw/DrawRoute"));
const NotFoundRoute = React.lazy(
Expand Down Expand Up @@ -195,13 +195,13 @@ export const AppRouter = () => {
path="/changelog"
element={<ExternalRedirect url="https://fari.canny.io/changelog/" />}
/>
<Route path={"/feature-requests"} element={<FeatureRequestsRoute />} />
{/* <Route path={"/feature-requests"} element={<FeatureRequestsRoute />} />
<Route
path={"/feature-requests/*"}
element={<FeatureRequestsRoute />}
/>
<Route path={"/bugs"} element={<BugsRoute />} />
<Route path={"/bugs/*"} element={<BugsRoute />} />
/> */}
{/* <Route path={"/bugs"} element={<BugsRoute />} />
<Route path={"/bugs/*"} element={<BugsRoute />} /> */}
<Route path={"/story-builder"} element={<StoryBuilderRoute />} />
<Route path={"/story-dice"} element={<StoryDiceRoute />} />
<Route path="*" element={<NotFoundRoute />} />
Expand Down
26 changes: 12 additions & 14 deletions lib/components/Page/Page.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import BugReportIcon from "@mui/icons-material/BugReport";
import CasinoIcon from "@mui/icons-material/Casino";
import ChatIcon from "@mui/icons-material/Chat";
import ComputerIcon from "@mui/icons-material/Computer";
import DarkModeIcon from "@mui/icons-material/DarkMode";
import EmojiObjectsIcon from "@mui/icons-material/EmojiObjects";
import FiberNewIcon from "@mui/icons-material/FiberNew";
import ForumIcon from "@mui/icons-material/Forum";
import GitHubIcon from "@mui/icons-material/GitHub";
Expand All @@ -27,14 +25,14 @@ import Hidden from "@mui/material/Hidden";
import IconButton from "@mui/material/IconButton";
import Link from "@mui/material/Link";
import Select from "@mui/material/Select";
import { ThemeProvider, useTheme } from "@mui/material/styles";
import Toolbar from "@mui/material/Toolbar";
import Typography from "@mui/material/Typography";
import { ThemeProvider, useTheme } from "@mui/material/styles";
import useMediaQuery from "@mui/material/useMediaQuery";
import React, { useContext, useEffect, useState } from "react";
import { useNavigate } from "react-router";
import { env } from "../../constants/env";
import { Images } from "../../constants/Images";
import { env } from "../../constants/env";
import { useZIndex } from "../../constants/zIndex";
import { useLogger } from "../../contexts/InjectionsContext/hooks/useLogger";
import { MyBinderContext } from "../../contexts/MyBinderContext/MyBinderContext";
Expand Down Expand Up @@ -570,16 +568,16 @@ export const Page: React.FC<{
icon: <FiberNewIcon />,
target: "_blank",
},
{
to: "/feature-requests",
label: t("menu.feature-requests"),
icon: <EmojiObjectsIcon />,
},
{
to: "/bugs",
label: t("menu.report-a-bug"),
icon: <BugReportIcon />,
},
// {
// to: "/feature-requests",
// label: t("menu.feature-requests"),
// icon: <EmojiObjectsIcon />,
// },
// {
// to: "/bugs",
// label: t("menu.report-a-bug"),
// icon: <BugReportIcon />,
// },
{
href: "https://farirpgs.com/discord",
label: t("menu.discord"),
Expand Down
9 changes: 4 additions & 5 deletions lib/routes/Home/HomeRoute.tsx
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
import FavoriteIcon from "@mui/icons-material/Favorite";
import GitHubIcon from "@mui/icons-material/GitHub";
import QuestionAnswerIcon from "@mui/icons-material/QuestionAnswer";
import Box, { BoxProps } from "@mui/material/Box";
import Button from "@mui/material/Button";
import Container, { ContainerProps } from "@mui/material/Container";
import Divider from "@mui/material/Divider";
import Grid from "@mui/material/Grid";
import Rating from "@mui/material/Rating";
import { ThemeProvider, useTheme } from "@mui/material/styles";
import Typography from "@mui/material/Typography";
import { ThemeProvider, useTheme } from "@mui/material/styles";
import useMediaQuery from "@mui/material/useMediaQuery";
import React, { useContext, useEffect } from "react";
import { useNavigate } from "react-router";
import discord from "../../../images/services/discord.png";
import lokalise from "../../../images/services/lokalise.png";
import { AppButtonLink, RouterLink } from "../../components/AppLink/AppLink";
import { AppButtonLink } from "../../components/AppLink/AppLink";
import { ConditionalWrapper } from "../../components/ConditionalWrapper/ConditionalWrapper";
import { FateLabel } from "../../components/FateLabel/FateLabel";
import { Kofi } from "../../components/Kofi/Kofi";
Expand Down Expand Up @@ -414,7 +413,7 @@ export const HomeRoute: React.FC<{}> = () => {
function renderCommunity() {
return (
<Grid container justifyContent="center" alignItems="baseline" spacing={2}>
<Grid item md={6} xs={12} container justifyContent="center" spacing={2}>
{/* <Grid item md={6} xs={12} container justifyContent="center" spacing={2}>
<Grid item xs={12}>
<QuestionAnswerIcon
sx={{
Expand All @@ -434,7 +433,7 @@ export const HomeRoute: React.FC<{}> = () => {
{t("home-route.sections.request-a-feature.cta")}
</Button>
</Grid>
</Grid>
</Grid> */}
<Grid item md={6} xs={12} container justifyContent="center" spacing={2}>
<Grid item xs={12}>
<Box
Expand Down

0 comments on commit b3f6c08

Please sign in to comment.