@yemi33/minions 0.1.350 → 0.1.351

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.351 (2026-04-06)
4
+
5
+ ### Fixes
6
+ - skip meeting modal re-render when data unchanged
7
+
3
8
  ## 0.1.350 (2026-04-06)
4
9
 
5
10
  ### Fixes
@@ -3,6 +3,7 @@
3
3
  let _showArchived = false;
4
4
  const MTG_PER_PAGE = 10;
5
5
  let _mtgPage = 0;
6
+ let _lastMeetingHash = '';
6
7
 
7
8
  function renderMeetings(meetings) {
8
9
  meetings = (meetings || []).filter(function(m) { return !isDeleted('mtg:' + m.id); });
@@ -213,6 +214,7 @@ function openMeetingDetail(id) {
213
214
  .then(r => r.json())
214
215
  .then(data => {
215
216
  if (!data.meeting) { alert('Meeting not found'); return; }
217
+ _lastMeetingHash = JSON.stringify(data.meeting);
216
218
  _renderMeetingDetail(data.meeting);
217
219
 
218
220
  // Live-poll while modal is open
@@ -225,10 +227,10 @@ function openMeetingDetail(id) {
225
227
  .then(r => r.json())
226
228
  .then(d => {
227
229
  if (d.meeting && _meetingPollId === id) {
228
- const body = document.getElementById('modal-body');
229
- const savedScroll = body ? body.scrollTop : 0;
230
+ const hash = JSON.stringify(d.meeting);
231
+ if (hash === _lastMeetingHash) return; // no change — skip re-render
232
+ _lastMeetingHash = hash;
230
233
  _renderMeetingDetail(d.meeting);
231
- if (body) body.scrollTop = savedScroll;
232
234
  }
233
235
  })
234
236
  .catch(function() {});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.350",
3
+ "version": "0.1.351",
4
4
  "description": "Multi-agent AI dev team that runs from ~/.minions/ — five autonomous agents share a single engine, dashboard, and knowledge base",
5
5
  "bin": {
6
6
  "minions": "bin/minions.js"