modus-web-components icon indicating copy to clipboard operation
modus-web-components copied to clipboard

Table: Context Menu-Only Row Actions

Open rhenness opened this issue 1 year ago • 3 comments

Prerequisites

Proposal

The current table component displays a number of row actions inline within a designated column. Once the inline space is exhausted, additional actions are placed within a context menu dropdown. This feature request proposes the ability to move all row actions to the context menu dropdown, removing them from the inline display entirely.

Requirements:

  1. Context Menu-Only Actions:

    • Provide an option to configure the table so that all row actions are placed within the context menu dropdown, with none displayed inline.
  2. Icons in Context Menu:

    • Ensure that icons can be displayed next to individual row actions within the context menu.
    • Allow customization of icon colors within the context menu to give the consumer more control.

Motivation and context

No response

What is the issue regarding ?

@trimble-oss/modus-web-components

Priority

Medium

What product/project are you using Modus Components for ?

Trimble Viewpoint applications

What is your team/division name ?

Trimble Viewpoint

Are you willing to contribute ?

None

Are you using Modus Web Components in production ?

No response

rhenness avatar Aug 13 '24 17:08 rhenness

Hello @ryan-henness-trimble! Thanks for opening an issue. The Modus core team will get back to you soon (usually within 24-hours) and provide guidance on how to proceed. Contributors are welcome to participate in the discussion and provide their input on how to best solve the issue, and even submit a PR if they want to.

Please wait until the issue is ready to be worked on before submitting a PR, or you can reach out to the core team if it is time bound. For trivial things, or bugs that don't change the expected behaviors and UI, you can go ahead and make a PR.

github-actions[bot] avatar Aug 13 '24 17:08 github-actions[bot]

@enowak1031 We may want to escalate this one as it's behaving differently than the majority of design doc requirements. Can this be bumped closer to the front of the review queue? I am willing to implement the feature

rhenness avatar Aug 18 '24 00:08 rhenness

@enowak1031 We may want to escalate this one as it's behaving differently than the majority of design doc requirements. Can this be bumped closer to the front of the review queue? I am willing to implement the feature

@ryan-henness-trimble Your proposal has been reviewed and accepted by the design team. We would gladly accept your contributions.

PS: Icons in context menu - The modus-list component is used in the dropdown and currently accepts left icon as prop, if your requirement is to show icons on the right side which is one of the variants as per Figma, then we need to change the selected state as well.

prashanth-offcl avatar Aug 19 '24 18:08 prashanth-offcl