feat: reorganize admin settings with tabbed interface and documentation

- Reorganized admin settings into tabbed interface (General, Security, Payment Methods)
- Vertical tabs on desktop, horizontal scrollable on mobile
- Moved Payment Methods from separate menu to Settings tab
- Fixed admin profile reuse and dashboard blocking
- Fixed maintenance mode guard to use AppConfig model
- Added admin auto-redirect after login (admins → /admin, users → /)
- Reorganized documentation into docs/ folder structure
- Created comprehensive README and documentation index
- Added PWA and Web Push notifications to to-do list
This commit is contained in:
dwindown
2025-10-13 09:28:12 +07:00
parent 49d60676d0
commit 89f881e7cf
99 changed files with 4884 additions and 392 deletions

View File

@@ -42,6 +42,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
exports.AppModule = void 0;
const common_1 = require("@nestjs/common");
const config_1 = require("@nestjs/config");
const core_1 = require("@nestjs/core");
const path = __importStar(require("path"));
const prisma_module_1 = require("./prisma/prisma.module");
const auth_module_1 = require("./auth/auth.module");
@@ -52,6 +53,7 @@ const transactions_module_1 = require("./transactions/transactions.module");
const categories_module_1 = require("./categories/categories.module");
const otp_module_1 = require("./otp/otp.module");
const admin_module_1 = require("./admin/admin.module");
const maintenance_guard_1 = require("./common/guards/maintenance.guard");
let AppModule = class AppModule {
};
exports.AppModule = AppModule;
@@ -75,7 +77,12 @@ exports.AppModule = AppModule = __decorate([
admin_module_1.AdminModule,
],
controllers: [health_controller_1.HealthController],
providers: [],
providers: [
{
provide: core_1.APP_GUARD,
useClass: maintenance_guard_1.MaintenanceGuard,
},
],
})
], AppModule);
//# sourceMappingURL=app.module.js.map