Skip to content

Extension Source Viewer 2.0

Latest

Choose a tag to compare

@UnboundedHQ UnboundedHQ released this 28 Nov 14:20
· 2 commits to main since this release
674a251

Release v2.0 — Major Refactoring and Feature Overhaul

This release introduces substantial improvements to performance, stability, and usability. It includes a complete refactoring of core components, multiple new professional-grade features, and major fixes that significantly enhance the overall inspection experience for CRX and ZIP files.


Major Features

Tabbed Interface

A new tabbed layout allows opening and managing multiple files simultaneously, inspired by modern code editors.

Context Menu

A right-click context menu has been added to file tree items, providing quick access to actions such as Copy Path and Download File.

Markdown Preview

A dedicated Markdown renderer now displays .md files instantly within the interface.

Loading Indicators

A global loading overlay provides clear feedback during ZIP/CRX processing and parsing.


Bug Fixes

Resolved Initialization Errors

Fixed issues causing
TypeError: Cannot read properties of null (reading 'style')
which occurred due to race conditions and improper DOM element caching during initial load or file drop.

Corrected Tab Closure Logic

Closing the final open tab now correctly transitions the interface to a No File Selected state, without clearing the already loaded ZIP file or breaking file tree interactions.

Restored Recursive Search

The file tree search now performs a full recursive scan of the directory structure. When a matching file is found, its parent folders expand automatically to reveal it.


Enhancements and Improvements

User Interface and Experience

Resizable Layout
Integrated Split.js to provide a resizable sidebar and viewer panel using a draggable gutter.

Modernized Styling
The interface has been visually refreshed with a darker, more professional appearance, using Tailwind CSS and Font Awesome 6.

Distinct Empty States
Two separate screens now guide the user: a Welcome Screen when no file is loaded, and a No File Selected screen when a ZIP is loaded but no tab is open.

Image Zoom and Pan
Added controls for zooming and resetting image views within the media viewer.

Improved Notifications
Toast notifications have been refined for clarity and reduced interference during workflow.

Code Editor and Viewer

Code Prettify
A new Prettify option formats and unminifies JS, JSON, HTML, and CSS using js-beautify.

Expanded Syntax Support
Added syntax highlighting for additional file types, including TypeScript (.ts) and JSX.

Binary File Handling
Files larger than 512 KB now trigger a warning and are safely prevented from loading as raw text, avoiding browser performance issues.

Application Logic and Stability

Improved Path Mapping
Enhanced internal file mapping provides faster lookups and more reliable path resolution.

Clean Reset Behavior
Loading a new file now resets the application state more thoroughly, improving consistency and reliability.

Keyboard Accessibility
Keyboard navigation within the file tree has been improved for better accessibility and usability.


Full Changelog: 1.0...2.0