This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (ns gbo.linn.order-links) | |
| ;; BC Order Link Conversion System - TEXT NODE VERSION | |
| ;; Converts BC order numbers to clickable links using safe TextNode manipulation | |
| ;; This approach respects Angular SPA structure by only modifying leaf text nodes | |
| (defn create-bc-link-element [order-num] | |
| "Create a clickable BC order link element" | |
| (let [link (.createElement js/document "a")] | |
| (set! (.-href link) (str "https://store-7hstasnrjg.mybigcommerce.com/manage/orders/" order-num)) |