Redesign plugin detail page in design's 320 + 1fr grid
Plugin detail now opens with the design's marketplace card: a 4/3 brand-gradient cover plus install/secondary buttons plus a permissions list with risk badges on the left, and a category overline plus serif Newsreader title plus description plus a 4-up real-data stat grid (permissions, high-risk, contributes, signature) plus a "What it adds to ELY" contributions list on the right. Every value comes from PluginManifest — no fabricated ratings, install counts, or feature copy. Internal: chrome::plugin_detail_view holds the layout, and chrome::plugin_labels owns the permission scope labels and contribution copy so plugin_detail_view stays under 500 lines. The internal_pages/plugin_details.rs shim only handles route parsing and the missing-plugin fallback.
This commit is contained in:
@@ -3,6 +3,8 @@ pub(crate) mod brand_glyph;
|
||||
pub(crate) mod command_footer;
|
||||
pub(crate) mod command_overlay;
|
||||
pub(crate) mod home;
|
||||
pub(crate) mod plugin_detail_view;
|
||||
pub(crate) mod plugin_labels;
|
||||
pub(crate) mod settings_layout;
|
||||
pub(crate) mod sidebar;
|
||||
pub(crate) mod sidebar_header;
|
||||
@@ -15,6 +17,7 @@ pub(crate) use appearance_form::render_appearance_form;
|
||||
pub(crate) use brand_glyph::render_glyph_for;
|
||||
pub(crate) use command_overlay::render_command_overlay;
|
||||
pub(crate) use home::render_home_page;
|
||||
pub(crate) use plugin_detail_view::render_plugin_detail_view;
|
||||
pub(crate) use settings_layout::render_settings_landing;
|
||||
pub(crate) use sidebar::{PANEL_BG, panel_shadow};
|
||||
pub(crate) use sidebar_header::render_sidebar_header;
|
||||
|
||||
Reference in New Issue
Block a user