chore: move responsibility of url valdiation to front-frontend (#5129)

* chore: move responsibility of url valdiation to frontend

* chore: fix test

* chore: fix tauri build
This commit is contained in:
Richard Shiue
2024-04-15 11:43:02 +08:00
committed by GitHub
parent 8947a89a24
commit e9e483291e
9 changed files with 34 additions and 254 deletions

View File

@ -110,7 +110,10 @@ async fn url_cell_data_test() {
if let Some(cell) = row_cell.cell.as_ref() {
let cell = URLCellData::from(cell);
if i == 0 {
assert_eq!(cell.url.as_str(), "https://www.appflowy.io/");
assert_eq!(
cell.data.as_str(),
"AppFlowy website - https://www.appflowy.io"
);
}
}
}