Skip to content

Commit

Permalink
feat: Added documentation disclaimers in dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
MathisBurger committed Nov 20, 2024
1 parent 195b2af commit 0b6dbb6
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 15 deletions.
22 changes: 9 additions & 13 deletions web/app/dashboard/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use client";
import useCurrentUser from "@/hooks/useCurrentUser";
import {Container, Title, Text, Card, Grid, Group, Flex, Box} from "@mantine/core";
import { IconTrophyFilled } from "@tabler/icons-react";
import {Container, Title, Text, Card, Grid, Group, Flex, Box, Blockquote} from "@mantine/core";
import {IconInfoCircle, IconTrophyFilled} from "@tabler/icons-react";
import { useTranslation } from "react-i18next";
import useApiServiceClient from "@/hooks/useApiServiceClient";
import useClientQuery from "@/hooks/useClientQuery";
Expand Down Expand Up @@ -33,11 +33,9 @@ const DashboardPage = () => {
))}
</Carousel>
)}
<Card shadow="sm" padding="xl" mt={20}>
<Text mt="xs" c="dimmed" size="sm">
{t("us-again-text")}
</Text>
</Card>
<Blockquote color="indigo" icon={<IconInfoCircle />} mt="xl" cite="~ Development team">
{t('development-status')}
</Blockquote>
<Grid>
<Grid.Col span={4}>
<Card shadow="sm" padding="xl" mt={20}>
Expand All @@ -52,16 +50,14 @@ const DashboardPage = () => {
</Grid.Col>
<Grid.Col span={8}>
<Card shadow="sm" padding="xl" mt={20}>
<Title order={2}>Release v0.2.2</Title>
<Title order={2}>Release v0.2.2-stable</Title>
<Text>
We had some groundbreaking changes within our app for the current
release:
<br />
- Verified groups <br/>
- Group leaving and deletion <br/>
- Group join policy feature update <br/>
- Notification system <br/>
- Convert to tutor account <br/>
- Improved scalability <br/>
- Group and system wide notifications <br/>
- Limited runner options for unverified groups <br/>
</Text>
</Card>
</Grid.Col>
Expand Down
2 changes: 1 addition & 1 deletion web/public/locales/de/dashboard.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"welcome-back": "Willkommen zurück,",
"us-again-text": "Hey, wir sind es wieder. Bitte beachten Sie, dass diese Software völlig kostenlos für Sie ist. Wir speichern keine persönlichen Daten außer Ihrem Benutzernamen und Passwort. Trotzdem müssen wir unsere Gebühren für Domains und Server-Hosting bezahlen. Wenn Sie möchten, können Sie uns gerne unterstützen, denn die Entwicklung dieser Anwendung nimmt viel Zeit in Anspruch.",
"ole-title": "Oleggtro: Beiträger des Jahres!",
"development-status": "Das Projekt hat einen stabilen Zustand erreicht. Es werden in Zukunft keine neuen Funktionen hinzugefügt, es sei denn, sie werden ausdrücklich von Nutzern angefragt. Wir ermutigen Sie jedoch, Funktionswünsche einzureichen oder auf Fehler hinzuweisen. Bitte beachten Sie, dass unser Ziel darin besteht, die Anwendung so schlank wie möglich zu halten, um eine einfache, aber hervorragende Nutzererfahrung zu gewährleisten.",
"ole-text": "Im Laufe des Jahres hat Oleggtro immer wieder sein Bestes gegeben und kontinuierlich Einblicke, Wissen und Unterstützung mit unserer Community geteilt. Sein Engagement und seine Beiträge hatten einen bedeutenden Einfluss, bereicherten unsere Plattform und setzten einen hohen Standard für die Zusammenarbeit. Vielen Dank, Oleggtro, für deine harte Arbeit, Leidenschaft und unerschütterliche Hingabe. Wir sind unglaublich dankbar, dich als Teil unseres Teams zu haben! Auf viele weitere Erfolge gemeinsam."
}
2 changes: 1 addition & 1 deletion web/public/locales/en/dashboard.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"welcome-back": "Welcome back,",
"us-again-text": "Hey, its us again. Please be aware of that this software is totally free to use for you. We do not store any personal data except from your username and password. Nevertheless, we have to pay our fees, for domains and server hosting. So if you want, feel free to support us, because developing this application takes a lot of time.",
"ole-title": "Oleggtro: contributor of year!",
"development-status": "The project has reached an state where it is stable. There will be no new features in future other than requested features. But we will not add new ones without them being requested by users. So feel free to request some features or report bugs. Please keep in mind that we want to keep the application as thin as possible to provide an simple but good user experience.",
"ole-text": "Throughout the year, Oleggtro has gone above and beyond, consistently sharing insights, knowledge, and support with our community. His dedication and contributions have made a significant impact, enriching our platform and setting a high standard for collaboration. Thank you, Oleggtro, for your hard work, passion, and unwavering commitment. We are incredibly grateful to have you as part of our team! Here’s to many more achievements together."
}

0 comments on commit 0b6dbb6

Please sign in to comment.