-
Notifications
You must be signed in to change notification settings - Fork 2
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
Conversation
There was a problem hiding this 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}` || |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This PR
Adds the possibility to change the hotkey settings for a production line.
Settings button:
Settings modal: