Skip to content

Conversation

@FabienLelaquais
Copy link
Member

What type of PR is this? (Check all that apply)

  • πŸ›  Refactor
  • ✨ Feature
  • πŸ› Bug Fix
  • ⚑ Optimization
  • πŸ“ Documentation Update

Description

The title appears next to the close button in opened persistent panes.

@FabienLelaquais FabienLelaquais self-assigned this Nov 20, 2025
@FabienLelaquais FabienLelaquais added πŸ“ˆ Improvement Improvement of a feature. πŸ–° GUI Related to GUI 🟨 Priority: Medium Not blocking but should be addressed labels Nov 20, 2025
Copilot finished reviewing on behalf of FabienLelaquais November 20, 2025 13:56
@github-actions
Copy link
Contributor

github-actions bot commented Nov 20, 2025

Coverage report for ./frontend/taipy-gui

Caution

Coverage does not meet threshold
Branches coverage not met for global: expected >=80%, but got 64.5751953125%

St.❔
Category Percentage Covered / Total
🟒 Statements
84.76% (+0.08% πŸ”Ό)
3927/4633
🟑 Branches
64.58% (+0.48% πŸ”Ό)
2645/4096
🟒 Functions
80.41% (+0.11% πŸ”Ό)
714/888
🟒 Lines
85.25% (+0.08% πŸ”Ό)
3658/4291

Test suite run success

767 tests passing in 49 suites.

Report generated by πŸ§ͺjest coverage report action from 92b54d7

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds a title property to the pane block component, allowing users to display text next to the close button in persistent panes.

Key changes:

  • Added title property configuration to backend (viselements.json, factory.py)
  • Implemented title rendering in the persistent pane header with appropriate styling based on anchor position
  • Refactored icon and styling logic into separate helper functions for better code organization

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
taipy/gui/viselements.json Added title property definition with type, default value, and documentation
taipy/gui/_renderers/factory.py Registered title property as a string type in the pane element builder
frontend/taipy-gui/src/components/Taipy/Pane.tsx Implemented title rendering in header with position-aware styling, refactored icon and style logic into helper functions

πŸ’‘ Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 20, 2025

Coverage report for ./frontend/taipy

Caution

Coverage does not meet threshold
Statements coverage not met for global: expected >=80%, but got 52.71317829457365%

St.❔
Category Percentage Covered / Total
πŸ”΄ Statements 52.71% 272/516
πŸ”΄ Branches 21.47% 67/312
πŸ”΄ Functions 14.66% 17/116
πŸ”΄ Lines 54.09% 251/464

Test suite run success

7 tests passing in 1 suite.

Report generated by πŸ§ͺjest coverage report action from 92b54d7

FredLL-Avaiga
FredLL-Avaiga previously approved these changes Nov 20, 2025
…e top of the page)

- Added support anchor string shortcuts.
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.


πŸ’‘ Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@FabienLelaquais FabienLelaquais merged commit 2603cb8 into develop Nov 24, 2025
132 of 133 checks passed
@FabienLelaquais FabienLelaquais deleted the feature/pane-title branch November 24, 2025 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

πŸ–° GUI Related to GUI πŸ“ˆ Improvement Improvement of a feature. 🟨 Priority: Medium Not blocking but should be addressed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants