Initial commit: unified dashboard suite state with Khira and Image Manipulator 3-file setup

This commit is contained in:
2026-10-26 11:17:13 +05:30
commit 6c60b4ecb8
148 changed files with 128149 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
with open('/home/creserver/Desktop/Vaishno_workspace/Unified_Dashboard_Suite_Go/web/bulk-api-tester/static/js/app.js', 'r') as f:
content = f.read()
old_save = """ async saveLastRunToServer() {
try {
const payload = {
bulk: { ...this.state.bulk, running: false },
response: this.state.response,
responseTab: this.state.responseTab
};
await fetch('/api/last-run', {"""
new_save = """ async saveLastRunToServer() {
try {
const lightweightResults = this.state.bulk.results.map(r => ({
...r,
binaryData: null,
fullContent: null
}));
const payload = {
bulk: { ...this.state.bulk, running: false, results: lightweightResults },
response: this.state.response,
responseTab: this.state.responseTab
};
await fetch('/api/last-run', {"""
content = content.replace(old_save, new_save)
with open('/home/creserver/Desktop/Vaishno_workspace/Unified_Dashboard_Suite_Go/web/bulk-api-tester/static/js/app.js', 'w') as f:
f.write(content)
print("Applied binary stripping patch")