mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-04 19:41:36 -05:00
Appearance panel: address CodeRabbit review feedback
- Forward secondary clicks on name label links for stroke/fill and effect rows - Enable Reduce to Basic Appearance when any selected subject needs reduction (including compound path children) - Add headless regression tests for label context clicks and multi-selection reduction - Update M14 roadmap entry and UI parity evidence, and clean conflict markers in ui-parity.md
This commit is contained in:
@@ -462,6 +462,20 @@ fn edit_tip(resp: egui::Response, name: &egui::Response) -> egui::Response {
|
||||
if name.hovered() { resp } else { resp.on_hover_text(tl!("Double-click to edit")) }
|
||||
}
|
||||
|
||||
/// Does any selected subject have a non-basic appearance that can be reduced?
|
||||
fn any_subject_needs_reduction(app: &VectorcraftApp) -> bool {
|
||||
let Some(st) = app.session.active() else { return false };
|
||||
st.selection.subjects().iter().any(|id| {
|
||||
let target_node = st
|
||||
.doc
|
||||
.parent_of(*id)
|
||||
.and_then(|p| st.doc.node(p))
|
||||
.filter(|p| matches!(p.kind, vectorcraft_doc::NodeKind::Compound { .. }))
|
||||
.or_else(|| st.doc.node(*id));
|
||||
target_node.is_some_and(|n| !n.appearance.is_basic())
|
||||
})
|
||||
}
|
||||
|
||||
/// The Appearance panel: the object row, the stack of the selected object (or of new art with nothing selected) and the bottom bar; Delete/Backspace after a row click remove the highlighted rows.
|
||||
pub fn show(app: &mut VectorcraftApp, ui: &mut Ui) {
|
||||
let t = Tokens::get(ui.ctx());
|
||||
@@ -487,8 +501,8 @@ pub fn show(app: &mut VectorcraftApp, ui: &mut Ui) {
|
||||
app.run("appearance.clear", json!({})).ok();
|
||||
ui.close();
|
||||
}
|
||||
let is_basic = node.as_ref().is_some_and(|n| n.appearance.is_basic());
|
||||
if menu_item(ui, tl!("Reduce to Basic Appearance"), has && !is_basic, false) {
|
||||
let can_reduce = any_subject_needs_reduction(app);
|
||||
if menu_item(ui, tl!("Reduce to Basic Appearance"), can_reduce, false) {
|
||||
app.run("appearance.reduceToBasic", json!({})).ok();
|
||||
ui.close();
|
||||
}
|
||||
@@ -750,8 +764,17 @@ enum Slot {
|
||||
}
|
||||
|
||||
/// Context menu and right-click selection for a stroke or fill row.
|
||||
fn item_row_context(app: &mut VectorcraftApp, ui: &mut Ui, n: &Node, resp: &egui::Response, i: usize, it: &AppearanceItem, items: &[usize]) {
|
||||
if resp.secondary_clicked() {
|
||||
fn item_row_context(
|
||||
app: &mut VectorcraftApp,
|
||||
ui: &mut Ui,
|
||||
n: &Node,
|
||||
resps: (&egui::Response, &egui::Response),
|
||||
i: usize,
|
||||
it: &AppearanceItem,
|
||||
items: &[usize],
|
||||
) {
|
||||
let (resp, name) = resps;
|
||||
if resp.secondary_clicked() || name.secondary_clicked() {
|
||||
super::set_row_keys(ui.ctx(), ROW_KEYS, true);
|
||||
if !items.contains(&i) {
|
||||
select_row(app, ui.ctx(), Sel::Item(i));
|
||||
@@ -759,19 +782,27 @@ fn item_row_context(app: &mut VectorcraftApp, ui: &mut Ui, n: &Node, resp: &egui
|
||||
}
|
||||
let is_stroke = matches!(it, AppearanceItem::Stroke(_));
|
||||
let visible = it.visible();
|
||||
let (dup_label, del_label, vis_label) = if is_stroke {
|
||||
(tl!("Duplicate Stroke"), tl!("Delete Stroke"), if visible { tl!("Hide Stroke") } else { tl!("Show Stroke") })
|
||||
let vis_label = if is_stroke {
|
||||
if visible { tl!("Hide Stroke") } else { tl!("Show Stroke") }
|
||||
} else {
|
||||
(tl!("Duplicate Fill"), tl!("Delete Fill"), if visible { tl!("Hide Fill") } else { tl!("Show Fill") })
|
||||
if visible { tl!("Hide Fill") } else { tl!("Show Fill") }
|
||||
};
|
||||
resp.context_menu(|ui| {
|
||||
let mut menu = |ui: &mut Ui| {
|
||||
let sel = current_sel(app, ui.ctx(), Some(n));
|
||||
let sel_items = selected_items(ui.ctx(), Some(n), sel);
|
||||
let multi = sel_items.len() > 1;
|
||||
let (dup_label, del_label) = if multi {
|
||||
(tl!("Duplicate Items"), tl!("Delete Items"))
|
||||
} else if is_stroke {
|
||||
(tl!("Duplicate Stroke"), tl!("Delete Stroke"))
|
||||
} else {
|
||||
(tl!("Duplicate Fill"), tl!("Delete Fill"))
|
||||
};
|
||||
if menu_item(ui, dup_label, true, false) {
|
||||
let sel = current_sel(app, ui.ctx(), Some(n));
|
||||
duplicate_selected(app, ui, Some(n), sel);
|
||||
ui.close();
|
||||
}
|
||||
if menu_item(ui, del_label, true, false) {
|
||||
let sel = current_sel(app, ui.ctx(), Some(n));
|
||||
delete_selected(app, ui, Some(n), sel);
|
||||
ui.close();
|
||||
}
|
||||
@@ -779,7 +810,9 @@ fn item_row_context(app: &mut VectorcraftApp, ui: &mut Ui, n: &Node, resp: &egui
|
||||
app.run("appearance.setItem", aligned(app, json!({"index": i, "visible": !visible}))).ok();
|
||||
ui.close();
|
||||
}
|
||||
});
|
||||
};
|
||||
resp.context_menu(&mut menu);
|
||||
name.context_menu(&mut menu);
|
||||
}
|
||||
|
||||
/// The rows of object `n` (fills/strokes with their Opacity and effect rows, the Contents row, the object's effects and Opacity) with the click rules, row drags and drop markers; `sel` is the active row.
|
||||
@@ -837,7 +870,8 @@ fn stack(app: &mut VectorcraftApp, ui: &mut Ui, n: &Node, sel: Sel, object_row:
|
||||
// The label edits the row (the Stroke or Color panel); the empty space only takes the click
|
||||
// rules.
|
||||
let label = if is_stroke { tl!("Stroke:") } else { tl!("Fill:") };
|
||||
if name_link(ui, pos2(lx, r.center().y), ("ap-link", i), label).clicked() {
|
||||
let name = name_link(ui, pos2(lx, r.center().y), ("ap-link", i), label);
|
||||
if name.clicked() {
|
||||
select_row(app, ui.ctx(), Sel::Item(i));
|
||||
// The panel has the keyboard (Delete removes this row, not the art).
|
||||
super::set_row_keys(ui.ctx(), ROW_KEYS, true);
|
||||
@@ -851,7 +885,7 @@ fn stack(app: &mut VectorcraftApp, ui: &mut Ui, n: &Node, sel: Sel, object_row:
|
||||
let m = ui.input(|inp| inp.modifiers);
|
||||
click_row(app, ui.ctx(), n, sel, Rows::Items, i, m);
|
||||
}
|
||||
item_row_context(app, ui, n, &resp, i, it, &items);
|
||||
item_row_context(app, ui, n, (&resp, &name), i, it, &items);
|
||||
track(&resp, Dragged::Item(i));
|
||||
if open {
|
||||
let r = opacity_row(app, ui, Some(i), it.opacity(), it.blend(), sel, false);
|
||||
@@ -1284,13 +1318,13 @@ fn effect_row(app: &mut VectorcraftApp, ui: &mut Ui, n: &Node, item: Option<usiz
|
||||
set_pstate(ui.ctx(), &open_key, !open);
|
||||
}
|
||||
}
|
||||
if resp.secondary_clicked() {
|
||||
if resp.secondary_clicked() || name.secondary_clicked() {
|
||||
super::set_row_keys(ui.ctx(), ROW_KEYS, true);
|
||||
if !selected {
|
||||
select_row(app, ui.ctx(), this);
|
||||
}
|
||||
}
|
||||
resp.context_menu(|ui| {
|
||||
let mut menu = |ui: &mut Ui| {
|
||||
if menu_item(ui, tl!("Edit Effect…"), true, false) {
|
||||
select_row(app, ui.ctx(), this);
|
||||
super::set_row_keys(ui.ctx(), ROW_KEYS, true);
|
||||
@@ -1301,13 +1335,16 @@ fn effect_row(app: &mut VectorcraftApp, ui: &mut Ui, n: &Node, item: Option<usiz
|
||||
}
|
||||
ui.close();
|
||||
}
|
||||
if menu_item(ui, tl!("Duplicate Effect"), true, false) {
|
||||
let sel = current_sel(app, ui.ctx(), Some(n));
|
||||
let sel = current_sel(app, ui.ctx(), Some(n));
|
||||
let sel_fx = selected_effects(ui.ctx(), Some(n), sel);
|
||||
let multi = sel_fx.as_ref().is_some_and(|(list, ks)| *list == item && ks.len() > 1);
|
||||
let dup_label = if multi { tl!("Duplicate Effects") } else { tl!("Duplicate Effect") };
|
||||
let del_label = if multi { tl!("Delete Effects") } else { tl!("Delete Effect") };
|
||||
if menu_item(ui, dup_label, true, false) {
|
||||
duplicate_selected(app, ui, Some(n), sel);
|
||||
ui.close();
|
||||
}
|
||||
if menu_item(ui, tl!("Delete Effect"), true, false) {
|
||||
let sel = current_sel(app, ui.ctx(), Some(n));
|
||||
if menu_item(ui, del_label, true, false) {
|
||||
delete_selected(app, ui, Some(n), sel);
|
||||
ui.close();
|
||||
}
|
||||
@@ -1316,7 +1353,9 @@ fn effect_row(app: &mut VectorcraftApp, ui: &mut Ui, n: &Node, item: Option<usiz
|
||||
app.run("effect.setParams", aligned(app, json!({"item": item, "index": k, "visible": !e.visible}))).ok();
|
||||
ui.close();
|
||||
}
|
||||
});
|
||||
};
|
||||
resp.context_menu(&mut menu);
|
||||
name.context_menu(&mut menu);
|
||||
icons::paint(ui, "dc-fx", Rect::from_center_size(r.right_center() - vec2(14.0, 0.0), vec2(16.0, 16.0)), t.icon);
|
||||
if open {
|
||||
effect_editor(app, ui, item, k, e);
|
||||
@@ -1822,7 +1861,8 @@ pub fn menu(app: &mut VectorcraftApp, ui: &mut Ui) {
|
||||
if menu_item(ui, tl!("Clear Appearance"), has, false) {
|
||||
app.run("appearance.clear", json!({})).ok();
|
||||
}
|
||||
if menu_item(ui, tl!("Reduce to Basic Appearance"), has && !node.as_ref().is_some_and(|n| n.appearance.is_basic()), false) {
|
||||
let can_reduce = any_subject_needs_reduction(app);
|
||||
if menu_item(ui, tl!("Reduce to Basic Appearance"), can_reduce, false) {
|
||||
app.run("appearance.reduceToBasic", json!({})).ok();
|
||||
}
|
||||
ui.separator();
|
||||
|
||||
@@ -2199,3 +2199,110 @@ fn right_clicking_root_object_row_exposes_clear_and_reduce_appearance() {
|
||||
vectorcraft_doc::Appearance::basic(vectorcraft_color::Paint::None, vectorcraft_color::Paint::None, 1.0)
|
||||
);
|
||||
}
|
||||
|
||||
/// Right-clicking directly on a row's label link (text rectangle) selects that row and opens the context menu.
|
||||
#[test]
|
||||
fn right_clicking_item_and_effect_labels_directly_selects_row_and_opens_menu() {
|
||||
let mut app = app_with_rect();
|
||||
run(&mut app, "effect.apply", json!({"effect": "stylize.dropShadow"}));
|
||||
let ctx = egui::Context::default();
|
||||
assert_eq!(app.session.appearance_item(), None);
|
||||
|
||||
// Right-click directly on the "Stroke:" label rect.
|
||||
let texts = frame_events(&ctx, &mut app, vec![], appearance::show);
|
||||
let stroke_label = text_rect(&texts, "Stroke:").center();
|
||||
right_click(&ctx, &mut app, stroke_label, appearance::show);
|
||||
assert_eq!(app.session.appearance_item(), Some(1), "right-clicking stroke label selected the stroke row");
|
||||
let menu_texts = frame_events(&ctx, &mut app, vec![], appearance::show);
|
||||
assert!(menu_texts.iter().any(|(t, _)| t == " Duplicate Stroke"), "menu contains Duplicate Stroke: {menu_texts:?}");
|
||||
|
||||
// Dismiss popup.
|
||||
let _ = frame_events(
|
||||
&ctx,
|
||||
&mut app,
|
||||
vec![egui::Event::Key { key: egui::Key::Escape, physical_key: None, pressed: true, repeat: false, modifiers: egui::Modifiers::NONE }],
|
||||
appearance::show,
|
||||
);
|
||||
|
||||
// Right-click directly on the "Drop Shadow" effect label rect.
|
||||
let texts = frame_events(&ctx, &mut app, vec![], appearance::show);
|
||||
let effect_label = text_rect(&texts, "Drop Shadow").center();
|
||||
right_click(&ctx, &mut app, effect_label, appearance::show);
|
||||
let menu_texts = frame_events(&ctx, &mut app, vec![], appearance::show);
|
||||
assert!(menu_texts.iter().any(|(t, _)| t == " Duplicate Effect"), "menu contains Duplicate Effect: {menu_texts:?}");
|
||||
assert!(menu_texts.iter().any(|(t, _)| t == " Edit Effect…"), "menu contains Edit Effect…: {menu_texts:?}");
|
||||
}
|
||||
|
||||
/// Reduce to Basic Appearance is enabled when any selected subject needs reduction.
|
||||
#[test]
|
||||
fn reduce_to_basic_enabled_when_any_selected_subject_needs_reduction() {
|
||||
let mut app = app_with_rect();
|
||||
let rect1 = first_selected(&app).unwrap().id.0;
|
||||
// Create second rect and add an extra stroke to it so it is non-basic.
|
||||
let rect2 = run(&mut app, "shape.rectangle", json!({"x": 100, "y": 100, "width": 50, "height": 50}))["id"].as_u64().unwrap();
|
||||
run(&mut app, "appearance.addStroke", json!({}));
|
||||
|
||||
// Select only rect1 (which is basic).
|
||||
run(&mut app, "select.set", json!({"ids": [rect1]}));
|
||||
let ctx = drop_ctx();
|
||||
let root = row_point(&ctx, &mut app, "Rectangle", 0);
|
||||
right_click(&ctx, &mut app, root, appearance::show);
|
||||
let mut out = ctx.run_ui(egui::RawInput::default(), |ui| appearance::show(&mut app, ui));
|
||||
out.textures_delta.clear();
|
||||
let is_disabled = out
|
||||
.platform_output
|
||||
.accesskit_update
|
||||
.as_ref()
|
||||
.and_then(|u| u.nodes.iter().find(|(_, n)| n.label().is_some_and(|l| l.contains("Reduce to Basic Appearance"))))
|
||||
.is_some_and(|(_, n)| n.is_disabled());
|
||||
assert!(is_disabled, "Reduce to Basic Appearance is disabled when all selected subjects are basic");
|
||||
// Dismiss the menu with Escape.
|
||||
let _ = frame_events(
|
||||
&ctx,
|
||||
&mut app,
|
||||
vec![egui::Event::Key { key: egui::Key::Escape, physical_key: None, pressed: true, repeat: false, modifiers: egui::Modifiers::NONE }],
|
||||
appearance::show,
|
||||
);
|
||||
|
||||
// Select both rect1 (basic) and rect2 (non-basic). Both are rectangles so object_label is "Rectangle".
|
||||
run(&mut app, "select.set", json!({"ids": [rect1, rect2]}));
|
||||
let root = row_point(&ctx, &mut app, "Rectangle", 0);
|
||||
right_click(&ctx, &mut app, root, appearance::show);
|
||||
let texts = frame_events(&ctx, &mut app, vec![], appearance::show);
|
||||
assert!(texts.iter().any(|(t, _)| t == " Reduce to Basic Appearance"), "Reduce to Basic Appearance is present: {texts:?}");
|
||||
let reduce = text_rect(&texts, " Reduce to Basic Appearance").center();
|
||||
click(&ctx, &mut app, reduce, appearance::show);
|
||||
|
||||
// Both rectangles should now have basic appearance.
|
||||
let doc = &app.session.active().unwrap().doc;
|
||||
assert!(doc.node(vectorcraft_doc::NodeId(rect1)).unwrap().appearance.is_basic(), "rect1 reduced to basic");
|
||||
assert!(doc.node(vectorcraft_doc::NodeId(rect2)).unwrap().appearance.is_basic(), "rect2 reduced to basic");
|
||||
}
|
||||
|
||||
/// Right-clicking an active multi-selection of appearance items shows plural "Duplicate Items" and "Delete Items".
|
||||
#[test]
|
||||
fn right_clicking_multi_selected_items_shows_plural_duplicate_and_delete() {
|
||||
let mut app = app_with_rect();
|
||||
let ctx = egui::Context::default();
|
||||
frame_in(&ctx, &mut app, appearance::show);
|
||||
|
||||
let stroke = row_point(&ctx, &mut app, "Stroke:", 0);
|
||||
let fill = row_point(&ctx, &mut app, "Fill:", 0);
|
||||
|
||||
// Multi-select both stroke (item 1) and fill (item 0) using Command-click.
|
||||
click_mod(&ctx, &mut app, stroke, egui::Modifiers::NONE);
|
||||
click_mod(&ctx, &mut app, fill, egui::Modifiers::COMMAND);
|
||||
|
||||
right_click(&ctx, &mut app, stroke, appearance::show);
|
||||
let texts = frame_events(&ctx, &mut app, vec![], appearance::show);
|
||||
assert!(texts.iter().any(|(t, _)| t == " Duplicate Items"), "shows Duplicate Items: {texts:?}");
|
||||
assert!(texts.iter().any(|(t, _)| t == " Delete Items"), "shows Delete Items: {texts:?}");
|
||||
|
||||
// Clicking Duplicate Items duplicates both items in one undo step.
|
||||
let dup = text_rect(&texts, " Duplicate Items").center();
|
||||
click(&ctx, &mut app, dup, appearance::show);
|
||||
assert_eq!(stack_items(&app).len(), 4, "both items duplicated");
|
||||
|
||||
app.run("edit.undo", json!({})).unwrap();
|
||||
assert_eq!(stack_items(&app).len(), 2, "undo restores 2 items");
|
||||
}
|
||||
|
||||
+4
-2
File diff suppressed because one or more lines are too long
@@ -288,7 +288,7 @@ dominate; 3D, graphs and automation are specialist). They sum to 105. Feature de
|
||||
| Path operations, Pathfinder, Shape Builder, Live Paint | 5 | 80% | Shape Builder on the reporter's file (#937: art past 4,096 segments is cut by lines again; unconfirmed on the file itself); gap detection shares Live Paint’s finder, with a 72 pt custom cap and the existing options; Live Paint Gap Options | 4–8 | estimated; Shape Builder Gap Detection shares Live Paint’s spatial gap finder and temporary merge bridges (#2526); Custom is capped at 72 pt in the existing options dialog (lowered from 86%: open issues); compound attributes regression-tested (#1197); single-result source names survive SVG export/import (#1293), with [SVG ID semantics](https://www.w3.org/TR/SVG2/struct.html#IDAttribute) and original-shape tests; Simplify component selection and preview regression-tested (#1272); Simplify of a Direct Selection part of a path regression-tested (`tests/simplify_part.rs`); Divide open-cutting-path geometry and appearance regression-tested (#1307); the Shape Builder's edge-source grid is bounded in memory and files a segment once per cell (`planar.rs` test `rect_index_holds_a_bounded_number_of_references`); live compound shapes (Make, Alt-click, member Shape Modes, Release, Expand, saved and exported) regression-tested (#4522); Live Paint Bucket face drags, including narrow faces and one Undo, regression-tested (#6373) |
|
||||
| Colour, swatches, gradients, patterns, mesh, recolor | 7 | 92% | Picker Lab entry, picker libraries and Assign-row menus complete the deferred #4028 UI paths (#8031); scores and estimates unchanged; Eyedropper copies effective character dimensions across text transforms (#6404); 30.0's gradient additions are done (dither, perceptual blending, presets); freeform gradients in SVG/PDF, mixed spot/process gradients in SVG, PDF gradients mixing a spot color with RGB or Lab stops, and dithered spot gradient fills and Perceptual spot gradients with RGB or Lab stops other than white or more than 4,096 stops on their curve, which PDF export writes as images in process colors| 4–7 | estimated; Recolor model selection is available through the engine and MCP (#2520), and the dialog's color sliders (HSB, RGB, CMYK, Lab, Tint for a spot color) edit the selected row's new color in its mode, and the Edit tab's Global Adjust sliders (Saturation, Brightness, Temperature, Luminosity, -100% to 100%) change every recolored color at once (lowered from 96%: target moved); unpainted zero-width stroke restoration fixed (#1253), score and hours unchanged; Eyedropper source reads regression-tested (#1251); screen-bounded Recolor Edit chip list (#3416), score and hours unchanged; a point on a gradient mesh's outline locates on its edge on every side (#7006: `mesh_locate_takes_a_point_on_any_side_of_the_outline`, `mesh_add_line_exactly_on_the_edge_needs_no_tolerance`), score and hours unchanged; Color panel spectrum grows with the resized panel (#8005) |
|
||||
| Strokes, brushes, width profiles | 5 | 88% | Shift-double-click adjoining adjustment is implemented; brush libraries are done (fifteen generated libraries including Tech Circuit, Decorative, Engraving, Arrows, Stipple, Pressure Sensitive, Ink and Wash, Bristle Brushes, Game Trails, Energy Beams and Dry Media, User Defined, Other Library…, Save Brushes); Art brush Overlap and Pattern brush auto corners are done; remaining: pen pressure on macOS, Stylus Wheel, more built-in brush libraries, tilt, bearing and rotation for Art, Pattern and Bristle brushes and on native Wayland and the web | 8–15 | estimated; width-point creation and adjoining adjustment regression-tested; dialog layout reviewed; evidence below; finite-arithmetic follow-up regressions and full CI passed (evidence below) |
|
||||
| Appearance, transparency, graphic styles, masks | 5 | 97% | raster effect reach in preview bounds | 1–2 | estimated; Transform typing, sliders, preview, and undo are covered in `crates/ui-egui/src/panels/tests_appearance.rs` |
|
||||
| Appearance, transparency, graphic styles, masks | 5 | 97% | raster effect reach in preview bounds | 1–2 | estimated; Appearance panel row context menus (Duplicate, Delete, Hide/Show, Edit Effect…, Clear Appearance, Reduce to Basic Appearance) with unselected-row targeting, Transform typing, sliders, preview, and undo are covered in `crates/ui-egui/src/panels/tests_appearance.rs` |
|
||||
| 3D and Materials (and Turntable) | 4 | ~25% | live Revolve with automatic smooth vector shading and default-on continuous circular caps, Extrude & Bevel (twist, taper, caps, five bevel shapes), Inflate and Rotate with Position presets (colored Inflate uses smooth membrane lighting; white-light Inflate retains its existing shading; Extrude & Bevel and Rotate retain planar shading; one to ten colored lights, shared neutral ambient, painter visibility); materials, light presets, shadows, ray tracing, Turntable views, textures, map art and shading in 3D export | 30–55 | estimated (Extrude & Bevel, Inflate and Rotate added 2026-10-12); Map Art on Extrude & Bevel (Classic) and Revolve (Classic) is covered by `crates/effects/src/solids/tests_map_art.rs` and `crates/engine/src/cmd/effectcmd/map_art_tests.rs` (score and hours unchanged); every 3D seam has round joins (2026-11-12, [three-d.md](three-d.md#seams)), score, gaps and hours unchanged |
|
||||
| Type core | 9 | 80% | Auto-leading style resets are implemented; Hyphenation… and Justification… options are done (#2310, #2755), and a paragraph's Auto Leading also sets the Character panel's Leading, the Alt+↑/↓ leading nudge and Fill with Placeholder Text; remaining: Optical Margin Alignment, Middle Eastern features beyond bidi layout (the Middle Eastern & South Asian and Standard composers are done per paragraph, #4935; `.ai`/EPS/PDF files carry no composer), optional group font-size preservation; transformed character controls fixed (#1034), see [type-parity.md](type-parity.md) | 14–19 | estimated; eleven-language pattern hyphenation in both composers, with grapheme and shaping-cluster protection (#4947, `hyphen::tests` and `layout::wrapping_tests`); Sanskrit patterns pending an allowlisted source; recent-font groups in font pickers (#3515); full-name font matches regression-tested (#1258); mixed paragraph alignment indication implemented; headless regressions, full integration CI and visual review pass; localized legacy family-name fallback with loaded/catalog regressions (#2208); Fractional Widths per type object regression-tested; color emoji fonts with bitmap glyphs (`sbix`, `CBDT`) draw and export; threading ports: every selected area type and type on a path shows its in and out ports (empty, arrow, red "+"), and the Selection tool threads from either, the in port into a frame before it, and a double-click on a threaded port breaks the thread there (`threads::tests::break_splits_the_thread_and_the_story_flows_into_the_first_part`, `select::tests::a_double_click_on_a_threaded_port_breaks_the_thread`, `canvas::tests::a_double_click_on_a_threaded_out_port_breaks_the_thread`) (#2572; `select::tests::a_click_on_the_in_port_threads_into_a_frame_before_it`, `text::tests::selected_type_shows_its_ports_in_each_state`, `threads::tests::add_before_threads_the_story_from_the_new_frame_into_the_clicked_one`, live screenshot); the Glyphs panel highlights and scrolls to the character selected with the Type tool (#4908, `panels::glyphs` tests); the OpenType panel lists only `ss01`–`ss20` sets present in the selected font and uses its custom names when supplied; Type-range desktop Copy publishes styled art and keeps font family, size and color on canvas Paste after editing (#5636); paint-only Arabic harakat keep joining with conditional GDEF-mark ownership and Insert Kashidas base-letter paint (`tests::harakat`) |
|
||||
| Type advanced (CJK, spelling, Touch Type, Retype) | 4 | 50% | CJK vertical composition (ruby, mojikumi), variable font axes, tab leaders, Touch Type, Retype beyond exact matches of available fonts | 20–28 | estimated; Retype phase 1 (`type.retype`, exact glyph matches, #4934); upright fallback for fullwidth `!` / `?` regression-tested; score and hours unchanged |
|
||||
|
||||
Reference in New Issue
Block a user