From bc4726f989379cc3ca6f8cdd35264b998ea43437 Mon Sep 17 00:00:00 2001 From: Fons van der Plas Date: Sun, 22 Oct 2023 17:11:46 +0200 Subject: [PATCH] frontend test stability --- frontend/components/welcome/Featured.js | 5 ----- frontend/components/welcome/Recent.js | 4 ++-- frontend/index.html | 2 +- frontend/welcome.css | 8 ++++---- test/frontend/helpers/pluto.js | 2 ++ 5 files changed, 9 insertions(+), 12 deletions(-) diff --git a/frontend/components/welcome/Featured.js b/frontend/components/welcome/Featured.js index 6937d13241..08f9a4e84b 100644 --- a/frontend/components/welcome/Featured.js +++ b/frontend/components/welcome/Featured.js @@ -119,13 +119,8 @@ export const Featured = ({ sources, direct_html_links }) => { set_waited_too_long(false) set_source_data({}) - // Start downloading the sources - const ids = Array.from(new Set(sources.map(get_id))) - console.log(ids) - console.log("123123123213123") - const promises = ids.map((id) => { const sources_for_id = sources.filter((source) => get_id(source) === id) diff --git a/frontend/components/welcome/Recent.js b/frontend/components/welcome/Recent.js index 2fbc72d5d4..c9b7e13845 100644 --- a/frontend/components/welcome/Recent.js +++ b/frontend/components/welcome/Recent.js @@ -181,7 +181,7 @@ export const Recent = ({ client, connected, remote_notebooks, CustomRecent, on_s let recents = combined_notebooks == null - ? html`
  • Loading...
  • ` + ? html`
  • Loading...
  • ` : combined_notebooks.map((nb) => { const running = nb.entry != null return html`
  • My work -