Christos Kormaris

Results 10 issues of Christos Kormaris

https://github.com/aileftech/snap-admin/blob/e9c5e52d15efc5feac57a5277f6dc7d3bfe0fe67/src/main/resources/templates/snapadmin/fragments/generic_table.html#L9 The scroll in the SQL console result tables is not working. Please add the class "overflow-auto" to the div element: <div th:if="${results != null && results.size() > 0}" class="overflow-auto">

https://github.com/aileftech/snap-admin/blob/e9c5e52d15efc5feac57a5277f6dc7d3bfe0fe67/src/main/resources/templates/snapadmin/fragments/table_selectable.html#L33 We want to avoid scrolling the pagination elements. Please add a div container here with the class "overflow-auto", as follows: <div class="overflow-auto"> 	<table class="table table-striped align-middle mt-3">

https://github.com/aileftech/snap-admin/blob/e9c5e52d15efc5feac57a5277f6dc7d3bfe0fe67/src/main/java/tech/ailef/snapadmin/external/dbmapping/query/DbQueryOutputField.java#L125 Please add **NullPointerException** in the catch clause as follows: try { 		DbFieldType type = DbFieldType.fromClass(result.get(this).getClass()).getConstructor().newInstance(); 				return type.toString(); 		} catch (UnsupportedFieldTypeException | InstantiationException | IllegalAccessException | IllegalArgumentException | InvocationTargetException |...

https://github.com/aileftech/snap-admin/blob/e9c5e52d15efc5feac57a5277f6dc7d3bfe0fe67/src/main/resources/static/snapadmin/js/logs.js#L6 Please change above lines to this: ```java let selects = document.querySelectorAll('select'); selects.forEach(select => { select.addEventListener('change', function(e) { let input = document.createElement('input'); input.setAttribute('name', 'page'); input.setAttribute('value', this.parentElement.querySelector("input[name=\"page\"]").value); input.setAttribute('type', 'hidden'); form.appendChild(input); input...

https://github.com/aileftech/snap-admin/blob/297224dafe486cb45666c4a33907ea1f4c94bc2d/src/main/java/tech/ailef/snapadmin/external/SnapAdmin.java#L270 Please change above lines to this: ```java Column[] columnAnnotations = f.getAnnotationsByType(Column.class); if (columnAnnotations.length != 0) { Column col = columnAnnotations[0]; return col.nullable(); } JoinColumn[] joinColumnAnnotations = f.getAnnotationsByType(JoinColumn.class); if (joinColumnAnnotations.length...

https://github.com/aileftech/snap-admin/blob/297224dafe486cb45666c4a33907ea1f4c94bc2d/src/main/resources/static/snapadmin/js/table.js#L77 Please change above lines to this: ```javascript document.querySelectorAll("div.table-selectable select.page-size").forEach(e => { e.addEventListener('change', function(e) { this.parentElement.querySelector("input[name=\"pageSize\"]").value = e.target.value; this.parentElement.submit(); }); }); ```

https://github.com/aileftech/snap-admin/blob/297224dafe486cb45666c4a33907ea1f4c94bc2d/src/main/java/tech/ailef/snapadmin/external/dbmapping/CustomJpaRepository.java#L147C1-L148C1 Please change above line to this: ```java if (field.getConnectedSchema() != null && value != null) ```

https://github.com/aileftech/snap-admin/blob/297224dafe486cb45666c4a33907ea1f4c94bc2d/src/main/resources/templates/snapadmin/settings/appearance.html#L13C1-L14C1 Maybe this should be changed to: ```javascript th:href="|/${snapadmin_baseUrl}/settings|" ```

https://github.com/aileftech/snap-admin/blob/297224dafe486cb45666c4a33907ea1f4c94bc2d/src/main/resources/templates/snapadmin/settings/appearance.html#L34C1-L35C1 I found this bug when testing the app. Correct view name should be: ```javascript "snapadmin/settings/appearance" ```

https://github.com/aileftech/snap-admin/blob/297224dafe486cb45666c4a33907ea1f4c94bc2d/src/main/java/tech/ailef/snapadmin/external/controller/SnapAdminController.java#L687 I found this bug when testing the app. Correct view name should be: ```java "snapadmin/settings/settings" ```