Skip to content

Релиз 2026.1#26

Merged
vananiev merged 24 commits into
masterfrom
develop
Jun 26, 2026
Merged

Релиз 2026.1#26
vananiev merged 24 commits into
masterfrom
develop

Conversation

@vananiev

@vananiev vananiev commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Добавлена поддержка переменного количества строк в заголовках таблиц: альтернативные варианты поддерживают разное количество строк:

private enum VtbCashTableHeader implements TableHeaderColumn {
        STOCK_MARKET(
                OptionalTableColumn.of(
                        AnyOfTableColumn.of(
                                MultiLineTableColumn.of("Исходящий остаток", "основной рынок"),
                                MultiLineTableColumn.of("Исходящий остаток", "Опциональная строка", "основной рынок")

Количество строк в заголовке таблиц в таком кейсе заранее не задается. Количество строк находится в рантайме:

# ReportPage.java

Table createTable(String tableName,
                  int tableNameRowCount,
                  String firstDataRowPrefix,
                  @Nullable String lastRowPrefix,
                  Class<T> headerDescription);

# TableFactory.java

default <T extends Enum<T> & TableHeaderColumn>
Table create(ReportPage reportPage,
             String tableName,
             int tableNameRowCount,
             String firstDataRowPrefix,
             @Nullable String lastRowPrefix,
             Class<T> headerDescription);

@vananiev vananiev self-assigned this Jun 26, 2026
@vananiev vananiev added the major Priority label Jun 26, 2026
@codecov

codecov Bot commented Jun 26, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 99.18033% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 98.46%. Comparing base (a322204) to head (1930da9).
⚠️ Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
...rg/spacious_team/table_wrapper/api/ReportPage.java 98.55% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master      #26      +/-   ##
============================================
+ Coverage     98.00%   98.46%   +0.45%     
- Complexity      341      343       +2     
============================================
  Files            31       32       +1     
  Lines           702      716      +14     
  Branches         83       94      +11     
============================================
+ Hits            688      705      +17     
  Misses            4        4              
+ Partials         10        7       -3     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@vananiev vananiev added this to the 2026.1 milestone Jun 26, 2026
@sonarqubecloud

Copy link
Copy Markdown

@vananiev vananiev merged commit 032a0fc into master Jun 26, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

major Priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant