-
- Downloads
add(feature): SuperAdmin [3] (#4925)
* Add Tenant to AdminPanel
* Rubocop
* esf
* Fix layout
* Add Tenant destroy
* Add pagination to Tenants
* Fix props
* Remove translations
* Improve specs
* remove byebug
---------
Co-authored-by:
Ahmad Farhat <ahmad.af.farhat@gmail.com>
Showing
- app/assets/stylesheets/application.bootstrap.scss 6 additions, 0 deletionsapp/assets/stylesheets/application.bootstrap.scss
- app/controllers/api/v1/admin/tenants_controller.rb 29 additions, 2 deletionsapp/controllers/api/v1/admin/tenants_controller.rb
- app/javascript/components/admin/tenants/TenantRow.jsx 15 additions, 1 deletionapp/javascript/components/admin/tenants/TenantRow.jsx
- app/javascript/components/admin/tenants/TenantsTable.jsx 1 addition, 0 deletionsapp/javascript/components/admin/tenants/TenantsTable.jsx
- app/javascript/components/admin/tenants/forms/DeleteTenantForm.jsx 66 additions, 0 deletions...cript/components/admin/tenants/forms/DeleteTenantForm.jsx
- app/javascript/hooks/mutations/admin/tenants/useDeleteTenant.jsx 39 additions, 0 deletions...ascript/hooks/mutations/admin/tenants/useDeleteTenant.jsx
- app/serializers/tenant_serializer.rb 1 addition, 1 deletionapp/serializers/tenant_serializer.rb
- config/routes.rb 1 addition, 1 deletionconfig/routes.rb
- db/migrate/20230307184209_change_tenant_id_type_to_uuid.rb 31 additions, 0 deletionsdb/migrate/20230307184209_change_tenant_id_type_to_uuid.rb
- db/schema.rb 2 additions, 2 deletionsdb/schema.rb
- spec/controllers/admin/tenants_controller_spec.rb 147 additions, 0 deletionsspec/controllers/admin/tenants_controller_spec.rb
- spec/factories/tenant_factory.rb 24 additions, 0 deletionsspec/factories/tenant_factory.rb
spec/factories/tenant_factory.rb
0 → 100644
Please register or sign in to comment