Skip to content

refactor: simplify tabulator column handling and introduce primary ke…#188

Merged
mihalikv merged 6 commits into
mainfrom
add-id-column-automatically
Jun 19, 2026
Merged

refactor: simplify tabulator column handling and introduce primary ke…#188
mihalikv merged 6 commits into
mainfrom
add-id-column-automatically

Conversation

@oko-x

@oko-x oko-x commented Jun 19, 2026

Copy link
Copy Markdown
Member

…y filter widget

  • Renamed get_tabulator_columns_add_id_column_if_missing to get_tabulator_columns for clarity.
  • Removed the logic for conditionally adding an ID column, now handled by get_effective_list_display.
  • Introduced PrimaryKeyFilterWidget to allow filtering by primary key, enhancing the usability of the list view.
  • Updated tests to ensure proper functionality of the new primary key handling and filtering capabilities.

…y filter widget

- Renamed `get_tabulator_columns_add_id_column_if_missing` to `get_tabulator_columns` for clarity.
- Removed the logic for conditionally adding an ID column, now handled by `get_effective_list_display`.
- Introduced `PrimaryKeyFilterWidget` to allow filtering by primary key, enhancing the usability of the list view.
- Updated tests to ensure proper functionality of the new primary key handling and filtering capabilities.
@oko-x

oko-x commented Jun 19, 2026

Copy link
Copy Markdown
Member Author

@codex

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6e075ca698

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread src/django_smartbase_admin/engine/admin_base_view.py Outdated
Comment thread src/django_smartbase_admin/engine/filter_widgets.py
@oko-x

oko-x commented Jun 19, 2026

Copy link
Copy Markdown
Member Author

@codex re-review with fixes

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ff37499a11

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread src/django_smartbase_admin/engine/admin_base_view.py
Comment thread src/django_smartbase_admin/engine/admin_base_view.py
@oko-x

oko-x commented Jun 19, 2026

Copy link
Copy Markdown
Member Author

@codex re-review fixes

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8cc6bc8b1a

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread src/django_smartbase_admin/engine/filter_widgets.py Outdated
Comment thread src/django_smartbase_admin/mcp/tests/test_pk_field.py
@oko-x

oko-x commented Jun 19, 2026

Copy link
Copy Markdown
Member Author

@codex all good?

@chatgpt-codex-connector

Copy link
Copy Markdown

To use Codex here, create a Codex account and connect to github.

@mihalikv mihalikv merged commit 82cbf28 into main Jun 19, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants