Skip to content
  • Marco De Donno's avatar
    0dfd771a
    Add the tooltip regarding missing information for admin on the submission list page · 0dfd771a
    Marco De Donno authored
    This will load the page with all submission, THEN make a ajax query to
    get all the submissions that contains missing informations. This is done
    in two steps to have a fast loading page.
    
    The query takes ~800ms for 100 submissions with the query done on the
    server side before the loading, and only 70ms when done without this
    information but loaded via ajax after. Since the backend function is the
    same, the total time is the same, but at least the homepage will load
    for the user.
    
    We shall refactor the backend sql query to have only one query done
    against postgresql.
    0dfd771a
    Add the tooltip regarding missing information for admin on the submission list page
    Marco De Donno authored
    This will load the page with all submission, THEN make a ajax query to
    get all the submissions that contains missing informations. This is done
    in two steps to have a fast loading page.
    
    The query takes ~800ms for 100 submissions with the query done on the
    server side before the loading, and only 70ms when done without this
    information but loaded via ajax after. Since the backend function is the
    same, the total time is the same, but at least the homepage will load
    for the user.
    
    We shall refactor the backend sql query to have only one query done
    against postgresql.
Loading