"use strict"; import link from '../services/link.js'; import utils from '../services/utils.js'; const $showDialogButton = $("#recent-changes-button"); const $dialog = $("#recent-changes-dialog"); async function showDialog() { glob.activeDialog = $dialog; $dialog.dialog({ modal: true, width: 800, height: 700 }); const result = await server.get('recent-changes/'); $dialog.html(''); const groupedByDate = groupByDate(result); for (const [dateDay, dayChanges] of groupedByDate) { const changesListEl = $('