short-d / short

URL shortening service written in Go and React
https://short-d.com
MIT License
870 stars 148 forks source link

Extend Table component to support resizing and aligning items #973

Closed rohithbalaji123 closed 4 years ago

rohithbalaji123 commented 4 years ago

Current Behavior ( Optional for new feature )

Description

There is no way when using the table component to change the size of the headers or aligning the items inside the table from the parent component. These two functionalities are highly required and we should support this basic customization in a table.

Screenshots

image

New Behavior

Description

Added support to customize header font size and aligning both header and body data.

Screenshots

image
codecov[bot] commented 4 years ago

Codecov Report

Merging #973 into master will increase coverage by 0.02%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #973      +/-   ##
==========================================
+ Coverage   52.36%   52.39%   +0.02%     
==========================================
  Files         141      141              
  Lines        3439     3441       +2     
  Branches      167      167              
==========================================
+ Hits         1801     1803       +2     
  Misses       1578     1578              
  Partials       60       60              
Flag Coverage Δ
#golang 71.69% <ø> (ø)
#typescript 22.86% <100.00%> (+0.11%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
frontend/src/component/ui/Table.tsx 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update fc38924...d3eaf9c. Read the comment docs.