Retire the classic /my dashboard: control-room screens take over (links/ads/credits/wallet/team), leftover panes (welcome tour, line broadcast, pipeline, promo tools, training, profile) live at /tools as 'More' in the rail; /my redirects by #pane; every link and email retargeted
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
+3
-1
@@ -636,7 +636,9 @@
|
||||
const TITLES = { overview: 'Overview', line: 'My line', pipeline: 'Pipeline', rotator: 'Rotator', buy: 'Buy packages', campaigns: 'Campaigns',
|
||||
earn: 'Earn credits', earnings: 'Earnings', promo: 'Promo tools', training: 'Training',
|
||||
wallet: 'Wallet & account', profile: 'Profile' };
|
||||
const MOVED = { buy: '/credits', rotator: '/links', campaigns: '/ads', earn: '/ads', earnings: '/credits', wallet: '/wallet' }; // control-room screens (2026-10-08)
|
||||
function setPane(name) {
|
||||
if (MOVED[name]) { location.replace(MOVED[name]); return; }
|
||||
if (!PANES.includes(name)) name = 'overview';
|
||||
for (const p of PANES) {
|
||||
const el = $('pane-' + p);
|
||||
@@ -697,7 +699,7 @@
|
||||
// arrived from an invite page: run the welcome tour and login ad once
|
||||
if (/[?&]welcome=1/.test(location.search) && !render.welcomed) {
|
||||
render.welcomed = true;
|
||||
history.replaceState(null, '', '/my' + (location.hash || ''));
|
||||
history.replaceState(null, '', '/tools' + (location.hash || ''));
|
||||
(async () => {
|
||||
try { if (!(await showGauntlet())) await showLoginAd(); } catch (e) {}
|
||||
await render();
|
||||
|
||||
Reference in New Issue
Block a user