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

feat: possible to change hotkeys for line #218

Merged
merged 5 commits into from
Nov 20, 2024

Conversation

Saelmala
Copy link
Contributor

@Saelmala Saelmala commented Nov 19, 2024

This PR

Adds the possibility to change the hotkey settings for a production line.

Settings button:

Settings modal:

@Saelmala Saelmala self-assigned this Nov 19, 2024
@Saelmala Saelmala requested review from birme and malmen237 November 19, 2024 10:23
Copy link
Contributor

@birme birme left a comment

Choose a reason for hiding this comment

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

Looks good, just had one question regarding the API env change

@@ -2,7 +2,7 @@ import { handleFetchRequest } from "./handle-fetch-request.ts";

const API_VERSION = import.meta.env.VITE_BACKEND_API_VERSION ?? "api/v1/";
const API_URL =
`${import.meta.env.VITE_BACKEND_URL}${API_VERSION}` ??
`${import.meta.env.VITE_BACKEND_URL}${API_VERSION}` ||
Copy link
Contributor

Choose a reason for hiding this comment

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

Was this change intentional and needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, the ?? was giving an error because the left-hand side statement was not nullish

width: 80%;
max-width: 40rem;
box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.2);
text-color: white;
Copy link
Contributor

Choose a reason for hiding this comment

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

I get ts error 'ts-styled-plugin(9999)' here:
Unknown property: 'text-color'

@Saelmala Saelmala requested a review from malmen237 November 19, 2024 11:16
Copy link
Contributor

@malmen237 malmen237 left a comment

Choose a reason for hiding this comment

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

LGTM

@Saelmala Saelmala requested a review from malmen237 November 19, 2024 15:22
@malmen237 malmen237 merged commit 1c36f01 into main Nov 20, 2024
2 checks passed
@malmen237 malmen237 deleted the feat/possibility-to-change-hotkeys-for-line branch November 20, 2024 14:03
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.

3 participants