<table><tr><td style="">wreissenberger created this revision.<br />Herald added a project: KDE Edu.<br />Herald added a subscriber: kde-edu.<br />wreissenberger requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D24772">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Depending on the refresh period of an INDI weather driver it could take a while until the first data point is received. Until this happens, the list of sensors remains empty.<br />
To avoid this, an immediate refresh is called when the display is initialized.</p>

<p>Additionally, some UI optimizations have been added:</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">Splitter between dome and weather display added</li>
<li class="remarkup-list-item">When only one data point is available in the history, a dot is displayed</li>
</ul></div></div><br /><div><strong>TEST PLAN</strong><div><p>Use the openweathermap INDI driver and observe, that with this fix the sensor data is immediately present</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R321 KStars</div></div></div><br /><div><strong>BRANCH</strong><div><div>observatory_sensor_refresh</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D24772">https://phabricator.kde.org/D24772</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kstars/ekos/auxiliary/weather.cpp<br />
kstars/ekos/auxiliary/weather.h<br />
kstars/ekos/observatory/observatory.cpp<br />
kstars/ekos/observatory/observatory.ui<br />
kstars/ekos/observatory/observatoryweathermodel.cpp<br />
kstars/ekos/observatory/observatoryweathermodel.h<br />
kstars/indi/indiweather.cpp<br />
kstars/indi/indiweather.h</div></div></div><br /><div><strong>To: </strong>wreissenberger<br /><strong>Cc: </strong>kde-edu, narvaez, apol<br /></div>