Fix doc popover transparent background and contrast#6407
Conversation
Greptile SummaryThis PR fixes the doc popover's transparent background and low-contrast text by replacing hardcoded Confidence Score: 4/5Safe to merge; all findings are visual/P2 and the color token migration is consistent. No logic or security issues. Three P2 style observations (missing separator margins, removed entrance animation, unspecified popover side offset) that could cause minor visual regressions but do not affect functionality. docs/app/reflex_docs/templates/docpage/docpage.py — specifically the popover positioner and separator div changes around lines 527–549. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A["Copy page button (left half)"] -->|on_click| B["copy_action()"]
C["Dropdown trigger (right half)"] -->|click| D["ui.popover.root"]
D --> E["ui.popover.portal"]
E --> F["ui.popover.positioner\nalign=end, align_offset=-4"]
F --> G["ui.popover.popup\nclass: p-0 overflow-hidden"]
G --> H["rx.el.div\nclass: flex flex-col min-w-260px"]
H --> I["_build_reflex_menu_item\nprimary-* gradient colors"]
H --> J["_copy_page_menu_item\nCopy page as Markdown"]
H --> K["Separator div\nbg-secondary-4"]
H --> L["_copy_page_menu_item\nOpen in ChatGPT"]
H --> M["_copy_page_menu_item\nOpen in Claude"]
Reviews (1): Last reviewed commit: "Fix doc popover transparent background a..." | Re-trigger Greptile |
No description provided.