add: better mobile chats state
add: move channels list to turbo-frame fix: don't spam _render (socket)
This commit is contained in:
parent
0dbf660399
commit
c549fdd274
5 changed files with 265 additions and 170 deletions
|
@ -93,6 +93,7 @@ pub const MOD_WARNINGS: &str = include_str!("./public/html/mod/warnings.html");
|
|||
pub const CHATS_APP: &str = include_str!("./public/html/chats/app.html");
|
||||
pub const CHATS_STREAM: &str = include_str!("./public/html/chats/stream.html");
|
||||
pub const CHATS_MESSAGE: &str = include_str!("./public/html/chats/message.html");
|
||||
pub const CHATS_CHANNELS: &str = include_str!("./public/html/chats/channels.html");
|
||||
|
||||
// langs
|
||||
pub const LANG_EN_US: &str = include_str!("./langs/en-US.toml");
|
||||
|
@ -260,6 +261,7 @@ pub(crate) async fn write_assets(config: &Config) -> PathBufD {
|
|||
write_template!(html_path->"chats/app.html"(crate::assets::CHATS_APP) -d "chats" --config=config);
|
||||
write_template!(html_path->"chats/stream.html"(crate::assets::CHATS_STREAM) --config=config);
|
||||
write_template!(html_path->"chats/message.html"(crate::assets::CHATS_MESSAGE) --config=config);
|
||||
write_template!(html_path->"chats/channels.html"(crate::assets::CHATS_CHANNELS) --config=config);
|
||||
|
||||
html_path
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue