Suggestions regarding the dbadmin

48 views
Skip to first unread message

Ali

unread,
Nov 2, 2025, 4:11:56 PM (11 days ago) Nov 2
to py4web
Hi,

Here are two suggestions regarding the dbadmin view:

1. Table rows should have the same height. This improves readability and is also the standard practice in visualizing databases.

2. The current dbadmin does not show fields of a certain type, such as text or email list. That likely has to do with space restrictions. I believe it helps to still show them, but just a truncated version, as before.

Notably, the earlier version of the dashboard included both these features. Hopefully, re-creating them does not take much time.

Thank you!

-ali

Massimo DiPierro

unread,
Nov 2, 2025, 8:18:29 PM (11 days ago) Nov 2
to Ali, py4web
I agree with 1. Will fix it.

I also agree with 2 but the idea was not to retrieve by default fields that are potentially large. Actually we may currently be retrieving them even if we do not display them. I can add lists and text.

--
You received this message because you are subscribed to the Google Groups "py4web" group.
To unsubscribe from this group and stop receiving emails from it, send an email to py4web+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/py4web/38dde2d7-850f-4e52-ab64-9b5b686347f5n%40googlegroups.com.

Ali

unread,
Nov 2, 2025, 10:43:19 PM (11 days ago) Nov 2
to py4web
Thanks a lot, Massimo!

I do see the point you mentioned about a possible slowdown resulting from retrieving fields that are (potentially) large. Maybe we should add lists because they often have a reasonable size, but continue to leave out text. For the fields that are not shown, I still find it very helpful to show the field header but include a box for all rows, just like how the previous dbadmin was implemented. That way,  the table shows a list of all available fields without consuming too many resources. Also, it will match the standard practice for displaying databases where field headers are typically all shown.

Thank you, again!

Ali

unread,
Nov 3, 2025, 8:09:14 PM (10 days ago) Nov 3
to py4web
Just to be clear, the use of boxes instead of the actual content applies to the initial table view in the dbadmin. The page opened by clicking the "Details" button should show the complete content even for text fields, if possible.

- ali

Ali

unread,
Nov 3, 2025, 8:14:55 PM (10 days ago) Nov 3
to py4web
Another helpful field type to include, hopefully with its content directly present on the original table view, is the reference type. (The type used to refer to the ID field of another table.)

Thank you!

Ali

unread,
Nov 5, 2025, 2:19:43 PM (8 days ago) Nov 5
to py4web

Now that the dbadmin is being updated, I’d like to suggest two other improvements:

  • The common_filter should not be applied, since dbadmin is a natural place for administrators to review and manage databases. At the very least, the standard is_active-based common filter should be disabled, in my opinion.

  • The previous version of dbadmin provided hyperlinks for cells under columns of type reference. Clicking on a value would take the user to the corresponding row in the related table. I believe this is a valuable feature worth keeping.

Thank you!
-ali
Reply all
Reply to author
Forward
0 new messages