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/ edit button gets wrapped #59

Merged
merged 1 commit into from
Oct 30, 2024
Merged

Conversation

malmen237
Copy link

What does this do?

Button changed to icon

The button itself is obsolete since the entire source-card is made into a click-area. So removed the button and added an icon to the top corner of the source-card, to guide the user into clicking the card.

A pen-icon instead of "edit" for the inventory-page:
Skärmavbild 2024-10-29 kl  12 31 12

A plus-icon instead of "add" for the production-page:
Skärmavbild 2024-10-29 kl  12 32 10

Some cleanup and minor adjustments

  • Removed some un-used code
  • Adjusted width to stop the overlapping-problem on production-page and made all components fit the screen. There were some issues with components being pushed out to the right if all components were shown.

Choose a reason for hiding this comment

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

It is possible to add sources to a production even though in locked mode when clicking the card, that should be disabled if locked

Copy link

@Saelmala Saelmala left a comment

Choose a reason for hiding this comment

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

Overall LGTM, however, it should not be possible to add sources to a production when in locked mode

Edit: The problem was only if the inventory list was open before the app was put in locked mode, but since the list is by default closed and only possible to open after unlock, this was not deemed a problem

@malmen237 malmen237 merged commit f67870e into main Oct 30, 2024
4 checks passed
@malmen237 malmen237 deleted the fix/edit-button-gets-wrapped branch October 30, 2024 13:40
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.

2 participants