Skip to content

[NAE-2478] Persist Sorting in User Preference Data - #347

Open
renczesstefan wants to merge 7 commits into
release/7.0.2from
NAE-2478
Open

[NAE-2478] Persist Sorting in User Preference Data#347
renczesstefan wants to merge 7 commits into
release/7.0.2from
NAE-2478

Conversation

@renczesstefan

@renczesstefan renczesstefan commented Aug 21, 2026

Copy link
Copy Markdown
Member

Description

Implements NAE-2478

Dependencies

No new dependencies were introduced

Third party dependencies

No new dependencies were introduced

Blocking Pull requests

There are no dependencies on other PR

How Has Been This Tested?

This was tested manually and with unit tests.

Test Configuration

Name Tested on
OS macOS Tahoe 26.5.2
Runtime Node 20.17.0
Dependency Manager NPM 10.8.2
Framework version Angular 17.3.11
Run parameters
Other configuration

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • My changes have been checked, personally or remotely, with @machacjozef
  • I have commented my code, particularly in hard-to-understand areas
  • I have resolved all conflicts with the target branch of the PR
  • I have updated and synced my code with the target branch
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing tests pass locally with my changes:
    • Lint test
    • Unit tests
    • Integration tests
  • I have checked my contribution with code analysis tools:
  • I have made corresponding changes to the documentation:
    • Developer documentation
    • User Guides
    • Migration Guides

Introduced sorting support for headers by updating preferences, services, and UI components. This includes saving sort states, updating the header's edit mode, and enhancing the user interface with icons for sorting interactions.
Updated SCSS to fix alignment issues, adjust padding, and refine icon styles. Simplified HTML layout to ensure consistent spacing and applied new class names for better styling consistency. Changes improve usability and maintainability.
Updated SCSS to fix alignment issues, adjust padding, and refine icon styles. Simplified HTML layout to ensure consistent spacing and applied new class names for better styling consistency. Changes improve usability and maintainability.
Revised sorting functionality to improve header sorting behavior, including new functions for updating and saving sort modes. Adjusted styles and HTML for better UI consistency, and introduced `sortingHeaderSelected` to manage sort direction changes effectively.
@coderabbitai

coderabbitai Bot commented Aug 21, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 0b91c6b3-ecdd-4ce7-b471-fc58f10059c0


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Previously, a warning was logged when sorting headers could not be restored from preferences. This change simplifies the code by removing the warning, as it does not impact functionality and reduces log noise.
Replaced the `setHeaders` method with a new `setHeadersAndSorts` method to handle headers and sorts together. This enhances consistency and readability by centralizing the logic for updating preferences. Adjusted references in the `abstract-header-service` to use the updated method.
This update introduces the getSorts method to the mock service, returning undefined by default. It ensures consistency with expected service behavior during tests.
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
13.3% Coverage on New Code (required ≥ 50%)
B Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

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