justpy-org / justpy

An object oriented high-level Python Web Framework that requires no frontend programming
https://justpy.io
Apache License 2.0
1.22k stars 96 forks source link

Improve mountall in demobrowser #584

Closed byzakyz closed 2 years ago

byzakyz commented 2 years ago
  1. add 2 select fields for range (eg. selecting 1 to 220)
  2. mount only demos in range
  3. do binary search to find broken example causing display of highcharts parliament visualisation
WolfgangFahl commented 2 years ago

use http://v0-13.quasar-framework.org/components/numeric.html?

byzakyz commented 2 years ago

Binary Search:

first and second half 1- 110 and 111 - 220 if problem in first half: split here if problem in second half: split here

max number of steps: log2(220) = ~8

Negative approach : we are actually searching for the working ones

byzakyz commented 2 years ago

as next step add status as attribute to examples.json entries only for the ones that are not working.

byzakyz commented 2 years ago

created a slider with range. Found example number 130 as the one causing the problem. A-animated

WolfgangFahl commented 2 years ago

grafik looks good.

grafik also helps. Now we need to make sure that examples that break other examples are not mounted by default but only when explictly asking to do this.

example number 130 as the one causing the problem -> please give the id/name of the examples since the numbers change when new examples such as #589 are added.