# tannerface26-dev/uvs-ultra-custom-ui architecture

> Architecture diagram of the GitHub repository tannerface26-dev/uvs-ultra-custom-ui, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-09). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/tannerface26-dev/uvs-ultra-custom-ui
- Repository: https://github.com/tannerface26-dev/uvs-ultra-custom-ui

## Overview

+Ultra Online is a Chrome extension that modifies the UVS Ultra browsing and deck-building experience. Its principal workflow starts with a user browsing or building a deck on uv­sultra.online: the extension improves search and filters, enhances deck views and forum-code output, and offers validated alternate artwork. The runtime is implemented as page scripts, shared card-art state, and styling. Separate scripts curate alternate-art data; their complete handoffs are not shown in the excerpts, so those relationships are left unlinked.

Main entry points: [`card-art.js`](https://github.com/tannerface26-dev/uvs-ultra-custom-ui/blob/main/card-art.js) (Artwork selection state), [`deck-card-art.js`](https://github.com/tannerface26-dev/uvs-ultra-custom-ui/blob/main/deck-card-art.js) (Deck artwork selector), [`scripts/import-tcgplayer-variants.py`](https://github.com/tannerface26-dev/uvs-ultra-custom-ui/blob/main/scripts/import-tcgplayer-variants.py) (Variant import), [`scripts/audit-tcgplayer-alternates.py`](https://github.com/tannerface26-dev/uvs-ultra-custom-ui/blob/main/scripts/audit-tcgplayer-alternates.py) (TCGplayer audit)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_search["Search experience"]
  node_search_view["Dark search view<br/>[ultra-custom.js]"]
  node_keyword_filters["Keyword filters<br/>[ultra-custom.js]"]
  node_advanced_filters["Advanced filters<br/>[ultra-custom.js]"]
  node_search_styles["Search styling<br/>[ultra-custom.css]"]
end

subgraph group_deck["Deck building"]
  node_deck_tools["Deck sorting and helpers<br/>[deck-custom.js]"]
  node_deck_drawer["Deck drawer and preview<br/>[ultra-custom.js]"]
  node_forum_code["Forum-code panel<br/>[deck-custom.js]"]
  node_deck_styles["Deck styling<br/>[deck-custom.css]"]
end

subgraph group_art["Alternate artwork"]
  node_card_art_state["Artwork selection state<br/>[card-art.js]"]
  node_art_catalog["Artwork catalog data<br/>[remote-card-art.js]"]
  node_deck_art_selector["Deck artwork selector<br/>[deck-card-art.js]"]
  node_art_styles["Artwork styling<br/>[deck-custom.css]"]
end

subgraph group_curation["Artwork curation"]
  node_tcg_audit["TCGplayer audit"]
  node_variant_import["Variant import"]
  node_runtime_art_build["Runtime artwork generation"]
end

node_user(("UVS Ultra user"))
node_site(("UVS Ultra site"))

node_user -->|"browses and builds"| node_site
node_site -->|"improves search"| node_search_view
node_site -->|"reorganizes keywords"| node_keyword_filters
node_site -->|"adds filters"| node_advanced_filters
node_site -->|"sorts decks"| node_deck_tools
node_site -->|"adds helpers"| node_forum_code
node_site -->|"enhances deck view"| node_deck_drawer
node_site -->|"offers artwork choices"| node_deck_art_selector
node_deck_art_selector -->|"reads and selects"| node_card_art_state
node_card_art_state -->|"reads variants"| node_art_catalog
node_tcg_audit -.->|"audits candidates"| node_variant_import
node_variant_import -.->|"supplies catalog"| node_runtime_art_build

click node_search_view "https://github.com/tannerface26-dev/uvs-ultra-custom-ui/blob/main/ultra-custom.js"
click node_keyword_filters "https://github.com/tannerface26-dev/uvs-ultra-custom-ui/blob/main/ultra-custom.js"
click node_advanced_filters "https://github.com/tannerface26-dev/uvs-ultra-custom-ui/blob/main/ultra-custom.js"
click node_search_styles "https://github.com/tannerface26-dev/uvs-ultra-custom-ui/blob/main/ultra-custom.css"
click node_deck_tools "https://github.com/tannerface26-dev/uvs-ultra-custom-ui/blob/main/deck-custom.js"
click node_deck_drawer "https://github.com/tannerface26-dev/uvs-ultra-custom-ui/blob/main/ultra-custom.js"
click node_forum_code "https://github.com/tannerface26-dev/uvs-ultra-custom-ui/blob/main/deck-custom.js"
click node_deck_styles "https://github.com/tannerface26-dev/uvs-ultra-custom-ui/blob/main/deck-custom.css"
click node_card_art_state "https://github.com/tannerface26-dev/uvs-ultra-custom-ui/blob/main/card-art.js"
click node_art_catalog "https://github.com/tannerface26-dev/uvs-ultra-custom-ui/blob/main/remote-card-art.js"
click node_deck_art_selector "https://github.com/tannerface26-dev/uvs-ultra-custom-ui/blob/main/deck-card-art.js"
click node_art_styles "https://github.com/tannerface26-dev/uvs-ultra-custom-ui/blob/main/deck-custom.css"
click node_tcg_audit "https://github.com/tannerface26-dev/uvs-ultra-custom-ui/blob/main/scripts/audit-tcgplayer-alternates.py"
click node_variant_import "https://github.com/tannerface26-dev/uvs-ultra-custom-ui/blob/main/scripts/import-tcgplayer-variants.py"
click node_runtime_art_build "https://github.com/tannerface26-dev/uvs-ultra-custom-ui/blob/main/scripts/build-remote-card-art.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_search_view,node_keyword_filters,node_advanced_filters,node_search_styles,node_user toneBlue
class node_deck_tools,node_deck_drawer,node_forum_code,node_deck_styles toneAmber
class node_card_art_state,node_art_catalog,node_deck_art_selector,node_art_styles toneMint
class node_tcg_audit,node_variant_import,node_runtime_art_build toneRose
class node_site toneIndigo
```

## Components

### Search experience

- [Dark search view](https://github.com/tannerface26-dev/uvs-ultra-custom-ui/blob/main/ultra-custom.js): `ultra-custom.js`
- [Keyword filters](https://github.com/tannerface26-dev/uvs-ultra-custom-ui/blob/main/ultra-custom.js): `ultra-custom.js`
- [Advanced filters](https://github.com/tannerface26-dev/uvs-ultra-custom-ui/blob/main/ultra-custom.js): `ultra-custom.js`
- [Search styling](https://github.com/tannerface26-dev/uvs-ultra-custom-ui/blob/main/ultra-custom.css): `ultra-custom.css`

### Deck building

- [Deck sorting and helpers](https://github.com/tannerface26-dev/uvs-ultra-custom-ui/blob/main/deck-custom.js): `deck-custom.js`
- [Deck drawer and preview](https://github.com/tannerface26-dev/uvs-ultra-custom-ui/blob/main/ultra-custom.js): `ultra-custom.js`
- [Forum-code panel](https://github.com/tannerface26-dev/uvs-ultra-custom-ui/blob/main/deck-custom.js): `deck-custom.js`
- [Deck styling](https://github.com/tannerface26-dev/uvs-ultra-custom-ui/blob/main/deck-custom.css): `deck-custom.css`

### Alternate artwork

- [Artwork selection state](https://github.com/tannerface26-dev/uvs-ultra-custom-ui/blob/main/card-art.js): `card-art.js`
- [Artwork catalog data](https://github.com/tannerface26-dev/uvs-ultra-custom-ui/blob/main/remote-card-art.js): `remote-card-art.js`
- [Deck artwork selector](https://github.com/tannerface26-dev/uvs-ultra-custom-ui/blob/main/deck-card-art.js): `deck-card-art.js`
- [Artwork styling](https://github.com/tannerface26-dev/uvs-ultra-custom-ui/blob/main/deck-custom.css): `deck-custom.css`

### Artwork curation

- [TCGplayer audit](https://github.com/tannerface26-dev/uvs-ultra-custom-ui/blob/main/scripts/audit-tcgplayer-alternates.py): `scripts/audit-tcgplayer-alternates.py`
- [Variant import](https://github.com/tannerface26-dev/uvs-ultra-custom-ui/blob/main/scripts/import-tcgplayer-variants.py): `scripts/import-tcgplayer-variants.py`
- [Runtime artwork generation](https://github.com/tannerface26-dev/uvs-ultra-custom-ui/blob/main/scripts/build-remote-card-art.py): `scripts/build-remote-card-art.py`

### Other components

- **UVS Ultra user**
- **UVS Ultra site**

## Connections

- UVS Ultra user → UVS Ultra site: browses and builds (evidence: `README.md`)
- UVS Ultra site → Dark search view: improves search (evidence: `README.md`)
- UVS Ultra site → Keyword filters: reorganizes keywords (evidence: `README.md`)
- UVS Ultra site → Advanced filters: adds filters (evidence: `README.md`)
- UVS Ultra site → Deck sorting and helpers: sorts decks (evidence: `README.md`)
- UVS Ultra site → Forum-code panel: adds helpers (evidence: `README.md`)
- UVS Ultra site → Deck drawer and preview: enhances deck view (evidence: `ultra-custom.js`)
- UVS Ultra site → Deck artwork selector: offers artwork choices (evidence: `README.md`)
- Deck artwork selector → Artwork selection state: reads and selects (evidence: `deck-card-art.js`)
- Artwork selection state → Artwork catalog data: reads variants (evidence: `card-art.js`)
- TCGplayer audit → Variant import: audits candidates
- Variant import → Runtime artwork generation: supplies catalog
