Fix first few chars of UUIDs missing in profiles (#299)#319
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughSummary by CodeRabbit
Walkthrough
ChangesLLLineEditor read-only cursor positioning
Estimated code review effort🎯 2 (Simple) | ⏱️ ~5 minutes Poem
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
fair number of read-only inputs this may have slightly different behavior like any PR, close or request changes if you want -- not fussed if Alchemy want to take a different approach |
Works around a
LLLineEditorquirk to fix #299.The Key field in profiles uses a read-only
LLLineEditor(likely so the UUID stays selectable). By default it places the cursor at the end of the text even though it's read-only, causing the first few characters of the key to get clipped out of view.This initially anchors read-only line editors to the start of the text instead.
Other read-only line editors that should technically benefit:
group_keygroup UUID, same issue as the profile keyuser_name/display_namelong display or legacy names in profilespick_name/pick_locationprofile picksview_subject/view_inventory_name/create_inventory_namegroup noticesedt_invname_*region environment inventory names