37f0942033
- Ensure thread message creation/search supports both legacy and Qortal Hub formats. - Add Qortal Hub-compatible thread/message payload fields while keeping legacy fields. - Cache new member names for NEW USER tagging across members and threads. - Add unread private message badge with read tracking based on message click timestamps. - Add private message encryption pipeline (object -> base64 -> encrypt) and publish via qapp-core. - Introduce app-prefixed hashed PM identifiers with inbox/sent searches and conversation filtering. - Add encrypted messenger UI with chat-style conversation view, HTML rendering, and reply action. - Add message polling and optimistic updates for private message conversations. - Embed the private message composer in thread view with recipient switcher and minimal framing. - Add send-on-enter behavior with toggle for message composers. - Keep optimistic PMs visible while polling, order conversations oldest-first, and hide scrollbars unless scrolling. - Add inbox/sent tabs and load-more pagination on the messages overview. - Restore announcements fetching via legacy appName identifier prefixes. - Add legacy appName fallback search for published admin settings identifiers. - Fix Tiptap duplicate extension warnings, link handling for qortal://, and color swatch rendering. - Add NEW USER tag reuse across members and threads. - Hide join-group onboarding section after membership is detected.
24 lines
495 B
TypeScript
24 lines
495 B
TypeScript
import { GlobalProvider } from 'qapp-core';
|
|
import Layout from './styles/Layout';
|
|
import { appName, publicSalt } from './qapp-config';
|
|
|
|
export const AppWrapper = () => {
|
|
return (
|
|
<GlobalProvider
|
|
config={{
|
|
appName,
|
|
auth: {
|
|
balanceSetting: {
|
|
interval: 180000,
|
|
onlyOnMount: false,
|
|
},
|
|
authenticateOnMount: true,
|
|
},
|
|
publicSalt: publicSalt,
|
|
}}
|
|
>
|
|
<Layout />
|
|
</GlobalProvider>
|
|
);
|
|
};
|