forked from 1b-agent/opencadstudio-upstream
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:
1 parent
4bf14baea4
commit
28d8246c68
16 files changed
+960
-98
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user