Content Explorer: Add Custom Metadata Column

Open
#515 1 comment 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
react, typescript
Domain
frontend

Research direction

Start by reading src/components/ContentExplorer/ItemList.js around line 172 and trace how the Content Explorer table columns are configured. Define the supported customization shape for adding metadata properties or overriding default columns, then verify that the resulting API supports both cases described in the issue.

Written by the indexing model from the issue text.

Description

enhancement investigation valid

Solution:
Provide the ability to add custom metadata template property values as a column or to override the default columns in a json array property. For example; columnProps. This would allow the modification of some of the ItemList.Table.Column values found here:
https://github.com/box/box-ui-elements/blob/master/src/components/ContentExplorer/ItemList.js#L172

Describe alternatives you've considered
Manually modify the Table in the ItemList and add/remove columns. Realistically, its easier to create a custom list/table component rather than modify and maintain the UI Element.

Dominant language
TypeScript
Stars
551
Forks
351
Avg merge
1d 8h
Merged PRs (30d)
34

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from box/box-ui-elements

All issues in box/box-ui-elements

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.