Skip to content

1.1.0-beta.3

Pre-release
Pre-release

Choose a tag to compare

@tradicije tradicije released this 04 Mar 04:33
· 374 commits to main since this release

OpenTT 1.1.0-beta.3

This release focuses on stabilizing the internal architecture after the recent refactor and finalizing the shortcode extraction into dedicated PSR-4 classes. It also introduces a new calendar-based match filtering experience and improves how upcoming matches are displayed.


Highlights

  • Completed the shortcode architecture migration — the former unified shortcode trait now acts only as a delegating layer while implementations live in dedicated PSR-4 classes.
  • Added a popup calendar filter to opentt_matches_grid, allowing users to filter matches by date with visual match-day indicators.
  • Improved upcoming match display by showing scheduled match time instead of 0:0 for not-yet-played matches.

New Features

Match Calendar Filter

opentt_matches_grid now includes an optional popup calendar filter (opentt_match_date) that allows users to quickly filter matches by date.

The calendar highlights match days by status:

  • Green tint → played matches
  • Blue tint → upcoming matches

This filter integrates directly with the existing matches grid filtering system.

Improved Upcoming Match Display

Upcoming matches no longer display a placeholder score (0:0).
Instead, the scheduled match time (for example 19h) is shown until the match is played.


Engineering

Significant internal refactoring continued in this release:

  • Completed remaining stkbopentt identifier normalization across shortcode filters, query keys, and internal UI identifiers.
  • Continued core service extraction by moving admin settings, onboarding actions, import/export actions, schema migration orchestration, and import payload inspection into dedicated PSR-4 service classes (src/WordPress/*, src/Infrastructure/*).
  • OpenTT_Unified_Core now acts primarily as a delegating layer.
  • Removed redundant core wrappers for notice URLs and ID/date parsing.
  • Completed shortcode migration from includes/modules/trait-opentt-unified-shortcodes.php into dedicated classes under src/WordPress/Shortcodes/*.

Shortcodes extracted in this phase include:

  • Match views
    matches_grid, matches_list, match_games, match_report, match_video, show_match_teams

  • Club and player content
    clubs, show_players, club_news, player_news, related_posts, club_info, player_info, club_form, player_transfers

  • Rankings and statistics
    standings_table, top_players_list, mvp, player_stats, team_stats

  • Competition views
    competition_info, competitions_grid, h2h


Assets & UI

  • Renamed frontend CSS override namespace from stkb-unified-* to opentt-unified-*.
  • Updated admin JS dataset flags from stkb* to opentt*.
  • Switched admin branding logo source to assets/img/admin-ui-logo.png.
  • Improved matches-grid calendar UI and aligned its styling with existing filter controls.
  • Added documentation for the calendar behavior in the admin shortcode catalog.
  • Simplified the calendar trigger to an icon-only button.
  • Standardized calendar month/day labels to English.

Tooling

  • Added a standalone CLI utility:

This tool converts legacy stkb_* JSON export packages into OpenTT-compatible import files.


Import / Export Improvements

Improved error messaging when imports exceed PHP upload limits:

  • UPLOAD_ERR_INI_SIZE
  • UPLOAD_ERR_FORM_SIZE

The importer now displays:

  • actual file size
  • current upload_max_filesize
  • current post_max_size

Localization

Updated admin translation dictionaries in languages/ to reflect the new opentt-* / opentt_* identifiers used across the UI and query actions.


Fixes

  • Fixed opentt_matches_grid contextual league-season filtering so league archives now respect the active sezona context instead of aggregating matches from all seasons.
  • Corrected match center display logic so upcoming matches show scheduled time instead of a placeholder score.