📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
Split settings into groups
Blue Mouse537486425d69
diff --git a/web/app/pages/Project/Settings/Emails/Emails.tsx b/web/app/pages/Project/Settings/Emails/Emails.tsxindex 3531d4639..692f6943a 100644--- a/web/app/pages/Project/Settings/Emails/Emails.tsx+++ b/web/app/pages/Project/Settings/Emails/Emails.tsx@@ -20,7 +20,6 @@ import Input from 'ui/Input'import Button from 'ui/Button'import Modal from 'ui/Modal'import Loader from 'ui/Loader'-import Beta from 'ui/Beta'import cx from 'clsx'import { Badge } from 'ui/Badge'import { ISubscribers } from 'redux/models/ISubscribers'@@ -391,12 +390,7 @@ const Emails = ({ projectId, projectName }: { projectId: string; projectName: st<div className='mb-6 mt-6'><div className='mb-3 flex flex-col items-start justify-between gap-y-2 sm:flex-row sm:items-center'><div>- <h3 className='mt-2 flex items-center text-lg font-bold text-gray-900 dark:text-gray-50'>- {t('project.emails.title')}- <div className='ml-5'>- <Beta />- </div>- </h3>+ <h3 className='mt-2 text-lg font-bold text-gray-900 dark:text-gray-50'>{t('project.emails.title')}</h3><p className='text-sm text-gray-500 dark:text-gray-400'>{t('project.emails.description')}</p></div><Button className='h-8 whitespace-nowrap pl-2' primary regular type='button' onClick={() => setShowModal(true)}>diff --git a/web/app/pages/Project/Settings/ProjectSettings.tsx b/web/app/pages/Project/Settings/ProjectSettings.tsxindex 7fc4c77d6..f53fda698 100644--- a/web/app/pages/Project/Settings/ProjectSettings.tsx+++ b/web/app/pages/Project/Settings/ProjectSettings.tsx@@ -558,13 +558,13 @@ const ProjectSettings = ({<div className='flex min-h-min-footer flex-col bg-gray-50 px-4 py-6 pb-40 dark:bg-slate-900 sm:px-6 lg:px-8'><form className='mx-auto w-full max-w-7xl' onSubmit={handleSubmit}><h2 className='mt-2 text-3xl font-bold text-gray-900 dark:text-gray-50'>{title}</h2>- <h3 className='mt-2 text-lg font-bold text-gray-900 dark:text-gray-50'>{t('profileSettings.general')}</h3>+ <h3 className='mt-4 text-lg font-bold text-gray-900 dark:text-gray-50'>{t('profileSettings.general')}</h3><Inputname='name'label={t('project.settings.name')}value={form.name}placeholder='My awesome project'- className='mt-4'+ className='mt-2'onChange={handleInput}error={beenSubmitted ? errors.name : null}/>@@ -587,12 +587,14 @@ const ProjectSettings = ({error={null}disabled/>++ <h3 className='mt-6 text-lg font-bold text-gray-900 dark:text-gray-50'>{t('project.settings.shields')}</h3><Inputname='origins'label={t('project.settings.origins')}hint={t('project.settings.originsHint')}value={form.origins || ''}- className='mt-4'+ className='mt-2'onChange={handleInput}error={beenSubmitted ? errors.origins : null}/>@@ -605,6 +607,8 @@ const ProjectSettings = ({onChange={handleInput}error={beenSubmitted ? errors.ipBlacklist : null}/>++ <h3 className='mt-6 text-lg font-bold text-gray-900 dark:text-gray-50'>{t('project.settings.access')}</h3><Checkboxchecked={Boolean(form.active)}onChange={(checked) =>@@ -614,7 +618,7 @@ const ProjectSettings = ({}))}name='active'- className='mt-4'+ className='mt-2'label={t('project.settings.enabled')}hint={t('project.settings.enabledHint')}/>diff --git a/web/public/locales/en.json b/web/public/locales/en.jsonindex 211d01df6..9bd13d3ce 100644--- a/web/public/locales/en.json+++ b/web/public/locales/en.json@@ -925,6 +925,8 @@"barChart": "Bar chart","lineChart": "Line chart","settings": {+ "shields": "Shields",+ "access": "Access settings","verify": "Please, verify your email address first","updated": "The project's settings were updated","created": "The project has been created",