Skip to content

pharma st-mary #7144

Description

@miladbotros345-beep

How frequently does the bug occur?

-- select --

Description

Design a professional Windows desktop application for pharmacy management with a clean, modern, and premium user experience inspired by Apple's design philosophy.

The application should be simple, intuitive, and extremely easy to use for pharmacists. Use large, clear icons, rounded cards, soft shadows, smooth animations, and generous spacing. The primary color palette should be Green and Blue, creating a calm, trustworthy, and eye-friendly interface.

IMPORTANT:

The entire application interface must be in Arabic (RTL) by default. All menus, buttons, labels, dialogs, tables, notifications, forms, reports, messages, placeholders, and navigation elements must be written in Arabic. The layout must fully support Right-to-Left (RTL) design with proper alignment, spacing, and navigation behavior.

Use the Google Font "Rubik" for all Arabic text to provide a clean and modern typography.

The application must use Realm Database (Realm DB) as its local offline database. All data must be stored locally without requiring an internet connection or external database server. The architecture should separate the UI, business logic, and Realm DB data layer to ensure maintainability and scalability.

Main modules:

  • لوحة التحكم

  • إدارة الأدوية

  • إدارة المخزون

  • نقطة البيع

  • العملاء

  • الموردون

  • المشتريات

  • الفواتير

  • التقارير

  • الإشعارات

  • النسخ الاحتياطي والاستعادة

  • الإعدادات

The dashboard should display:

  • Today's sales

  • Total medicines

  • Low stock alerts

  • Expiring medicines

  • Weekly sales charts

  • Recent invoices

  • Quick actions

  • System notifications

Design requirements:

  • Apple-inspired premium desktop UI

  • Modern minimalist design

  • Rounded corners (16–20px)

  • Large readable Arabic typography

  • Beautiful icons

  • Smooth transitions and animations

  • Professional tables with search, filtering, sorting, and pagination

  • Responsive desktop layout

  • Consistent spacing

  • Empty states

  • Loading animations

  • Light theme optimized for long working hours

The application should feel like a premium commercial pharmacy management system used in real pharmacies, focusing on speed, usability, readability, offline performance, and a polished user experience.

Backup & Restore Requirements:

Implement a fully functional Backup and Restore system, not a placeholder or dummy button.

The backup feature must:

  • Create a real backup of the entire Realm Database.

  • Allow the user to choose the destination folder.

  • Generate backup files with timestamps.

  • Support manual backup at any time.

  • Display progress and success/error messages.

  • Verify that the backup file was created successfully.

The restore feature must:

  • Allow the user to browse and select an existing backup file.

  • Validate the backup before restoring.

  • Replace the current local database safely.

  • Ask for confirmation before overwriting existing data.

  • Restore all application data completely.

  • Notify the user when restoration is completed successfully.

The application should also support:

  • Automatic backup reminders.

  • One-click backup.

  • One-click restore.

  • Safe error handling during backup and restore operations.

  • Reliable recovery without data loss.

Do NOT create a new project.

Continue working on the existing Electron + React + TypeScript + Realm DB pharmacy application.

Implement the Medicines module completely.

Requirements:

  • Clicking "الأدوية" in the sidebar must open the Medicines page.

  • Clicking "إضافة دواء" must open the Add Medicine form.

  • Save all medicines into Realm DB.

  • Display medicines in a searchable table.

  • Support Edit, Delete, Search and Refresh.

  • Generate unique medicine IDs.

  • Validate required fields.

  • Update the Dashboard statistics automatically.

  • Apply the same Apple-inspired UI.

  • Arabic RTL only.

  • Every button must perform a real action.

  • Do not use mock data.

  • Do not create placeholder pages.

  • Continue editing the existing project only

Stacktrace & log output

Can you reproduce the bug?

-- select --

Reproduction Steps

No response

Version

..

What services are you using?

Local Database only

Are you using encryption?

Yes

Platform OS and version(s)

....

Build environment

Which debugger for React Native: ..

Cocoapods version

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions