Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Augment the table control's columns capabilities #1439

Open
1 of 5 tasks
FabienLelaquais opened this issue Jun 21, 2024 · 13 comments
Open
1 of 5 tasks

Augment the table control's columns capabilities #1439

FabienLelaquais opened this issue Jun 21, 2024 · 13 comments
Labels
🖰 GUI Related to GUI hacktoberfest - 100💎 Issues rewarded by 100 points hacktoberfest hacktoberfest issues 🆘 Help wanted Open to participation from the community 📈 Improvement Improvement of a feature. 🟩 Priority: Low Low priority and doesn't need to be rushed ⚔️ Quest Tracks quest-bot quests 📝Release Notes Impacts the Release Notes or the Documentation in general

Comments

@FabienLelaquais
Copy link
Member

FabienLelaquais commented Jun 21, 2024

Description

The columns property of table can be set to a dictionary where, for every column, one can customize:

  • The number or date format to apply
  • The title of the column
  • The index where it should appear in the table.

This issue is about considering adding support for all indexed properties of the table:

  • group_by, set to the name of the aggregation function, would indicate the table would perform an aggregation on this column using this function;
  • style, if set to a string, would add it as a CSS class to this column's cells;
  • tooltip, if set to some text, would be the text used when the column is hover over;
  • filter, if set to True, allows for filtering on this column;
  • nan_value, if set to some text, would have the table use that as the representation for a 'no value' cell;
  • editable, if set to True, allows for editing this column;
  • lov could be set to a list of string values that are allowed for this column.
  • width could be set to force the width of this column.

Setting columns[<column_name>].<property> would overwrite a potential table.<property>[<column_name>].

Note that we may also want to add the indexed title property to table... for homogeneity.

Acceptance Criteria

  • Ensure new code is unit tested, and check code coverage is at least 90%.
  • Propagate any change on the demos and run all of them to ensure there is no breaking change.
  • Ensure any change is well documented.

Code of Conduct

  • I have checked the existing issues.
  • I am willing to work on this issue (optional)
@FabienLelaquais FabienLelaquais added 📈 Improvement Improvement of a feature. 🖰 GUI Related to GUI 🟩 Priority: Low Low priority and doesn't need to be rushed labels Jun 21, 2024
@FredLL-Avaiga
Copy link
Member

ColumnDesc interface definition is here

@FabienLelaquais FabienLelaquais added the 📝Release Notes Impacts the Release Notes or the Documentation in general label Jun 22, 2024
@pravintargaryen
Copy link

can i take this?

@jrobinAV
Copy link
Member

@pravintargaryen Our core maintainer team has not reviewed this issue. We will let you know as soon as possible if we want to implement it.
Thank you for your understanding.

@jrobinAV jrobinAV added 🆘 Help wanted Open to participation from the community hacktoberfest hacktoberfest issues hacktoberfest - 100💎 Issues rewarded by 100 points labels Sep 27, 2024
@KunjShah95
Copy link

CAN U ASSIGN IT TO ME I WANT TO CONTRIBUTE TO IT

@FlorianJacta
Copy link
Member

You have been assigner to another issue already @KunjShah95

@AlexandreSajus
Copy link
Contributor

AlexandreSajus commented Oct 4, 2024

CAN U ASSIGN IT TO ME I WANT TO CONTRIBUTE TO IT

YOU ARE ASSIGNED HERE ALREADY: #1248

@Shaik-mohd-huzaifa
Copy link

@AlexandreSajus Can you assign me this issue?

@Shaik-mohd-huzaifa
Copy link

Is the issue located in table.tsx or tablefilter.tsx

Copy link

quest-bot bot commented Oct 7, 2024

New Quest! image New Quest!

A new Quest has been launched in @Avaiga’s repo.
Merge a PR that solves this issue to loot the Quest and earn your reward.


Some loot has been stashed in this issue to reward the solver!

🗡 Comment @quest-bot embark to check-in for this Quest and start solving the issue. Other solvers will be notified!

⚔️ When you submit a PR, comment @quest-bot loot #1439 to link your PR to this Quest.

Questions? Check out the docs.

@quest-bot quest-bot bot added the ⚔️ Quest Tracks quest-bot quests label Oct 7, 2024
@Shaik-mohd-huzaifa
Copy link

@quest-bot embark

Copy link

quest-bot bot commented Oct 7, 2024

@Shaik-mohd-huzaifa has embarked on their Quest. 🗡

  • @Shaik-mohd-huzaifa has been on GitHub since 2021.
  • They have merged 27 public PRs in that time.
  • Their swords are blessed with CSS and HTML magic ✨
  • They haven't contributed to this repo before.

Questions? Check out the docs.

Copy link
Contributor

This issue has been labelled as "🥶Waiting for contributor" because it has been inactive for more than 14 days. If you would like to continue working on this issue, please add another comment or create a PR that links to this issue. If a PR has already been created which refers to this issue, then you should explicitly mention this issue in the relevant PR. Otherwise, you will be unassigned in 14 days. For more information please refer to the contributing guidelines.

@github-actions github-actions bot added the 🥶Waiting for contributor Issues or PRs waiting for a long time label Oct 22, 2024
Copy link
Contributor

github-actions bot commented Nov 6, 2024

This issue has been unassigned automatically because it has been marked as "🥶Waiting for contributor" for more than 14 days with no activity.

@github-actions github-actions bot removed the 🥶Waiting for contributor Issues or PRs waiting for a long time label Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🖰 GUI Related to GUI hacktoberfest - 100💎 Issues rewarded by 100 points hacktoberfest hacktoberfest issues 🆘 Help wanted Open to participation from the community 📈 Improvement Improvement of a feature. 🟩 Priority: Low Low priority and doesn't need to be rushed ⚔️ Quest Tracks quest-bot quests 📝Release Notes Impacts the Release Notes or the Documentation in general
Projects
None yet
Development

No branches or pull requests

8 participants