mirror of
https://github.com/thecyberlearn/quantum-ai.git
synced 2026-08-18 08:53:00 +00:00
🔧 Fix wallet 500 error and error page alignment
- Add missing stripe_payment_intent_id field to WalletTransaction model - Create and apply database migration for wallet schema fix - Fix vertical alignment of help widgets on all error pages (400, 403, 404, 500) - Add margin-left: auto to align help widgets with wallet card above - Include data_analyzer migration for file field optimization 🚀 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
314d11349c
commit
443bba21f1
@ -0,0 +1,22 @@
|
||||
# Generated by Django 5.2.4 on 2025-07-27 03:55
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("data_analyzer", "0004_fix_duplicate_fields"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name="dataanalysisagentrequest",
|
||||
name="data_file",
|
||||
field=models.FileField(
|
||||
blank=True,
|
||||
help_text="PDF file for analysis",
|
||||
upload_to="uploads/data_analyzer/",
|
||||
),
|
||||
),
|
||||
]
|
||||
@ -90,7 +90,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Help Widget -->
|
||||
<div class="agent-widget widget-small">
|
||||
<div class="agent-widget widget-small" style="margin-left: auto;">
|
||||
<div class="agent-widget-header">
|
||||
<h3 class="agent-widget-title">
|
||||
<span class="agent-icon">🛠️</span>
|
||||
|
||||
@ -76,7 +76,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Support Widget -->
|
||||
<div class="agent-widget widget-small">
|
||||
<div class="agent-widget widget-small" style="margin-left: auto;">
|
||||
<div class="agent-widget-header">
|
||||
<h3 class="agent-widget-title">
|
||||
<span class="agent-icon">🆘</span>
|
||||
|
||||
@ -76,7 +76,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Help Widget -->
|
||||
<div class="agent-widget widget-small">
|
||||
<div class="agent-widget widget-small" style="margin-left: auto;">
|
||||
<div class="agent-widget-header">
|
||||
<h3 class="agent-widget-title">
|
||||
<span class="agent-icon">💡</span>
|
||||
|
||||
@ -69,7 +69,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Status Widget -->
|
||||
<div class="agent-widget widget-small">
|
||||
<div class="agent-widget widget-small" style="margin-left: auto;">
|
||||
<div class="agent-widget-header">
|
||||
<h3 class="agent-widget-title">
|
||||
<span class="agent-icon">📊</span>
|
||||
|
||||
@ -0,0 +1,18 @@
|
||||
# Generated by Django 5.2.4 on 2025-07-27 03:54
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("wallet", "0001_initial"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name="wallettransaction",
|
||||
name="stripe_payment_intent_id",
|
||||
field=models.CharField(blank=True, default="", max_length=200, null=True),
|
||||
),
|
||||
]
|
||||
Loading…
Reference in New Issue
Block a user