feat(workflow): example stats page with embedded Chart.js, inline form validation errors
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
#include "../fw/Kv.hpp"
|
||||
#include "../fw/Net.hpp"
|
||||
#include "../fw/Observ.hpp"
|
||||
#include "../fw/Stats.hpp"
|
||||
#include "../fw/Templates.hpp"
|
||||
|
||||
namespace molo::example::app {
|
||||
@@ -23,6 +24,7 @@ struct Services {
|
||||
std::shared_ptr<fw::Cache> cache = std::make_shared<fw::Cache>();
|
||||
std::shared_ptr<fw::Pubsub> pubsub = std::make_shared<fw::Pubsub>();
|
||||
std::shared_ptr<fw::EventBus> events = std::make_shared<fw::EventBus>();
|
||||
std::shared_ptr<fw::Stats> stats = std::make_shared<fw::Stats>();
|
||||
std::shared_ptr<fw::Metrics> metrics = std::make_shared<fw::Metrics>();
|
||||
std::shared_ptr<fw::Telemetry> telemetry =
|
||||
std::make_shared<fw::Telemetry>();
|
||||
@@ -61,6 +63,7 @@ void register_security_demo(fw::Router& router, Services& services);
|
||||
void register_formats_demo(fw::Router& router, Services& services);
|
||||
void register_realtime_demo(fw::Router& router, Services& services);
|
||||
void register_ops_demo(fw::Router& router, Services& services);
|
||||
void register_stats_demo(fw::Router& router, Services& services);
|
||||
|
||||
void load_templates(Services& services);
|
||||
void load_embedded(Services& services);
|
||||
|
||||
Reference in New Issue
Block a user