Skip to content

Enhance file operations and UI consistency across modals and notifications and fixed bugs#91

Merged
rkvishwa merged 11 commits intodevelopmentfrom
new-fixes
Mar 16, 2026
Merged

Enhance file operations and UI consistency across modals and notifications and fixed bugs#91
rkvishwa merged 11 commits intodevelopmentfrom
new-fixes

Conversation

@rkvishwa
Copy link
Copy Markdown
Owner

This pull request introduces several enhancements and new features to workspace management, admin controls, and UI improvements. The most significant changes are the addition of workspace statistics gathering, a global admin setting to block non-empty workspaces, improved activity log reporting, and updates to the editor and preview panels for a better user experience.

Workspace statistics and admin controls:

  • Added a new IPC handler (FS_GET_WORKSPACE_STATS) in src/main/ipcHandlers.ts to scan a workspace folder and return statistics such as total files, folders, and file authorship (npm, composer, user).

  • Introduced admin settings for blocking non-empty workspaces, including new state variables, toggle handlers, and UI elements in AdminSettingsModal.tsx. This allows admins to prevent users from opening folders that already contain files.

  • Extended preload API to expose getWorkspaceStats for renderer access.

Activity log and reporting improvements:

  • Enhanced activity log reporting in ReportModal.tsx by adding a custom renderer for workspace statistics, parsing and displaying file/folder counts and authorship in a user-friendly format.

  • Added a new event type workspace_opened to activity logs for better tracking of workspace access.

Editor and preview panel UI/UX improvements:

  • Updated the editor panel to show a refined "Folder Opened" welcome screen with improved styling and iconography when no files are open.

  • Improved preview panel behavior: now follows the last active file, and HTML files are opened with the correct relative URL for live preview.

  • Added lastActiveFilePath prop to EditorPanel and PreviewPanel for better file tracking and preview accuracy.

These changes collectively improve workspace management, admin control, activity visibility, and the user experience in the editor and preview panels.

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 16, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 9854464e-22eb-4fac-b1e4-9ffff99d8d67

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch new-fixes
📝 Coding Plan
  • Generate coding plan for human review comments

Comment @coderabbitai help to get the list of available commands and usage tips.

Tip

You can get early access to new features in CodeRabbit.

Enable the early_access setting to enable early access features such as new models, tools, and more.

@appwrite
Copy link
Copy Markdown

appwrite bot commented Mar 16, 2026

Exam-IDE

Project ID: 69a964ef003091fbebdf

Sites (1)
Site Status Logs Preview QR
 Sonar-Code-Editor
69b41a9f00321cbe83e4
Ready Ready View Logs Preview URL QR Code

Tip

Global CDN and DDoS protection come free with every Sites deployment

@rkvishwa rkvishwa merged commit 6f9bb9f into development Mar 16, 2026
2 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant