feat(ui): add discussions and semantic theming
Generate web discussion snapshots in CI; native builds use the public feed and an offline cache.
This commit is contained in:
parent
4bf14baea4
commit
28d8246c68
16 changed files with 960 additions and 98 deletions
|
|
@ -3959,6 +3959,16 @@ impl OpenCADStudio {
|
|||
self.videos_loading = false;
|
||||
Task::none()
|
||||
}
|
||||
Message::DiscussionsFetched(Ok(discussions)) => {
|
||||
self.discussions_loading = false;
|
||||
self.discussions = discussions;
|
||||
Task::none()
|
||||
}
|
||||
// Offline: keep the native cache (web leaves the panel empty).
|
||||
Message::DiscussionsFetched(Err(_)) => {
|
||||
self.discussions_loading = false;
|
||||
Task::none()
|
||||
}
|
||||
Message::RecentThumbsLoaded(thumbs) => {
|
||||
for (path, handle) in thumbs {
|
||||
self.recent_thumbs.insert(path, handle);
|
||||
|
|
|
|||
Loading…
Reference in a new issue