Skip to content

Add edit currency list action to the currencies page - #13335

Open
martonmiklos wants to merge 1 commit into
inventree:masterfrom
martonmiklos:add_edit_currency_list_to_the_currencies_page
Open

martonmiklos wants to merge 1 commit into
inventree:masterfrom
martonmiklos:add_edit_currency_list_to_the_currencies_page

Conversation

@martonmiklos

@martonmiklos martonmiklos commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

One of my colleagues looked after the currency list editing option in the system for quite a while, so I think some UX improvement would be helpful on this matter.

It is accessible under the pricing, but not under the Currencies settings page. My intuition says it should be accessible there too.

To solve this I have converted the refresh button here to a menu and added a menu item to the editor:
kép

The edit base currency was available on this page here at the bottom:
kép

But I think it is more intuitive to keep it next to the Base currency display:
kép
I took the courage to remove the lower editor.
This saves screen estate and removes redundantly displayed information.

- Added default/base currency edit action next to the default currency
- Removed the default currency edit line from the bottom action list
@netlify

netlify Bot commented Nov 20, 2026

Copy link
Copy Markdown

👷 Deploy request for inventree-web-pui-preview pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 05a6bb2

@SchrodingersGat SchrodingersGat added pricing Pricing functionality User Interface Related to the frontend / User Interface labels Nov 20, 2026
@SchrodingersGat SchrodingersGat added this to the 1.8.0 milestone Nov 20, 2026
@matmair

matmair commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

Not a fan of more specialized app screens in settings; we should try to make this whole part of the code base leaner and cleaner, not individual piecemeal changes that lead to untested and ununiform patterns that break over time

@martonmiklos

Copy link
Copy Markdown
Contributor Author

Not a fan of more specialized app screens in settings; we should try to make this whole part of the code base leaner and cleaner, not individual piecemeal changes that lead to untested and ununiform patterns that break over time

Okay, but adding an input to the bottom for 'CURRENCY_CODES' would males sense?

@matmair

matmair commented Nov 20, 2026

Copy link
Copy Markdown
Member

Yes; or generalize the implemented pattern for all setting panes to use and add tests for it.

The change itself looks nice but I really want to stop this rhythm of small things breaking everywhere because they are only in one place and not tested.

@martonmiklos

martonmiklos commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor Author

Okay, just to be clear: I shall add tests to cover the functionality of these inputs and I do appologise not doing it for the first round.

But I do not really understand how to generalize this.

kép

For this the FactCollection is only used here and at the Background tasks. I do not think adding edit action would makes sense there.

kép

This one is just adds a menu to the tableActions, I am unsure how to generalize this as at different settings pages different table actions making sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pricing Pricing functionality User Interface Related to the frontend / User Interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants