bcgov / bcgov/lcfs

LCFS - Replace Deprecated BCDataGridServer with BCGridEditor

Open
#2,012 0 comments 0 reactions 0 assignees View on GitHub
Medium Tech Debt
Dominant language
Python
Stars
6
Forks
6
Avg merge
2d 4h
Merged PRs (30d)
87

Description

**Description**
Replace all instances of the deprecated BCDataGridServer component with the updated BCGridEditor component across the application. Update dependencies, props, and parameters to ensure proper integration with the newer grid system.

**Task**
- Identify and replace all occurrences of BCDataGridServer with BCGridEditor in the codebase.
- Update component imports, dependencies, and parameters to match BCGridEditor’s API.
- Review and modify grid configurations, event handlers, and callback functions to align with BCGridEditor’s expected behavior.
- Verify that any customizations or extensions (e.g., overlay templates, cell renderers, reset functions) work as intended with the new component.
- Update documentation and tests to reflect these changes.

**Acceptance Criteria**
- All instances of BCDataGridServer have been replaced with BCGridEditor.
- The grid functionality and UI are consistent with expected behavior across affected views.
- No broken dependencies or parameter mismatches remain.
- Automated tests pass, confirming that grid operations (loading, editing, saving, actions) function correctly with BCGridEditor.

This ticket aims to modernize our grid system by transitioning to BCGridEditor, ensuring a consistent and maintainable codebase.

Contributor guide

Open the contributing guide

Research direction

Search the codebase for every BCDataGridServer usage, then inspect each affected view's imports, grid configuration, event handlers, callbacks, and customizations against the BCGridEditor API. Run the automated tests covering grid loading, editing, saving, and actions; done means all instances are migrated, affected behavior remains consistent, and the tests pass.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.