# sublimehq/sublime_text architecture

> Architecture diagram of the GitHub repository sublimehq/sublime_text, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2024-12-28). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/sublimehq/sublime_text
- Repository: https://github.com/sublimehq/sublime_text

## Overview

##### Project Type Analysis
This is a specialized GitHub repository serving as an issue tracking system for Sublime Text's core functionality. It's not a traditional software application but rather a structured communication and bug reporting platform.

##### Main Components

a. User Interface Layer:
- GitHub Issues Interface
- Issue Templates
- Reaction System

b. Process Flow Components:
- Bug Report Workflow
- Enhancement Request Workflow
- Issue Filtering System

c. Integration Points:
- Connection to Sublime Text Core
- Connection to Default Packages Repository
- Safe Mode Testing Environment

**[Users] → [GitHub Interface] → [Issue Management System]**
- ↓
- [Sublime Text Core Integration]

**[Issue Templates]**
- ↓
**[Validation & Categorization]**
- ↓
**[Issue Processing]**
- ↓
**[Issue Resolution Workflow]**

##### Key Elements to Emphasize

a. Issue Flow:
- Complete journey from user submission to resolution
- Decision points for bug vs. enhancement categorization
- Safe mode testing pathway

b. Validation Gates:
- Core vs. Package issue determination
- Duplicate checking process
- Required information verification

c. Integration Points:
- Connection to Sublime Text core system
- Links to related repositories (like Default Packages)
- Community interaction points

## Diagram (Mermaid)

```mermaid
flowchart TB
    subgraph UI["User Interface Layer"]
        GH["GitHub Interface"]
        IT["Issue Templates"]
        LS["Label System"]
        RS["Reaction System"]
    end

    subgraph PM["Process Management"]
        BRW["Bug Report Workflow"]
        ERW["Enhancement Request Workflow"]
        IFS["Issue Filtering System"]
        VP["Validation Process"]
    end

    subgraph CP["Core Processing"]
        STC["Sublime Text Core"]
        DPR["Default Packages Repository"]
        SMT["Safe Mode Testing"]
    end

    %% Main Flow
    Users --> GH
    GH --> IT
    IT --> VP

    %% Template Flow
    IT --> BRW
    IT --> ERW

    %% Process Flow
    VP --> IFS
    IFS --> STC
    IFS --> DPR
    BRW --> SMT
    SMT --> STC

    %% UI Interactions
    GH --> LS
    GH --> RS
    
    %% Styling
    classDef ui fill:#2374AB,stroke:#2374AB,color:#fff
    classDef process fill:#7BC950,stroke:#7BC950,color:#000
    classDef core fill:#F49D37,stroke:#F49D37,color:#000
    classDef user fill:#72A1E5,stroke:#72A1E5,color:#000

    class GH,IT,LS,RS ui
    class BRW,ERW,IFS,VP process
    class STC,DPR,SMT core
    class Users user

    %% Click Events
    click BRW "https://github.com/sublimehq/sublime_text/blob/master/.github/ISSUE_TEMPLATE/bug_report.yml"
    click ERW "https://github.com/sublimehq/sublime_text/blob/master/.github/ISSUE_TEMPLATE/enhancement_or_feature_request.yml"
    click IT "https://github.com/sublimehq/sublime_text/blob/master/.github/ISSUE_TEMPLATE/config.yml"
    click GH "https://github.com/sublimehq/sublime_text/tree/master/.github/"

    %% Legend
    subgraph Legend
        U[User Interface]:::ui
        P[Process Components]:::process
        C[Core Components]:::core
        US[Users]:::user
    end
```
