# shifter130/rozvrh architecture

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

- Interactive diagram: https://gitdiagram.com/shifter130/rozvrh
- Repository: https://github.com/shifter130/rozvrh

## Overview

rozvrh is a Windows Phone school timetable app. Users view weekday lesson slots, tap a slot to edit its subject, and return to the schedule; saved subjects also determine the weekday lesson count shown on the live tile. The sampled code confirms settings-based persistence, navigation, and tile updates. The README describes the product and its seven-lesson display limitation; other unsampled UI and localization wiring is not inferred.

Main entry points: [`rozvrh/MainPage.xaml.cs`](https://github.com/shifter130/rozvrh/blob/main/rozvrh/MainPage.xaml.cs) (Schedule view), [`rozvrh/Page1.xaml.cs`](https://github.com/shifter130/rozvrh/blob/main/rozvrh/Page1.xaml.cs) (Lesson editor), [`rozvrh/Localization/AppResources.resx`](https://github.com/shifter130/rozvrh/blob/main/rozvrh/Localization/AppResources.resx) (Localized resources), [`rozvrh/LocalizedStrings.cs`](https://github.com/shifter130/rozvrh/blob/main/rozvrh/LocalizedStrings.cs) (Resource accessor)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_schedule["Schedule"]
  node_schedule_page["Schedule view<br/>[MainPage.xaml.cs]"]
  node_lesson_storage[("Lesson settings<br/>[MainPage.xaml.cs]")]
end

subgraph group_editing["Lesson editing"]
  node_edit_page["Lesson editor<br/>[Page1.xaml.cs]"]
end

subgraph group_platform["Phone platform"]
  node_live_tile["Live tile<br/>[MainPage.xaml.cs]"]
  node_localization["Localized resources<br/>[AppResources.resx]"]
  node_localized_strings["Resource accessor"]
  node_app["App lifecycle<br/>[App.xaml.cs]"]
end

node_user(("Phone user"))
node_phone_shell["Phone tile service"]

node_user -->|"views and taps"| node_schedule_page
node_schedule_page -->|"navigates to"| node_edit_page
node_edit_page -->|"returns to"| node_schedule_page
node_schedule_page -->|"reads and clears"| node_lesson_storage
node_edit_page -->|"saves lesson"| node_lesson_storage
node_schedule_page -->|"updates tile"| node_live_tile
node_live_tile -->|"counts lessons"| node_lesson_storage
node_live_tile -->|"updates tile"| node_phone_shell
node_schedule_page -->|"uses text"| node_localization
node_edit_page -->|"uses text"| node_localization
node_localized_strings -->|"exposes resources"| node_localization

click node_schedule_page "https://github.com/shifter130/rozvrh/blob/main/rozvrh/MainPage.xaml.cs"
click node_lesson_storage "https://github.com/shifter130/rozvrh/blob/main/rozvrh/MainPage.xaml.cs"
click node_edit_page "https://github.com/shifter130/rozvrh/blob/main/rozvrh/Page1.xaml.cs"
click node_live_tile "https://github.com/shifter130/rozvrh/blob/main/rozvrh/MainPage.xaml.cs"
click node_localization "https://github.com/shifter130/rozvrh/blob/main/rozvrh/Localization/AppResources.resx"
click node_localized_strings "https://github.com/shifter130/rozvrh/blob/main/rozvrh/LocalizedStrings.cs"
click node_app "https://github.com/shifter130/rozvrh/blob/main/rozvrh/App.xaml.cs"

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_schedule_page,node_lesson_storage,node_user toneBlue
class node_edit_page toneAmber
class node_live_tile,node_localization,node_localized_strings,node_app toneMint
class node_phone_shell toneIndigo
```

## Components

### Schedule

- [Schedule view](https://github.com/shifter130/rozvrh/blob/main/rozvrh/MainPage.xaml.cs): `rozvrh/MainPage.xaml.cs`
- [Lesson settings](https://github.com/shifter130/rozvrh/blob/main/rozvrh/MainPage.xaml.cs): `rozvrh/MainPage.xaml.cs`

### Lesson editing

- [Lesson editor](https://github.com/shifter130/rozvrh/blob/main/rozvrh/Page1.xaml.cs): `rozvrh/Page1.xaml.cs`

### Phone platform

- [Live tile](https://github.com/shifter130/rozvrh/blob/main/rozvrh/MainPage.xaml.cs): `rozvrh/MainPage.xaml.cs`
- [Localized resources](https://github.com/shifter130/rozvrh/blob/main/rozvrh/Localization/AppResources.resx): `rozvrh/Localization/AppResources.resx`
- [Resource accessor](https://github.com/shifter130/rozvrh/blob/main/rozvrh/LocalizedStrings.cs): `rozvrh/LocalizedStrings.cs`
- [App lifecycle](https://github.com/shifter130/rozvrh/blob/main/rozvrh/App.xaml.cs): `rozvrh/App.xaml.cs`

### Other components

- **Phone user**
- **Phone tile service**

## Connections

- Phone user → Schedule view: views and taps (evidence: `rozvrh/MainPage.xaml.cs`)
- Schedule view → Lesson editor: navigates to (evidence: `rozvrh/MainPage.xaml.cs`)
- Lesson editor → Schedule view: returns to (evidence: `rozvrh/Page1.xaml.cs`)
- Schedule view → Lesson settings: reads and clears (evidence: `rozvrh/MainPage.xaml.cs`)
- Lesson editor → Lesson settings: saves lesson (evidence: `rozvrh/Page1.xaml.cs`)
- Schedule view → Live tile: updates tile (evidence: `rozvrh/MainPage.xaml.cs`)
- Live tile → Lesson settings: counts lessons (evidence: `rozvrh/MainPage.xaml.cs`)
- Live tile → Phone tile service: updates tile (evidence: `rozvrh/MainPage.xaml.cs`)
- Schedule view → Localized resources: uses text (evidence: `rozvrh/MainPage.xaml.cs`)
- Lesson editor → Localized resources: uses text (evidence: `rozvrh/Page1.xaml.cs`)
- Resource accessor → Localized resources: exposes resources (evidence: `rozvrh/LocalizedStrings.cs`)
