Skip to content
1 viewer

rust 1,961,941 · typescript 233,850 · javascript 141,145 · python 22,871 · 6,801 files · digest 6d882eacc8db · built in 12.5 s · crystals off

crates/cre8-app-shop/src/view_templates.rs

cre8-app-shop · module view_templates · src · 4,126 lines (3,542 code, 310 comment) · sha 514436fcee82b6ad

Items

const SHOP_VIEW_ID const SHOP_TITLE const SHOP_MERCHANT_INDEX_VIEW_ID static SHOP_MERCHANT_INDEX_DOCUMENT_ROUTES static SHOP_MERCHANT_INDEX_TEMPLATE_SPEC const SHOP_DETAIL_VIEW_ID const SHOP_DETAIL_TITLE const SHOP_ITEM_VIEW_ID const SHOP_ITEM_TITLE const SHOP_ORDER_VIEW_ID const SHOP_ORDER_TITLE const SHOP_ORDERS_VIEW_ID const SHOP_ORDERS_TITLE const SHOP_CART_VIEW_ID const SHOP_CART_TITLE const SHOP_INDEX_VIEW_ID const SHOP_INDEX_TITLE const SHOP_DOC_PATCH_PATH const SHOP_DETAIL_LIVE_SLOT_ID const SHOP_DETAIL_LIVE_CONTENT_ID const SHOP_ITEM_LIVE_SLOT_ID const SHOP_ITEM_LIVE_CONTENT_ID const SHOP_ORDER_LIVE_SLOT_ID const SHOP_ORDER_LIVE_CONTENT_ID const SHOP_ORDERS_LIVE_SLOT_ID const SHOP_ORDERS_LIVE_CONTENT_ID const SHOP_CART_LIVE_SLOT_ID const SHOP_CART_LIVE_CONTENT_ID const SHOP_INDEX_LIVE_SLOT_ID const SHOP_INDEX_LIVE_CONTENT_ID static SHOP_DETAIL_DOCUMENT_ROUTES static SHOP_ITEM_DOCUMENT_ROUTES static SHOP_ORDER_DOCUMENT_ROUTES static SHOP_ORDERS_DOCUMENT_ROUTES static SHOP_INDEX_DOCUMENT_ROUTES static SHOP_CART_DOCUMENT_ROUTES static SHOP_DETAIL_TEMPLATE_SPEC static SHOP_ITEM_TEMPLATE_SPEC static SHOP_ORDER_TEMPLATE_SPEC static SHOP_ORDERS_TEMPLATE_SPEC static SHOP_INDEX_TEMPLATE_SPEC static SHOP_CART_TEMPLATE_SPEC const SHOP_PRODUCT_EDIT_VIEW_ID const SHOP_PRODUCT_EDIT_TITLE static SHOP_PRODUCT_EDIT_DOCUMENT_ROUTES static SHOP_PRODUCT_EDIT_TEMPLATE_SPEC const SHOP_MERCHANT_VIEW_ID const SHOP_MERCHANT_TITLE const SHOP_LOW_STOCK_THRESHOLD static SHOP_MERCHANT_DOCUMENT_ROUTES static SHOP_MERCHANT_TEMPLATE_SPEC struct Session impl AuthenticatedSessionAccountOrigin for Session const SHOP_POS_VIEW_ID const SHOP_POS_TITLE static SHOP_POS_DOCUMENT_ROUTES static SHOP_POS_TEMPLATE_SPEC const POS_SCRIPT const SEO_BLURB_LIMIT const CLOSE struct OrderPageNext const ALPHABET type VanPresence enum PublicFulfillmentKind struct ProductDownload enum PublicCheckoutRail impl PublicCheckoutRail enum ShopPatchTarget const SHOP_DOC_PAGE_STYLE const STUDIO_GATE_HREF const STUDIO_TWIN_ATTR const ENTERS_VIEW_CLIENT

Functions

By call-graph weight (PageRank; 1.0 is the average function). 182 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
shop_panelsrc/view_templates.rs:1349fn71606.4
PublicCheckoutRail::submit_labelsrc/view_templates.rs:1157method954105.7
build_shop_order_tree_for_viewersrc/view_templates.rs:752fn241615.5
i64_fieldsrc/view_templates.rs:1639fn311603.8
build_shop_order_treesrc/view_templates.rs:737fn911013.7
public_fulfillment_kindsrc/view_templates.rs:839fn247823.5
humanize_labelsrc/view_templates.rs:1517fn82703.5
shop_connectsrc/view_templates.rs:1643fn311913
supplier_bindingsrc/view_templates.rs:1528fn41402.7
price_displaysrc/view_templates.rs:1579fn311202.7
shop_product_cards_forsrc/view_templates.rs:1000fn93203192.5
shop_product_cardssrc/view_templates.rs:994fn31712.1
public_checkout_railsrc/view_templates.rs:1195fn115702.1
item_is_activesrc/view_templates.rs:1533fn31912
friendly_fulfillmentsrc/view_templates.rs:1494fn2115711.9
is_safe_media_urlsrc/view_templates.rs:1629fn75201.9
merchant_navigationsrc/view_templates.rs:135fn306851.9
seo_blurbsrc/view_templates.rs:693fn195501.8
test_comments_nodesrc/view_templates.rs:1819fn31821.8
item_price_displaysrc/view_templates.rs:1563fn123741.7
shop_document_patch_framesrc/view_templates.rs:1307fn326181.6
merchant_querysrc/view_templates.rs:131fn31811.5
media_urlssrc/view_templates.rs:1612fn163511.4
build_shop_item_treesrc/view_templates.rs:901fn261611.4
without_transport_statussrc/view_templates.rs:1365fn41501.4
buy_now_formsrc/view_templates.rs:1208fn31211.3
shop_document_patch_valuesrc/view_templates.rs:1247fn201311.3
shop_index_panelsrc/view_templates.rs:1357fn31311.3
available_quantitysrc/view_templates.rs:1537fn51711.2
shop_items_tablesrc/view_templates.rs:720fn113811.2
build_shop_detail_treesrc/view_templates.rs:811fn101411.2
by_weight_unitsrc/view_templates.rs:1548fn142301.1
shop_status_badge_htmlsrc/view_templates.rs:1485fn73721.1
item_unlockssrc/view_templates.rs:937fn62211.1
merchant_workspace_viewer_allowedsrc/view_templates.rs:467fn82621.1
show_shop_currencysrc/view_templates.rs:1587fn209921.1
shop_patch_targetsrc/view_templates.rs:1278fn184221.1
order_eyebrowsrc/view_templates.rs:792fn102501
shop_studio_local_pathsrc/view_templates.rs:168fn31301
product_monogramsrc/view_templates.rs:977fn102401
is_audio_urlsrc/view_templates.rs:956fn41401
build_shop_merchant_access_treesrc/view_templates.rs:476fn294541
shop_status_intentsrc/view_templates.rs:1445fn344101
shop_owner_patch_targetsrc/view_templates.rs:1297fn93111
shop_index_status_html_from_valuessrc/view_templates.rs:1410fn101320.9
harbor_studiosrc/view_templates.rs:3616fn61200.9
product_page_htmlsrc/view_templates.rs:3623fn181230.9
merchant_recordssrc/view_templates.rs:125fn63400.9
shop_product_edit_template_context_with_runtimesrc/view_templates.rs:351fn91152130.8
made_to_ordersrc/view_templates.rs:946fn61310.8
try_serve_merchantsrc/view_templates.rs:71fn284320.8
kind_tile_labelsrc/view_templates.rs:962fn1311220.8
order_total_displaysrc/view_templates.rs:803fn62430.8
PublicCheckoutRail::item_titlesrc/view_templates.rs:1137method95200.8
merchant_sessionsrc/view_templates.rs:100fn72310.8
PublicCheckoutRail::storefront_linesrc/view_templates.rs:1168method95100.7
requestsrc/view_templates.rs:519fn111200.7
public_fulfillment_labelsrc/view_templates.rs:864fn95110.7
shop_vansrc/view_templates.rs:3061fn161200.7
merchant_access_documentsrc/view_templates.rs:108fn172220.7
PublicCheckoutRail::receipt_hintsrc/view_templates.rs:1178method155200.7
shop_pay_sheetsrc/view_templates.rs:1216fn95230.7
delivery_choicesrc/view_templates.rs:1230fn112220.7
order_live_status_htmlsrc/view_templates.rs:1370fn92140.7
orders_live_status_htmlsrc/view_templates.rs:1380fn82130.7
cart_live_status_htmlsrc/view_templates.rs:1389fn72130.7
shop_index_live_status_htmlsrc/view_templates.rs:1401fn82130.7
item_live_status_htmlsrc/view_templates.rs:1421fn72130.7
shop_live_status_htmlsrc/view_templates.rs:1429fn102150.7
stored_shopsrc/view_templates.rs:328fn61310.7
merchant_shop_not_foundsrc/view_templates.rs:338fn121310.7
shop_index_route_contextsrc/view_templates.rs:291fn31200.6
shop_catalog_itemssrc/view_templates.rs:1096fn132230.6
query_cart_idsrc/view_templates.rs:1112fn94200.6
PublicCheckoutRail::cart_titlesrc/view_templates.rs:1147method95100.6
Session::authenticated_session_account_idsrc/view_templates.rs:514trait impl31000.5
merchant_raw_documents_reject_request_identity_and_disable_cachingsrc/view_templates.rs:532fn193030.5
merchant_session_comes_only_from_matching_original_runtime_provenancesrc/view_templates.rs:553fn111060.5
json_only_merchant_templates_cannot_reconstruct_authenticationsrc/view_templates.rs:566fn72020.5
merchant_printful_setup_is_explicit_and_escapes_instruction_textsrc/view_templates.rs:575fn111010.5
item_central_sectionssrc/view_templates.rs:881fn134030.5
item_central_sectionssrc/view_templates.rs:896fn31000.5
shop_index_live_slotsrc/view_templates.rs:1397fn31020.5
merchant_navigation_links_the_studio_gate_and_carries_the_studio_twinsrc/view_templates.rs:1667fn142030.5
local_production_stages_read_as_plain_englishsrc/view_templates.rs:1683fn71010.5
merchant_invalid_page_does_not_emit_rows_or_disclose_totalssrc/view_templates.rs:1691fn111030.5
merchant_index_filters_workspaces_before_emitting_real_linkssrc/view_templates.rs:1704fn131030.5
merchant_read_failure_is_not_an_empty_shop_or_order_listsrc/view_templates.rs:1719fn132040.5
missing_product_edit_does_not_turn_into_create_formsrc/view_templates.rs:1734fn61020.5
merchant_navigation_keeps_shop_scope_and_exact_active_surfacesrc/view_templates.rs:1742fn202010.5
merchant_paging_counts_only_allowed_matching_shopssrc/view_templates.rs:1764fn251030.5
seo_blurb_passes_short_text_through_and_collapses_whitespacesrc/view_templates.rs:1792fn41010.5
seo_blurb_cuts_on_a_word_boundary_within_the_limitsrc/view_templates.rs:1798fn111010.5
seo_blurb_handles_a_first_word_longer_than_the_limitsrc/view_templates.rs:1811fn51010.5
route_context_passes_through_decoded_shop_idsrc/view_templates.rs:1824fn81010.5
route_context_rejects_empty_idssrc/view_templates.rs:1834fn81020.5
route_contexts_reject_missing_keys_with_public_error_messagessrc/view_templates.rs:1844fn101060.5
public_template_contexts_separate_an_absence_from_an_empty_statesrc/view_templates.rs:1856fn373060.5
item_route_context_passes_plain_idsrc/view_templates.rs:1895fn71010.5
item_route_context_ignores_caller_controlled_viewer_claimssrc/view_templates.rs:1904fn91010.5
price_display_formats_minor_unitssrc/view_templates.rs:1915fn51010.5
media_urls_accepts_strings_and_objects_filters_unsafesrc/view_templates.rs:1922fn101010.5
product_grid_links_each_item_to_its_product_pagesrc/view_templates.rs:1934fn251020.5
product_grid_empty_without_itemssrc/view_templates.rs:1961fn31010.5
product_editor_tree_renders_new_and_prefilled_edit_formssrc/view_templates.rs:1966fn263020.5
page_shape_shop_merchant_surfacessrc/view_templates.rs:1994fn401040.5
merchant_dashboard_tree_summarizes_orders_stock_and_revenuesrc/view_templates.rs:2036fn812020.5
merchant_dashboard_prefers_the_runtime_acceptance_receiptsrc/view_templates.rs:2119fn391020.5
merchant_workspace_requires_exact_signed_in_owner_without_leaking_metricssrc/view_templates.rs:2160fn7510100.5
pos_register_tree_renders_tiles_ticket_and_chargesrc/view_templates.rs:2237fn401020.5
by_weight_pricing_reads_metadata_and_suffixes_pricesrc/view_templates.rs:2279fn121020.5
pos_register_tree_handles_empty_catalogsrc/view_templates.rs:2293fn71020.5
patch_target_uses_first_non_empty_identifier_in_priority_ordersrc/view_templates.rs:2302fn111010.5
trimmed_non_empty_rejects_blank_valuessrc/view_templates.rs:2315fn41010.5
item_tree_is_a_page_with_buy_cardssrc/view_templates.rs:2321fn601030.5
order_route_context_decodes_and_rejects_emptysrc/view_templates.rs:2383fn81010.5
order_tree_renders_items_payment_and_addresssrc/view_templates.rs:2393fn441030.5
private_order_tree_carries_capability_and_private_buyer_detailsrc/view_templates.rs:2439fn271010.5
supplier_draft_order_offers_confirm_and_cancel_cardssrc/view_templates.rs:2468fn361010.5
paid_order_tree_drops_payment_cardsrc/view_templates.rs:2506fn71010.5
checkout_return_never_words_an_unpaid_order_as_paidsrc/view_templates.rs:2517fn314040.5
owner_order_page_offers_decline_only_for_a_requested_refundsrc/view_templates.rs:2552fn312020.5
merchant_navigation_links_the_order_list_and_drop_codessrc/view_templates.rs:2585fn81010.5
refund_form_shows_only_for_paid_orderssrc/view_templates.rs:2595fn162010.5
shareable_order_separates_customer_requests_from_owner_refundssrc/view_templates.rs:2613fn611010.5
shareable_order_refund_request_states_are_truthful_and_idempotentsrc/view_templates.rs:2676fn501010.5
checkout_created_order_still_offers_payment_cardsrc/view_templates.rs:2728fn81010.5
order_status_pills_cover_lifecyclesrc/view_templates.rs:2738fn231010.5
a_locally_made_order_names_its_machine_and_receiptsrc/view_templates.rs:2763fn361020.5
variant_selector_skips_single_variant_productssrc/view_templates.rs:2801fn41010.5
variant_selector_names_its_option_and_prices_differing_variantssrc/view_templates.rs:2807fn162010.5
wallet_shops_show_cre8_and_price_display_matches_the_pay_sheetsrc/view_templates.rs:2825fn91030.5
a_cart_of_downloads_asks_for_no_addresssrc/view_templates.rs:2836fn111020.5
the_owner_sees_their_listing_not_a_purchase_formsrc/view_templates.rs:2849fn263030.5
a_paid_receipt_leads_with_what_was_boughtsrc/view_templates.rs:2877fn91010.5
product_grid_groups_variants_into_one_tilesrc/view_templates.rs:2888fn411020.5
product_grid_does_not_group_legacy_blank_product_idssrc/view_templates.rs:2931fn211020.5
detail_tree_is_a_page_with_product_gridsrc/view_templates.rs:2954fn371030.5
storefront_prints_the_shop_summary_once_and_without_transport_readoutsrc/view_templates.rs:2993fn301020.5
an_empty_storefront_sends_the_owner_to_the_editor_and_a_shopper_back_to_the_directorysrc/view_templates.rs:3025fn261020.5
only_the_configured_owner_session_counts_as_the_shop_ownersrc/view_templates.rs:3053fn71010.5
a_storefront_with_a_van_says_where_it_is_and_what_is_aboardsrc/view_templates.rs:3079fn191040.5
a_stale_fix_reads_as_last_seen_and_a_fixless_van_says_sosrc/view_templates.rs:3100fn101040.5
an_overflowed_order_names_the_maker_it_went_tosrc/view_templates.rs:3112fn231010.5
the_launch_gate_states_the_overflow_nomination_and_its_absencesrc/view_templates.rs:3137fn111010.5
public_item_description_hides_supplier_import_diagnosticssrc/view_templates.rs:3150fn701020.5
item_status_pills_cover_price_and_stocksrc/view_templates.rs:3222fn182010.5
shop_status_pills_carry_only_what_a_shopper_can_usesrc/view_templates.rs:3242fn191010.5
orders_route_context_accepts_decoded_email_refsrc/view_templates.rs:3263fn101010.5
orders_tree_lists_orders_with_deep_linkssrc/view_templates.rs:3275fn311010.5
orders_status_pills_count_lifecycle_bucketssrc/view_templates.rs:3308fn131010.5
shop_index_tree_links_each_storefrontsrc/view_templates.rs:3323fn241020.5
order_tree_shows_discount_breakdownsrc/view_templates.rs:3349fn301010.5
order_tree_links_history_only_for_an_authenticated_buyersrc/view_templates.rs:3381fn371010.5
anonymous_order_history_renders_privacy_recovery_without_echoing_emailsrc/view_templates.rs:3420fn91010.5
cart_route_context_validates_idsrc/view_templates.rs:3431fn81010.5
open_cart_tree_offers_checkout_and_removesrc/view_templates.rs:3441fn361020.5
converted_cart_tree_links_order_instead_of_checkoutsrc/view_templates.rs:3479fn101010.5
item_tree_offers_add_to_cartsrc/view_templates.rs:3491fn191020.5
item_tree_has_product_identity_and_owner_edit_action_only_when_authorizedsrc/view_templates.rs:3512fn431030.5
product_page_puts_price_stock_and_buying_beside_the_picturesrc/view_templates.rs:3557fn233030.5
a_digital_file_names_its_format_and_links_only_for_its_ownersrc/view_templates.rs:3582fn115020.5
product_stock_line_speaks_only_for_tracked_stocksrc/view_templates.rs:3595fn202040.5
a_sold_original_shows_its_home_and_links_its_printssrc/view_templates.rs:3643fn293020.5
an_original_for_sale_says_how_it_arrives_and_an_enquiry_item_askssrc/view_templates.rs:3674fn294020.5
storefront_tiles_badge_editions_and_lead_with_originalssrc/view_templates.rs:3705fn236020.5
a_pickup_order_says_where_to_collectsrc/view_templates.rs:3730fn332020.5
item_associations_render_only_returned_ids_and_dedupe_selfsrc/view_templates.rs:3765fn251020.5
item_associations_distinguish_denied_empty_and_unavailable_with_directionsrc/view_templates.rs:3792fn241020.5
emit_shop_product_detail_previewsrc/view_templates.rs:3819fn441030.5
unavailable_item_has_no_purchase_edit_or_live_controlssrc/view_templates.rs:3865fn182030.5
public_checkout_rails_name_only_the_configured_payment_pathsrc/view_templates.rs:3885fn81010.5
native_buy_now_uses_authenticated_cre8_copy_without_a_peer_id_fieldsrc/view_templates.rs:3895fn131010.5
only_goods_ask_where_to_ship_and_a_charge_is_paid_oncesrc/view_templates.rs:3910fn144010.5
stripe_buy_now_keeps_payment_details_on_the_hosted_railsrc/view_templates.rs:3926fn141010.5
supplier_binding_requires_objectsrc/view_templates.rs:3942fn61010.5
fulfillment_cards_require_exact_production_or_preview_evidencesrc/view_templates.rs:3950fn321010.5
route_contexts_reject_missing_keys_and_index_is_emptysrc/view_templates.rs:3984fn131060.5
public_template_contexts_render_empty_state_pagessrc/view_templates.rs:3999fn253060.5
live_status_helpers_cover_fallback_and_error_htmlsrc/view_templates.rs:4026fn701080.5
document_patch_value_routes_to_each_live_slotsrc/view_templates.rs:4098fn162020.5
item_patch_also_refreshes_the_comment_listsrc/view_templates.rs:4116fn101020.5

Source not readable from this process.