Skip to content

📈 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!

Use monospaced font

Blue Mouse95349559846b
diff --git a/web/app/pages/Project/View/ViewProject.tsx b/web/app/pages/Project/View/ViewProject.tsx
index ba4a35dda..56d9071c6 100644
--- a/web/app/pages/Project/View/ViewProject.tsx
+++ b/web/app/pages/Project/View/ViewProject.tsx
@@ -3698,10 +3698,10 @@ const ViewProject = () => {
{canLoadMoreSessions && (
<button
type='button'
- title={t('project.refreshStats')}
+ title={t('project.loadMore')}
onClick={() => loadSessions()}
className={cx(
- 'relative mx-auto mt-2 flex items-center rounded-md border border-gray-50/0 bg-gray-50 p-2 text-sm font-medium text-gray-700 hover:border-gray-300 hover:bg-white focus:z-10 focus:ring-1 focus:ring-indigo-500 focus:outline-hidden dark:bg-slate-900 dark:text-gray-50 hover:dark:border-slate-800/50 dark:hover:bg-slate-800 focus:dark:ring-gray-200',
+ 'relative mx-auto mt-2 flex items-center rounded-md border border-gray-50/0 bg-gray-50 p-2 font-mono text-sm font-medium text-gray-700 hover:border-gray-300 hover:bg-white focus:z-10 focus:ring-1 focus:ring-indigo-500 focus:outline-hidden dark:bg-slate-900 dark:text-gray-50 hover:dark:border-slate-800/50 dark:hover:bg-slate-800 focus:dark:ring-gray-200',
{
'cursor-not-allowed opacity-50': sessionsLoading || sessionsLoading === null,
hidden: sessionsLoading && _isEmpty(sessions),
@@ -3775,10 +3775,10 @@ const ViewProject = () => {
{canLoadMoreErrors && (
<button
type='button'
- title={t('project.refreshStats')}
+ title={t('project.loadMore')}
onClick={() => loadErrors()}
className={cx(
- 'relative mx-auto mt-2 flex items-center rounded-md border border-gray-50/0 bg-gray-50 p-2 text-sm font-medium text-gray-700 hover:border-gray-300 hover:bg-white focus:z-10 focus:ring-1 focus:ring-indigo-500 focus:outline-hidden dark:bg-slate-900 dark:text-gray-50 hover:dark:border-slate-800/50 dark:hover:bg-slate-800 focus:dark:ring-gray-200',
+ 'relative mx-auto mt-2 flex items-center rounded-md border border-gray-50/0 bg-gray-50 p-2 font-mono text-sm font-medium text-gray-700 hover:border-gray-300 hover:bg-white focus:z-10 focus:ring-1 focus:ring-indigo-500 focus:outline-hidden dark:bg-slate-900 dark:text-gray-50 hover:dark:border-slate-800/50 dark:hover:bg-slate-800 focus:dark:ring-gray-200',
{
'cursor-not-allowed opacity-50': errorsLoading,
hidden: errorsLoading && _isEmpty(errors),
diff --git a/web/app/pages/Project/View/components/Errors.tsx b/web/app/pages/Project/View/components/Errors.tsx
index 971efd57a..12950ee63 100644
--- a/web/app/pages/Project/View/components/Errors.tsx
+++ b/web/app/pages/Project/View/components/Errors.tsx
@@ -77,22 +77,22 @@ const ErrorItem = ({ error, onClick }: ErrorItemProps) => {
}}
to={stringifiedUrl}
>
- <li className='relative mb-4 flex cursor-pointer justify-between gap-x-6 rounded-lg bg-gray-200/60 px-4 py-4 hover:bg-gray-200 sm:px-6 dark:bg-[#162032] dark:hover:bg-slate-800'>
+ <li className='relative mb-4 flex cursor-pointer justify-between gap-x-6 rounded-lg bg-gray-200/60 px-4 py-4 font-mono hover:bg-gray-200 sm:px-6 dark:bg-[#162032] dark:hover:bg-slate-800'>
<div className='flex min-w-0 gap-x-4'>
<div className='min-w-0 flex-auto'>
- <p className='flex items-center gap-x-2 leading-6 font-semibold text-gray-900 dark:text-gray-50'>
- <span className='text-base font-bold'>{error.name}</span>
+ <p className='flex items-baseline gap-x-2 leading-6 font-semibold text-gray-900 dark:text-gray-50'>
+ <span className='text-sm font-bold'>{error.name}</span>
{error.filename ? (
<>
- <Separator />
- <span className='mx-1 text-sm font-normal text-gray-500'>{error.filename}</span>
+ <Separator className='self-center' />
+ <span className='mx-1 text-xs font-normal text-gray-500'>{error.filename}</span>
</>
) : null}
</p>
{error.message ? (
- <p className='mt-1 flex text-base leading-5 text-gray-500 dark:text-gray-300'>{error.message}</p>
+ <p className='mt-1 flex text-sm leading-5 text-gray-500 dark:text-gray-300'>{error.message}</p>
) : null}
- <p className='mt-1 flex items-center gap-x-2 text-base leading-5 text-gray-500 dark:text-gray-300'>
+ <p className='mt-1 flex items-center gap-x-2 text-base text-sm leading-5 text-gray-500 dark:text-gray-300'>
<Badge className='mr-2 sm:hidden' label={status.label} colour={status.colour} />
{lastSeen}
<Separator className='sm:hidden' />
diff --git a/web/app/pages/Project/View/components/Sessions.tsx b/web/app/pages/Project/View/components/Sessions.tsx
index 87cae421e..7f07ce0f1 100644
--- a/web/app/pages/Project/View/components/Sessions.tsx
+++ b/web/app/pages/Project/View/components/Sessions.tsx
@@ -58,7 +58,7 @@ const Session = ({ session, onClick, timeFormat }: SessionProps) => {
}}
to={stringifiedUrl}
>
- <li className='relative mb-4 flex cursor-pointer justify-between gap-x-6 rounded-lg bg-gray-200/60 px-4 py-4 hover:bg-gray-200 sm:px-6 dark:bg-[#162032] dark:hover:bg-slate-800'>
+ <li className='relative mb-4 flex cursor-pointer justify-between gap-x-6 rounded-lg bg-gray-200/60 px-4 py-4 font-mono hover:bg-gray-200 sm:px-6 dark:bg-[#162032] dark:hover:bg-slate-800'>
<div className='flex min-w-0 gap-x-4'>
<div className='min-w-0 flex-auto'>
<p className='flex items-center gap-x-2 text-sm leading-6 font-semibold text-gray-900 dark:text-gray-50'>