dazzling-dusk-82436
10/15/2022, 5:31 PMdazzling-dusk-82436
10/15/2022, 5:31 PMdazzling-dusk-82436
10/15/2022, 5:32 PMhtml
<div style="height:400px; width:400px;">
  <svg viewBox="0 0 400 400">  
    <line x1="0" y1="150" x2="0" y2="400" stroke="black" />
    <line x1="0" y1="400" x2="400" y2="400" stroke="black" />
    <rect x="10" y="195" width="50" height="200" fill="none" stroke="black"/>
    <rect x="70" y="245" width="50" height="150" fill="none" stroke="black"/>
    <rect x="130"  y="320" width="50" height="75" fill="none" stroke="black"/>
    <rect x="190"  y="320" width="50" height="75" fill="none" stroke="black"/>
    <rect x="250"  y="195"width="50" height="200" fill="none" stroke="black"/>
    <rect x="310" y="195" width="50" height="200" fill="none" stroke="black"/>             
  </svg>
</div>dazzling-dusk-82436
10/15/2022, 5:35 PMhtml
<my-chart>
  <bar-chart-dataset>
    <bar-chart-category name="my-cat"> 
      <data-point x="10" y="200"></data-point>
      <data-point x="20" y="150"></data-point>
      <data-point x="30" y="75"></data-point>
      <data-point x="40" y="75"></data-point>
      <data-point x="50" y="200"></data-point>
      <data-point x="60" y="200"></data-point>
    </bar-chart-category>
  </bar-chart-dataset>
</my-chart>dazzling-dusk-82436
10/15/2022, 5:36 PMdazzling-dusk-82436
10/15/2022, 5:37 PMdazzling-dusk-82436
10/15/2022, 5:40 PMdazzling-dusk-82436
10/15/2022, 5:40 PMminiature-lizard-24702
10/15/2022, 6:36 PMminiature-lizard-24702
10/15/2022, 6:39 PMhtml
<my-chart source="/my/data/source">
<table>
  <tbody >
     <tr><td>something<td>something
     <tr><td>something<td>something
     <tr><td>something<td>something
     <tr><td>something<td>something
     <tr><td>something<td>something
     ....
  </tbody>
</table>
</my-chart>dazzling-dusk-82436
10/15/2022, 7:42 PMdazzling-dusk-82436
10/15/2022, 7:42 PMminiature-lizard-24702
10/15/2022, 7:54 PMmysterious-toddler-20573
10/15/2022, 9:41 PMmysterious-toddler-20573
10/15/2022, 9:41 PMmysterious-toddler-20573
10/15/2022, 9:42 PMmysterious-toddler-20573
10/15/2022, 9:42 PMblue-gold-89534
10/15/2022, 10:41 PMhtml
<table class="table is-striped is-narrow is-hoverable">
    <thead><tr> ... </tr></thead>
    <tbody id="PartsList">
        {% include "parts_list.html" %}
    </tbody>
</table>
the table is using infinite scrolling:
html
{% for shelfstation in shelfstation_list %}
    {% include "ss_detail.html" %}
{% endfor %}
and ss_detail.html:
html
<tr id="{{ part.serial }}-row"
    {% if forloop.last and next_page_qs %}
        hx-get="{% url 'shelfstations' %}?{{next_page_qs}}" 
        hx-trigger="revealed" 
        hx-swap="afterend" 
    {% endif %}>
    <td class="">...</td> 
    <td class="">...</td>
</tr>
I am having troubles adding a hx-get="{% url 'parts' %}?page={{ page_obj.number }}" including a hx-trigger="every 10s" somewhere so that the infinite scrolling is not "destroyed" on trigger.blue-gold-89534
10/15/2022, 10:43 PMmysterious-toddler-20573
10/15/2022, 11:07 PMgorgeous-airport-54386
10/15/2022, 11:08 PMmysterious-toddler-20573
10/15/2022, 11:08 PMmysterious-toddler-20573
10/15/2022, 11:08 PMmysterious-toddler-20573
10/15/2022, 11:08 PMgorgeous-airport-54386
10/15/2022, 11:09 PMgorgeous-airport-54386
10/15/2022, 11:09 PMmysterious-toddler-20573
10/15/2022, 11:09 PMblue-gold-89534
10/15/2022, 11:09 PMmysterious-toddler-20573
10/15/2022, 11:09 PMgorgeous-airport-54386
10/15/2022, 11:10 PM