-
Notifications
You must be signed in to change notification settings - Fork 4
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
Feature/1342 rejseplanen rewrite to fit new api WIP #243
Feature/1342 rejseplanen rewrite to fit new api WIP #243
Conversation
@@ -55,7 +55,7 @@ body, | |||
display: flex; | |||
justify-content: center; | |||
padding: 5em; | |||
z-index: 10; | |||
z-index: 1021; | |||
|
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.
public/example_config.json
Outdated
@@ -1,6 +1,7 @@ | |||
{ | |||
"api": "/", | |||
"touchButtonRegions": false, | |||
"rejseplanenApiKey": "abc", |
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.
This needs to be added to the infrastructure templates.
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.
The default value should be null
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.
What is "the infrastructure templates"?
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.
@@ -23,7 +23,7 @@ describe("Playlist pages work", () => { | |||
cy.get("#save_playlist").should("exist"); | |||
}); | |||
|
|||
it("It drags and drops slide", () => { | |||
it.skip("It drags and drops slide", () => { |
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.
Why skip?
Add comment
/** | ||
* A callback on changed data. | ||
* | ||
* @param {Array} data The data to call back with | ||
*/ | ||
const changeData = (data) => { | ||
let selectedOptions = []; | ||
|
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.
New lines around if statements increase the readability of the code.
* @returns {Array} An array of {label, value, disabled} | ||
*/ | ||
function mapDataToFitMultiselect(dataToMap) { | ||
return ( |
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.
why ( ) around the return value?
It is only needed for jsx
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.
the linter does it
public/example_config.json
Outdated
@@ -1,6 +1,7 @@ | |||
{ | |||
"api": "/", | |||
"touchButtonRegions": false, | |||
"rejseplanenApiKey": "abc", |
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.
Link to ticket
https://leantime.itkdev.dk/dashboard/home#/tickets/showTicket/1342
Description
Screenshot of the result
Checklist
If your code does not pass all the requirements on the checklist you have to add a comment explaining why this change
should be exempt from the list.
Additional comments or questions
os2display/display-templates#153