kresus issueshttps://framagit.org/kresusapp/kresus/-/issues2020-12-10T15:53:37Zhttps://framagit.org/kresusapp/kresus/-/issues/585Migrate translations to state2020-12-10T15:53:37ZAntoineMigrate translations to state- [ ] the "$t" function should become a getter.
- [ ] The translation should added in the connect() function.
- [ ] This will allow to properly rerender the components on changing the language.
State proposal at first approach:
``...- [ ] the "$t" function should become a getter.
- [ ] The translation should added in the connect() function.
- [ ] This will allow to properly rerender the components on changing the language.
State proposal at first approach:
```javascript
state = {
ui: { // Already existing
translations:
en: {
the_key: "The translation" // Note: the_key sould not include the 'client.'
},
fr: {
the_key: "La traduction"
}
}
}
}
```https://framagit.org/kresusapp/kresus/-/issues/1247Do not store values in Drivers/views2024-02-23T16:08:59ZNicolas Frandeboeufmail@nicofrand.euDo not store values in Drivers/viewsI think it would help avoiding stale/zombie children issues if the only source of data was the store.
Currently the drivers return a view (https://framagit.org/kresusapp/kresus/-/blob/main/client/components/drivers/currency.tsx#L73) stor...I think it would help avoiding stale/zombie children issues if the only source of data was the store.
Currently the drivers return a view (https://framagit.org/kresusapp/kresus/-/blob/main/client/components/drivers/currency.tsx#L73) storing its own content.
The current view is then updated on each change to `state.banks`: https://framagit.org/kresusapp/kresus/-/blob/main/client/main.tsx#L121.
Each driver should instead return selectors to get:
* transactions ids
* transactions (do we still need it? Cannot we derive it from the transactions?)
* lastCheckDate
* balance
* outstandingSum
* initialBalance
Plus the current methods (without change):
* formatCurrency: no change
Since at the moment those properties are computed on each `state.banks` change, I feel like memoizing the selectors based on `state.banks` should be enough, but it could even be improved by driver/method.
`useMemo` cannot be used AFAIK since it is not in a render method but other memoizing methods can be used.https://framagit.org/kresusapp/kresus/-/issues/1134Migrate "find-import-reason" script to Vite2021-09-20T09:41:26ZNicolas Frandeboeufmail@nicofrand.euMigrate "find-import-reason" script to ViteSee https://github.com/btd/rollup-plugin-visualizer and https://github.com/vitejs/vite/issues/898See https://github.com/btd/rollup-plugin-visualizer and https://github.com/vitejs/vite/issues/898https://framagit.org/kresusapp/kresus/-/issues/1041Failed actions not reported to the user2021-04-15T12:28:04ZAntoineFailed actions not reported to the userThis issue is here to list all the user action which when failing are not notified such to the user:
# Operation section
- [ ] Change transaction type
- [ ] Change transaction category
- [ ] Change transaction type/category/label/budget ...This issue is here to list all the user action which when failing are not notified such to the user:
# Operation section
- [ ] Change transaction type
- [ ] Change transaction category
- [ ] Change transaction type/category/label/budget date
- [ ] Change transaction label
- [ ] Transaction deletion.
# Access section
- [ ] Include/reject an account from the access balance.
- [x] Access deletion
- [ ] Account deletion
- [ ] Change of default account
# Category pane
- [ ] Add default categories (from categories menu.
- [X] Category edition failure reports that the category was successfully updated. Fixed with !1335
- [X] Category creation failure reports that the category was successfully created. Fixed with !1335
- [X] Category deletion failure reports that the category was successfully deleted. Fixed with !1335
- [ ] Delete unused transactions
# Settings / customize
- [ ] Set fluid mode
- [ ] Display help messages
- [ ] Change locale (a promise is not caught)
# Duplicates
- [ ] Updating default settings
- [ ] Merging 2 transactions.
# Charts
- [ ] Updating default settings
# Budget
- [ ] Update both settings.
# Settings / Emails
- [ ] Deleting an alert
- [ ] Deleting a report
- [ ] Creating an alert
- [ ] Creating a report
- [ ] Updating an alert
- [ ] Updating a report
- [ ] Saving the email
(I could not test apprise)
# Settings / Admin
- [ ] Toggle 'merge accounts.'
- [ ] Toggle 'auto update weboob'
- [ ] Toggle 'debug modules'
- [ ] Change the number of month to be retrieved
# Help messages
- [ ] Toggle help message (for example in 'Settings / Admin Logs' subsection, when the 'help messages setting' is true, closing a help message disables globally the display of help messages.https://framagit.org/kresusapp/kresus/-/issues/896Don't store default values into the database2019-10-20T16:08:38ZBenjamin BouvierDon't store default values into the database- [ ] the Settings model will store default values of configuration options into the database, while it could just be read from the DefaultSettings file.
- [ ] the Budget model will store zeroes in the database when a budget for a given ...- [ ] the Settings model will store default values of configuration options into the database, while it could just be read from the DefaultSettings file.
- [ ] the Budget model will store zeroes in the database when a budget for a given period hasn't been set.https://framagit.org/kresusapp/kresus/-/issues/787Reports should be more explanatory about ongoing transactions2020-02-15T18:06:34ZAntoineReports should be more explanatory about ongoing transactionsReport template should be made clearer with what is actually "encours" and what was really taken from your account.Report template should be made clearer with what is actually "encours" and what was really taken from your account.https://framagit.org/kresusapp/kresus/-/issues/665Run Woob as a daemon2022-04-06T07:07:59ZPhyksphyks@phyks.meRun Woob as a daemonHi,
Following the recent changes on Weboob interface to Kresus (see !430) and related to #640, we should run Weboob as a kind of daemon. That is, spawn the Python subprocess when Kresus starts, and keep using the same process as Kresus ...Hi,
Following the recent changes on Weboob interface to Kresus (see !430) and related to #640, we should run Weboob as a kind of daemon. That is, spawn the Python subprocess when Kresus starts, and keep using the same process as Kresus is running.
This should also be simpler to do after #640 has been fixed.
Starting the whole Python stack and spawning a Weboob object takes a few seconds on a Raspberry Pi. That is a few seconds *per API call*. If we use a daemon-like subprocess, it would make the whole app a lot more fluid on such low power devices.https://framagit.org/kresusapp/kresus/-/issues/586[meta] Routing follow-ups2019-10-06T15:45:45ZBenjamin Bouvier[meta] Routing follow-ups- [ ] in search: include search parameters in the URL
- [ ] `budget/item`: change link to search by passing category and minx/max dates in the query
- [x] make a factory for URLs, so that we don't have to repeat ourselves (e.g. changing ...- [ ] in search: include search parameters in the URL
- [ ] `budget/item`: change link to search by passing category and minx/max dates in the query
- [x] make a factory for URLs, so that we don't have to repeat ourselves (e.g. changing a URL shouldn't impact more than 1 file)
- [x] CSS: AccountWizard, "import" tab: add padding on top.
- [ ] investigate using react-router-redux and reuse `reselect` for operations (in the list)
- [x] check window.resize correctly works after !396 is rebased and merged.
- [ ] simplify the `initialAccountId` situation.https://framagit.org/kresusapp/kresus/-/issues/504Ensure all locales keys that are used are defined in the locales files2017-11-06T17:30:04ZBenjamin BouvierEnsure all locales keys that are used are defined in the locales filesThat would be a fantastic test, and/or a fantastic idea for a babel plugin...That would be a fantastic test, and/or a fantastic idea for a babel plugin...https://framagit.org/kresusapp/kresus/-/issues/218Implement a service worker2020-10-23T07:10:51ZBenjamin BouvierImplement a service worker*Created by: bnjbvr*
*Created by: bnjbvr*