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

4001 - Datatable use Datagrid - Taxon #4178

Merged
merged 15 commits into from
Dec 18, 2024

Conversation

yaguzmang
Copy link
Contributor

@yaguzmang yaguzmang commented Dec 12, 2024

2024-12-16.19-08-17.mp4

Using enter:

2024-12-16.19-14-32.mp4

@yaguzmang yaguzmang self-assigned this Dec 17, 2024
@yaguzmang yaguzmang requested a review from minotogna December 17, 2024 00:27
@yaguzmang yaguzmang marked this pull request as ready for review December 17, 2024 00:28
@@ -1,6 +1,7 @@
{
"accepted": "Accepted",
"add": "Add",
"addValue": "Add \"{{value}}\"",
Copy link
Member

Choose a reason for hiding this comment

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

Can we reuse the add ?

@yaguzmang yaguzmang force-pushed the 4001-datatable-use-datagrid-taxon branch from c217d05 to 5cff738 Compare December 18, 2024 14:08
@mergify mergify bot merged commit a8a1dfd into 4001-datatable-use-datagrid Dec 18, 2024
5 checks passed
@mergify mergify bot deleted the 4001-datatable-use-datagrid-taxon branch December 18, 2024 16:00
mergify bot added a commit that referenced this pull request Jan 28, 2025
* 4001: Initial DataGrid POC (#4091)

* 4001: Initial DataGrid POC

Co-authored-by: Alejandro Guzman <[email protected]>

* 4001: update grid first col size

Co-authored-by: Alejandro Guzman <[email protected]>

* 4001: add gridColumn + gridRow

Co-authored-by: Alejandro Guzman <[email protected]>

---------

Co-authored-by: Alejandro Guzman <[email protected]>

* 4001 - Add initial header styles (#4100)

* 4001 - Add initial header styles

* 4001 - Split styles

* 4001 - Datatable use Datagrid - HTML tooltip & calculated cells (#4105)

* 4001 - Add data-tooltip-html prop in DataCell

* 4001 - Separate old useClassName & add table-grid__data-cell class

* 4001 - Add calculated cell styles

* 4001 - Update useClassName

* 4001 - Datatable use Datagrid - Headers (#4108)

* 4001 - Clone TableHead as GridHead using DataCells

* 4001 - Add getODPHeader util

* 4001 - Extract cell rendering logic to custom hook

* 4001 - Update styles

* 4001 - Update OdpHeaderCell

* 4001 - Fix ReviewSummaryIndicator placement

* 4001 - Update odp header class name

* 4001 - Add GridHeadCell component

* 4001 - Remove cycle return

* 4001 - Move getODPHeader

* 4001 - Add GridHeadCellProps type

* 4001 - Use classNames

* 4001 - Update getODPHeader import path

* 4001 - DataTable use DataGrid - Layout fixes (#4117)

* 4001 - Remove Multiselect from Table Grid

* 4001 - Add initial Grid Table layout fixes

* 4001 - Add FRA 2025/2020 layout fixes

* 4001 - Fix undefined spans

* 4001 - Add panEuropean 2025/2020 layout fixes

* 4001 - DataTable use DataGrid - Category cell style & Notice messages (#4134)

* 4001 - Add missing category cell style

* 4001 - Display notice messages

* 4001 - Add missing key prop

* 4001 - Fix cell placeholder style

* 4001 - Sort props

* 4001 - Rename useTableData to useParsedTable

* 4001 - Remove text-aligns & add rtl

* 4001 - Rename parsedTable to table

* 4001 - Move parseTable file

* 4001 - Remove rows concat

* 4001 - Datatable use Datagrid - Add review comments (#4169)

* 4001 - Fix layouts when review comments are enabled

* 4001 - Add highlight props

* 4001 - Add table actions

* 4001 - Add DataRow highlightRange prop

* 4001 - Add highlightRange to grid table

* 4001 - Update highlightRange calculation

* 4001 - Add firstHighlightCol & lastHighlightCol

* 4001 - Fix DataRow first & last col bug

* 4001 - Datatable use Datagrid - Text and select inputs (#4171)

* 4001 - Remove GridHead component

* 4001 - Remove GridRow component

* 4001 - Fix cells padding

* 4001 - Fix cell editable prop

* 4001 - Update text inputs

* 4001 - Delete VerticallyGrowingTextField component

* 4001 - Delete Old TextInput component

* 4001 - Fix Select container style

* 4001 - Rollback changes to InviteUserForm

* 4001 - Datatable use Datagrid - Input number (#4176)

* 4001 - Add InputNumber & use it for InputPercent

* 4001 - Use InputNumber instead of ThousandSeparated inputs

* 4001 - Sync input local value after paste

* 4001 - Simplify cell Number component

* 4001 - Remove isInteger, shouldRound, & thousandSeparated props

* 4001 - Add className, onBlur & onFocus to InputText

* 4001 - Use InputText and remove localValue

* 4001 - Datatable use Datagrid - Taxon (#4178)

* 4001 - Add CreatableSelect and input props

* 4001 - Add input event props

* 4001 - Fix Taxon code not being persisted

* 4001 - Update Taxon component

* 4001 - Add createOptionPosition & remove onPaste from Select

* 4001 - Add current node to options & save onBlur

* 4001 - Add migration taxon codes fix

* 4001 - Add _fixColumnNames function

* 4001 - Compile together column fixes

* 4001 - Delete Autocomplete component

* 4001 - Delete downshift dependency

* 4001 - Remove Taxon disabled classname

* 4001 - Use Objects.isEmpty in useOnChange

* 4001 - Handle paste in Select itself

* 4001 - Use common.add and remove common.addValue

* 4001 - Datatable use Datagrid - Table grid template columns - FRA (#4188)

* 4001 - Add Table props->style

* 4001 - Add FRA 2025 gridTemplateColumns where necessary

* 4001 - Remove all col styles related to width

* 4001 - Target only FRA for Taxon codes fix

* 4001 - Add FRA 2020 gridTemplateColumns

* 4001 - Add gridTemplateColumns to Table component

* 4001 - Add useGridTemplateColumns hook

* 4001 - Datatable use Datagrid - Table grid template columns - panEuropean (#4189)

* 4001 - Add panEuropean 2020 gridTemplateColumns

* 4001 - Add panEuropean 2025 gridTemplateColumns

* 4001 - Pass custom classname to InputText disabled div

* 4001 - Datatable use Datagrid - Fix Growing Stock Composition 2025 header row & Minor fixes (#4190)

* 4001 - Fix Growing Stock Composition 2025 header rows

* 4001 - Fix table_1_4b_2020 labels

* 4001 - Remove unnecessary section -> table styles

* 4001 - Make RowNoticeMessage span entire row

* 4001 - Datatable use Datagrid - Data download (#4192)

* 4001 - Use filename logic from ButtonTableExport in ButtonGridExport

* 4001 - Handle cells that are calculated and input

* 4001 - Handle spanning cells in DataGrid export

* 4001 - Fix table 7c NWFP category export

* 4001 - Fix odp year with status not being exported

* 4001 - Fix table 3a duplicated text bug

* 4001 - Fix growingStockComposition2025 export layout

* 4001 - Update useClassName hook

* 4001 - Use route params in OdpHeaderCell

* 4001 - Highlight only non text input calculated cells

* 4001 - Datatable Use Datagrid - Hide taxon DropdownIndicator, Vertically center input disabled & Cache fix (#4193)

* 4001 - Hide Taxon DropdownIndicator

* 4001 - Vertically center disabled input cells

* 4001 - Generate data cache only for affected tables

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>

* 4001 - Datatable use Datagrid - ButtonCopyValues (#4194)

* 4001 - Copy values from grid

* 4001 - Move and refactor Copy logic to useCopyValues hook

* 4001 - Minor rtl fix for disabled input number

* 4001 - Datatable use Datagrid - Cell borders (#4199)

* 4001 - Calculate spanning cells borders

* 4001 - Fix OdpHeaderCell header style in print view

* 4001 - Add CellHeader key props

* 4001 - Remove unnecessary col count check

* 4001 - Datatable use Datagrid - Code clean up (#4195)

* 4001 - Delete unused code

* 4001 - Remove unused clasess

* 4001 - Code formatting

* 4001 - Rename classes

* 4001 - Remove unnecessary Table wrapper

* 4001 - Delete unused ThousandSeparatedIntegerInput component

* 4001 - Datatable use Datagrid - Add first col sticky (#4202)

* 4001 - Add first col sticky

* 4001 - Add firstHeaderRowSpan empty check

* 4001 - Move sticky styles to a more specific data cell class

* 4001 - Make select cells dropdown menu visible above sticky cells

* 4001 - Add scss z-index variables

* 4001 - Datatable use Datagrid - Editable borders corrections (#4230)

* 4001 - Move grid utils to DataGrid

* 4001 - Correct cell border rendering when adjacent cells are non-editable

* 4001 - Rename vars to lastEditableRow and lastEditableCol

* 4001 - Put editable border scss vars together

* 4001 - Datatable use Datagrid - First col auto width & cells min-width  (#4211)

* 4001 - Add first col width auto and cells min-width

* 4001 - Add first col min-width

* 4001 - Fit column width to content

* 4001 - Add input resizing

* 4001 - Update gridTemplateColumns migrations

* 4001 - Use useLayoutEffect instead of useEffect

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>

* 4001 - Handle null values in sanitizer functions (#4238)

* 4001 - InputNumber: run onBlur only if unsanitized value has changed (#4281)

---------

Co-authored-by: Mino Togna <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants