From fcd6a60baa619cf3e2b3454e169ccaf99683ef5b Mon Sep 17 00:00:00 2001 From: sravan Date: Tue, 23 Jun 2026 17:41:44 +0530 Subject: [PATCH] fix(prod): add missing public/icons.js (was untracked -> 404 in prod) icons.js was never committed (untracked, lost from disk), so every page 404'd /icons.js and stalled at Loading. Restored from commit e05a788 and added 16 icons referenced by current code but absent in that snapshot (bell, bold, italic, strikethrough, code, list, listOrdered, type, crown, checkCheck, calendarX, calendarClock, fileText, record, callEnd, settings). Co-Authored-By: Claude Opus 4.8 --- server/public/icons.js | 65 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 server/public/icons.js diff --git a/server/public/icons.js b/server/public/icons.js new file mode 100644 index 0000000..aa4a758 --- /dev/null +++ b/server/public/icons.js @@ -0,0 +1,65 @@ +// Shared icon set (Lucide — modern line icons). Use ic('name', size) for any UI icon. +// Add new icons here so the whole app stays visually consistent. +(function () { + const P = { + chat: '', + screenShare: '', + wifi: '', + video: '', + paperclip: '', + smile: '', + smilePlus: '', + reply: '', + info: '', + x: '', + arrowLeft: '', + users: '', + userPlus: '', + send: '', + search: '', + edit: '', + trash: '', + logOut: '', + plus: '', + check: '', + download: '', + copy: '', + file: '', + mic: '', + micOff: '', + camera: '', + cameraOff: '', + phoneOff: '', + phone: '', + calendar: '', + pencil: '', + chevronDown: '', + layoutDashboard:'', + arrowRight: '', + alertTriangle:'', + lock: '', + monitor: '', + barChart: '', + bell: '', + bold: '', + italic: '', + strikethrough:'', + code: '', + list: '', + listOrdered: '', + type: '', + crown: '', + checkCheck: '', + calendarX: '', + calendarClock:'', + fileText: '', + record: '', + callEnd: '', + settings: '', + }; + window.ICON = P; + window.ic = function (name, size) { + const s = size || 18; + return ''; + }; +})();