-
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
4206 - Data History #4277
Draft
sorja
wants to merge
39
commits into
development
Choose a base branch
from
4206-data-history
base: development
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
4206 - Data History #4277
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
Open
* 4206 - Add Authorizer canViewHistoryLastApproved * 4206 - Add missing nullish check
) * 4249 - Descriptions history: Dummy API * 4249 - Descriptions history: Fetch and update store * 4249 - Descriptions history: useLastApprovedHistoryDescriptions hook and getLastApprovedDescriptions selector * 4249 - Descriptions history: common component DiffText * 4249 - Descriptions history: DescriptionDiffView component * 4249 - 'react/require-default-props': 'off' * 4249 - DiffText: Remove default prop declaration * 4249 - useGetDescriptionValues: separate fetching history values * 4249 - history selectors: use getHistoryLastApproved * 4249 - Add reminder for data sources
e51c0b1
to
40fb005
Compare
…set) (#4301) * 4250 - Data sources history: History buttons behavior * 4250 - Data sources history: Rename useDataSourcesHistoryActivities hook * 4250 - Data sources history: Add types file * 4250 - Data sources history: show (empty) last approved diffs * 4250 - Data sources history: increment diff indexes --------- Co-authored-by: Mino Togna <[email protected]>
…== notStarted (#4314) * 4313:Data History auth:if (user is admin or reviewer) and status !== notStarted * 4313 - use Areas.getStatus
…4297) * 4251 - Data history table UI * 4251 - Data history table API * 4251 - Data history table API (sample data) * 4251 - Fetch data and populate store * 4251 - Validation is hidden when history is active * 4251 - useLastApprovedHistoryTableData: return RecordAssessmentData * 4251 - use utils to get NodeValue * 4251 - API empty * 4251 - API empty * 4251 - Merge data * 4251 - Simplify * 4251 - dont check print * 4251 - use RecordAssessmentDatas mergeData --------- Co-authored-by: Mino Togna <[email protected]>
* 4304 - hide validations when history active * 4304 - fix padding for calculated cells * 4304 - Cycles: introduce getPreviousCycle * 4304 - API/table/history: return previous cycleData * 4304 - fix application crash on null value * 4304 - history/table: formatting * 4304 - clean code * 4304 - deepscan * 4304 - Cols: isNumeric * 4304 - History: clean up and handle select options translation * 4304 - PropsGetTableData * 4304 - history/lastApproved: HistoryLastApprovedInfo | undefined * 4304 - API/getTableDataLastApproved * 4304 - use classNames * 4304 - remove comment * 4304 - use getPreviousCycle * 4321 - fix history cell style --------- Co-authored-by: Mino Togna <[email protected]>
#4317) (#4331) * 4253 - ODP history: Dummy API * 4253 - ODP history: Fetch and update store * 4253 - ODP history: data sources diffs * 4253 - ODP history: NationalClass diffs * 4253 - ODP history: update new reducer imports * 4253 - ODP history: move odp history store definitions under store->data * 4253 - ODP history: fix diff text and conditional renders * 4253 - ODP history: Rename DiffView to ODPDiffText and add paddings * 4253 - ODP history: Remove unnecessary type cast * 4253 - ODP history: make history store var plural * 4253 - ODP history: odp history return empty obj * 4253 - ODP history: add DOMs getHtmlTextContent utility
… layout (#4333) * 4253 - ODP history: Add comment diffs * 4253 - ODP history: Handle ODPDiffText layout from outside component
…t non-calculated diffs (#4334) * 4253 - ODP history: Add Extent of Forest non-calculated diffs * 4253 - ODP history: Format Extent of Forest diffs
#4335) * 4302 - introduce CycleDataController.Description * 4302 - use diffLines for meaningful changes * 4302 - getDescriptionsHistory: prevCycle and getDescriptionsLastApproved
…4332) * 4305 - Data History: Data table (with ODP) comparison (Prev cycle) * 4305 - review comments
…t calculated totals (#4336) * 4253 - ODP history: Add variables for calculations * 4253 - ODP history: Add Extent of Forest calculated col total diffs
…t: other land percent diffs (#4337) * 4253 - ODP history: Add calculate other land percent util * 4253 - ODP history: Add other land percent diffs * 4253 - ODP history: Keep percent symbol out of diffs
…ristics non calculated diffs (#4338) * 4253 - ODP history: Hide validation toolips in Extent of forest * 4253 - ODP history: Add ForestCharacteristicsRow non-calculated value diffs * 4253 - ODP history: Move national class forest area calculation to a util
…ristics: National class Forest Area diffs (#4340) * 4253 - ODP history: Move diff formatting fns to common hook * 4253 - ODP history: Add National class Forest Area diffs
…ristics calculated diffs (#4343) * 4253 - ODP history: Add ForestCharacteristics calculated field variables * 4253 - ODP history: Add Forest characteristics totals diffs
…4341) * 4310 - getValuesLastApproved: use ActivityLogMessage.descriptionUpdate * 4310 - table history: merge the last approved data * 4310 - clean up * 4310 - remove cloneCycle file
* 4206 - Data History: Data table w/ ODP lastAccepted preparation * deepscan
* 4347 - raw year for select * 4347 - introduce getSelectOptionLabel
* 4345 - Check table names exist when fetching history * 4345 - cleanup * 4345 - clean up the cleanup * 4345 - reset file * 4345 - Fix empty tableNames issue
…ristics - naturally regenerating (#4352) * 4253 - ODP history: Add calculateNationalClassNaturalForestPercentArea util * 4253 - ODP history: Add naturalForestPercentAreaChange calculated diffs * 4253 - ODP history: Hide validation when historyLastApprovedIsActive * 4253 - ODP history: Rename useNaturalForestPercentAreaChange * 4253 - ODP history: Add naturalForestPercent diffs
…y regenerating totals diffs (#4353) * 4253 - ODP history: Add name diffs * 4253 - ODP history: Remove existing ternary render * 4253 - ODP history: Add primaryForestPercentChange diffs * 4253 - ODP history: Add ForestCharacteristicsNaturallyRegenerating total vars * 4253 - ODP history: Add ForestCharacteristicsNaturallyRegenerating totals diffs
* 4310 - add historyFetched hooks * 4310 - Cell: show history after fetch * 4310 - Descriptions: show history after fetch * 4310 - Data Sources: show history after fetch
* 4306 - 4311 - Data History: ODP Prev Cycle + LastAccepted Co-authored-by: sorja <[email protected]> * 4306 - 4311 - fix test * 4306 - 4311 - fix odp logic --------- Co-authored-by: sorja <[email protected]>
…4362) * 4253 - ODP history: Add plantation totals vars * 4253 - ODP history: Add plantation totals diffs
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.
#4206