0.1.26-alpha release

* refactor: render chat rows from presentation state

* Fix Meshtastic channel sync and add MeshCore CN preset

* Add granular chat notification settings

* Add SD settings backup and restore

* Prepare 0.1.26-alpha release

---------

Co-authored-by: vicliu624 <vicliu@outlook.com>
This commit is contained in:
vicliu
2026-05-19 16:04:42 +08:00
committed by GitHub
parent adf33068d7
commit bf7068b02b
1071 changed files with 78913 additions and 14110 deletions
@@ -0,0 +1,35 @@
#pragma once
#include "linux_sim_runtime_entry.h"
#include "ui_ascii_runtime/ascii_descriptor_renderer.h"
#include <cstddef>
namespace trailmate::apps::linux_sim_shell
{
class LinuxSimRuntimeRenderer
{
public:
bool render(const LinuxSimRuntimeEntry& entry);
bool ready() const noexcept;
bool usingPrimaryScreenGraph() const noexcept;
bool usedPrimaryScreenGraph() const noexcept;
bool fallbackUsed() const noexcept;
bool usedFallback() const noexcept;
std::size_t lineCount() const noexcept;
const trailmate::linux_sim::AsciiRenderLine* lines() const noexcept;
const char* line(std::size_t index) const noexcept;
private:
bool renderFallback(const LinuxSimRuntimeEntry& entry);
private:
trailmate::linux_sim::AsciiDescriptorRenderer descriptor_renderer_{};
bool ready_ = false;
bool primary_ = false;
bool fallback_ = true;
};
} // namespace trailmate::apps::linux_sim_shell