Feat: add hidden mode and new documentation
Some checks failed
Deploy Website / deploy (push) Failing after 29s

This commit is contained in:
2026-02-26 12:31:56 +01:00
parent 8af17c01d8
commit b728b38d6e
95 changed files with 1055 additions and 286 deletions

View File

@@ -87,7 +87,7 @@ fn render_top_layout(
render_sequencer(frame, app, snapshot, areas[idx]);
}
fn render_audio_viz(frame: &mut Frame, app: &App, area: Rect) {
pub(crate) fn render_audio_viz(frame: &mut Frame, app: &App, area: Rect) {
let mut panels: Vec<VizPanel> = Vec::new();
if app.audio.config.show_scope { panels.push(VizPanel::Scope); }
if app.audio.config.show_spectrum { panels.push(VizPanel::Spectrum); }
@@ -491,7 +491,7 @@ fn viz_gain(data: &[f32], config: &crate::state::audio::AudioConfig) -> f32 {
}
}
fn render_scope(frame: &mut Frame, app: &App, area: Rect, orientation: Orientation) {
pub(crate) fn render_scope(frame: &mut Frame, app: &App, area: Rect, orientation: Orientation) {
let theme = theme::get();
let block = Block::default()
.borders(Borders::ALL)
@@ -507,7 +507,7 @@ fn render_scope(frame: &mut Frame, app: &App, area: Rect, orientation: Orientati
frame.render_widget(scope, inner);
}
fn render_spectrum(frame: &mut Frame, app: &App, area: Rect) {
pub(crate) fn render_spectrum(frame: &mut Frame, app: &App, area: Rect) {
let theme = theme::get();
let block = Block::default()
.borders(Borders::ALL)
@@ -525,7 +525,7 @@ fn render_spectrum(frame: &mut Frame, app: &App, area: Rect) {
frame.render_widget(spectrum, inner);
}
fn render_lissajous(frame: &mut Frame, app: &App, area: Rect) {
pub(crate) fn render_lissajous(frame: &mut Frame, app: &App, area: Rect) {
let theme = theme::get();
let block = Block::default()
.borders(Borders::ALL)
@@ -600,7 +600,7 @@ fn render_script_preview(
frame.render_widget(Paragraph::new(lines), inner);
}
fn render_prelude_preview(
pub(crate) fn render_prelude_preview(
frame: &mut Frame,
app: &App,
user_words: &HashSet<String>,