Skip to content

Conversation

@JWittmeyer
Copy link
Member

@JWittmeyer JWittmeyer commented Jan 23, 2026

related PR:

Notes

  • now more of a hotfix PR than singe change
  • Wrote with cursor asked for performance so classes are not inline anymore
  • Best way to test pagination is by setting MAIL_LIMIT_PER_PAGE to 1 since it's annoying to create 8 * 11 error messages otherwise :D

Included changes

  • reducePageNumbers is now a prop if set the ... will be used
  • Also includes the option to navigate back to home for annotators
  • Also includes org bage and jump to buttons for inbox
  • Also adds filter options the overview as well as unread / delete functionaity for inbox
  • Also includes new fiels for light user support (org / user table)
  • Adds a badge for light users > configured limit
  • Admin dashboard org changes can set up ligth user for month / day & integer & flag on users page
  • No backend check at the moment / No real integration of changes after the fact which is accepted)

) : (
<div className="self-start shrink-0 mt-1 flex items-center justify-center w-10 h-10 border rounded-md p-2 text-sm font-semibold bg-[#18181B]">
<img className="h-8 w-auto" src="/cognition/kernai.svg" alt="Kern AI" />
<img className="h-8 w-auto cursor-pointer" src="/cognition/kernai.svg" alt="Kern AI" onClick={clickHome} />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wrong element for this behaviour probably

{selectedThread && threadMails && threadMails.length > 0 ? (
<>
{isAdmin && selectedThread.isAdminSupportThread &&
{isAdmin &&
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did we remove the selectedThread.isAdminSupportThread && condition? Normal threads display then buttons for reset read, which mixes unread metadata state like unreadMialCount but its not an admin thread

Image Image

function InboxMailAdminPanel(props: InboxMailAdminPanelProps) {
// No translations needed, admin only
const assignAndJump = useCallback((toConversation: boolean) => {
const t = props.translator;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we now need translator here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants