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

fix: stop using ember-view #3428

Merged
merged 1 commit into from
Apr 4, 2024
Merged

fix: stop using ember-view #3428

merged 1 commit into from
Apr 4, 2024

Conversation

joshmadewell
Copy link
Member

Explanation of Bugfix/Feature/Modification:
remove the getEmberView utility, use other methods to get the underlying data we need

@joshmadewell joshmadewell merged commit 0b689be into main Apr 4, 2024
6 checks passed
@joshmadewell joshmadewell deleted the no-more-ember-view branch April 4, 2024 00:55
import {
getDeemphasizedCategories,
pacingForCategory,
setDeemphasizedCategories,
} from 'toolkit/extension/utils/pacing';
import { formatCurrency } from 'toolkit/extension/utils/currency';
import { l10n } from 'toolkit/extension/utils/toolkit';
import { budgetRowInChangesSet } from 'toolkit/extension/features/budget/utils';
import {
budgetRowInChangesSet,
Copy link
Contributor

Choose a reason for hiding this comment

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

@joshmadewell, it appears this function was removed from the utils, but is still being imported on this line and used on line 61. I noticed it when I ran yarn build:development in the repo:

WARNING in ./src/extension/features/budget/pacing/index.js 48:8-29
export 'budgetRowInChangesSet' (imported as 'budgetRowInChangesSet') was not found in 'toolkit/extension/features/budget/utils' (possible exports: GOAL_TABLE_CELL_CLASSNAME, ensureGoalColumn, getBudgetMonthDisplayMasterCategory, getBudgetMonthDisplaySubCategory)
 @ ./src/extension/features/index.ts 73:0-41 301:5-11 474:4-10
 @ ./src/extension/ynab-toolkit.tsx 2:0-54 98:20-36
 @ ./src/extension/index.js 1:0-45 2:22-33

Was that function intentionally removed and thus it should stop being used here? Or should the function be restored so that it can be used here?

Copy link
Contributor

Choose a reason for hiding this comment

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

Should Pacing's observe method be updated to match the updated DisplayTargetGoalAmount's observe method?

@OlegWock OlegWock mentioned this pull request Apr 18, 2024
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.

None yet

2 participants