Skip to content

Conversation

yarikoptic
Copy link
Member

made with claude

not tested locally yet

yarikoptic and others added 3 commits September 4, 2025 18:01
- Add get_head_commit_date() function to extract commit dates from HEAD
- Populate head_dt field in _update_dataset_url_info()
- Add configurable columns system with URL parameter support
- Add "Last commit date" column with sorting support
- Implement dynamic table rendering based on column configuration
- Add comprehensive tests for new functionality

Fixes #342: Now shows separate "date of the last commit" column and
supports configurable columns via URL parameters (e.g. ?columns=url,head_dt)

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
Complete overhaul of the overview sorting system to eliminate code duplication
between _SORT_ATTRS and _AVAILABLE_COLUMNS. The new system uses cleaner URL
parameters (sort_by=column&sort=direction) and maintains a single source of
truth for column metadata.

Key changes:
- Remove _SORT_ATTRS dictionary entirely
- Add db_field mappings to _AVAILABLE_COLUMNS for database field resolution
- Update URL parameter system to use sort_by and sort parameters
- Simplify template logic by removing unnecessary conditionals
- Update all tests to use new parameter format
- Add backward compatibility translation for existing test cases

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
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.

1 participant