-
Notifications
You must be signed in to change notification settings - Fork 6
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
mergify
merged 15 commits into
4001-datatable-use-datagrid
from
4001-datatable-use-datagrid-taxon
Dec 18, 2024
Merged
4001 - Datatable use Datagrid - Taxon #4178
mergify
merged 15 commits into
4001-datatable-use-datagrid
from
4001-datatable-use-datagrid-taxon
Dec 18, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yaguzmang
commented
Dec 17, 2024
yaguzmang
commented
Dec 17, 2024
src/test/migrations/steps/20241114204645-step-fix-datatable-grid-layouts-and-taxon-codes.ts
Show resolved
Hide resolved
minotogna
reviewed
Dec 17, 2024
src/client/pages/Section/DataTable/Table/RowData/Cell/Taxon/Taxon.scss
Outdated
Show resolved
Hide resolved
src/client/pages/Section/DataTable/Table/RowData/Cell/Taxon/Taxon.tsx
Outdated
Show resolved
Hide resolved
src/client/pages/Section/DataTable/Table/RowData/Cell/Taxon/hooks/useIsValidNewOption.ts
Show resolved
Hide resolved
minotogna
reviewed
Dec 17, 2024
src/client/pages/Section/DataTable/Table/RowData/Cell/Taxon/hooks/useOnChange.ts
Outdated
Show resolved
Hide resolved
minotogna
reviewed
Dec 17, 2024
minotogna
reviewed
Dec 18, 2024
src/i18n/resources/en/common.json
Outdated
@@ -1,6 +1,7 @@ | |||
{ | |||
"accepted": "Accepted", | |||
"add": "Add", | |||
"addValue": "Add \"{{value}}\"", |
There was a problem hiding this comment.
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 ?
c217d05
to
5cff738
Compare
minotogna
approved these changes
Dec 18, 2024
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
2024-12-16.19-08-17.mp4
Using enter:
2024-12-16.19-14-32.mp4