RTL right sidebar + Modern Classic ERP UI refresh (Arabic-first)#2
Draft
RTL right sidebar + Modern Classic ERP UI refresh (Arabic-first)#2
Conversation
…sic aesthetic, active states, functional improvements Agent-Logs-Url: https://github.com/moded12/acc3/sessions/a30a9a3b-b08b-42e9-9d48-0ecc7a0ca4f9 Co-authored-by: moded12 <162719285+moded12@users.noreply.github.com>
…x scrollbar support Agent-Logs-Url: https://github.com/moded12/acc3/sessions/a30a9a3b-b08b-42e9-9d48-0ecc7a0ca4f9 Co-authored-by: moded12 <162719285+moded12@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update UI/UX with focused modernization and improvements
RTL right sidebar + Modern Classic ERP UI refresh (Arabic-first)
Apr 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Win98-era styling replaced with a cohesive "Modern Classic ERP" aesthetic; full Arabic RTL layout corrected throughout, sidebar repositioned to the right.
Layout & RTL
#workspaceso RTL flexbox places it on the right side natively#main-layoutexplicitly usesdirection: rtl+flex-direction: rowCSS (
erp.css)'Cairo'(400/600/700) imported from Google Fonts;Tahoma/Arial Unicode MSas Arabic-safe fallbacks#e2dfd8/#ece9e2), deep navy accent (#1a3a6a) replacing flat Win98 graymaximizedCSS class; maximize button icon toggles□↔❐bottom-right+se-resizecursor for RTLscrollbar-width: thin; scrollbar-color)JS (
erp.js)setSidebarActive(winId)+SIDEBAR_BTN_MAP: marks the matching sidebar button active whenever a window receives focusfilterJournals(): client-side journal list filtering by free-text + status dropdown (was referenced in UI but unimplemented)openJournalEdit(id): edit mode for draft journal entries (also previously unimplemented)mapEntryLinesToJeLines(): extracted helper eliminating duplicated line-mapping logic in the edit formPHP views
$displayNameextracted inmain.phpto avoid duplicated$user['full_name'] ?? $user['username']expressionOriginal prompt
Update the repository
moded12/acc3with a focused UI/UX modernization pass and small functional improvements on the latest repository state. The user has already updated the repository to the latest version and wants the changes applied now in the repo via PR.Primary requested changes:
Design direction to implement:
Functional/UI enrichment ideas to implement where appropriate without destabilizing the app:
Implementation requirements:
moded12/acc3.Please generate a concise PR title describing RTL + right sidebar + modernized ERP UI refresh.
The following is the prior conversation context from the user's chat exploration (may be truncated):
User: Access denied.
Assistant: المشكلة واضحة: التثبيت محمي بتوكن، ولذلك ظهور
Access denied.طبيعي، والجداول غير موجودة فعلًا كما ظهر في phpMyAdmin.افتح هذا الرابط بالضبط:
لأن ملف
install.phpيحتوي هذا الشرط:يعني بدون
?token=acc3_install_2025سيمنعك.بعد فتح الرابط:
acc3إذا ظهر خطأ قاعدة بيانات بعد التوكن:
أرسل لي محتوى الملف:
config/database.phpلأن الخطوة التالية غالبًا ستكون تصحيح الاتصال.
بعد نجاح التثبيت:
install.phpadminadmin123إذا أردت، بعد ما تشغّل الرابط بالتوكن، أستطيع أخبرك كيف تتأكد أن كل الجداول الأساسية انشأت بشكل صحيح.
User: Database Error: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'acc3.users' doesn't exist
Assistant: الخطأ يعني أن ملف
schema.sqlلم يُنشئ جدولusersأصلًا أو لم يُنفَّذ بشكل صحيح، ثم وصل السكربت لهذا السطر:ففشل لأن الجدول غير موجود.
ماذا تعمل الآن
افتح هذا الملف وأرسل محتواه:
config/schema.sqlلأن هذا هو الملف المسؤول عن إنشاء الجداول.
التشخيص الأقرب
يوجد واحد من هذه الأسباب:
config/schema.sqlمفقود أو فارغinstall.phpبواسطةexplode(';', $sql)كسرت أوامر SQLusersاسمه مختلف داخلschema.sqlحل سريع مؤقت لتشخيص أوضح
عدّل
install.phpمؤقتًا حتى لا يتوقف مباشرة عندusers، واجعل الفحص قبل تحديث المستخدم.استبدل هذا الجزء:
بهذا: