-
Notifications
You must be signed in to change notification settings - Fork 256
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
TICKscript Editor #1721
TICKscript Editor #1721
Conversation
d5c301b
to
a4be143
Compare
1553ee2
to
50499c8
Compare
Blocked on #1733 |
6a283b4
to
df57189
Compare
Had to downgrade react-codemirror due to a bug. Issues and PRs are open to resolve: - JedWatson/react-codemirror#121 - JedWatson/react-codemirror#106
df57189
to
b151e81
Compare
First, I'm glad we can finally get this in, so great work, to everyone involved |
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.
Found a few issues. Let's get these fixed and then I can continue testing.
I went over all the code and it looks great, especially the SFCs for Tables and stuff.
ui/package.json
Outdated
@@ -112,6 +113,8 @@ | |||
"query-string": "^5.0.0", | |||
"react": "^15.0.2", | |||
"react-addons-shallow-compare": "^15.0.2", | |||
"react-addons-update": "^15.1.0", |
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.
DELET THIS
items={allPermissions} | ||
selectedItems={_.get(permissions, ['0', 'allowed'], [])} | ||
items={allPermissions.map(p => ({name: p}))} | ||
selectedItems={perms.map(p => ({name: p}))} |
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.
There's something wrong with the permissions dropdowns on Enterprise, they list items but don't display the text.
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.
Also, selecting one selects them all.
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 has been fixed, but other issues with the backend have come up. See #2021
return data | ||
} catch (error) { | ||
if (!error) { | ||
dispatch(errorThrown('Could not communicate with server')) |
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.
Do you think we should communicate a more meaningful error message from the backend if there's one available? We do a really bad job of obscuring things that are available and come back from the server, and we just swallow those messages.
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 agree 💯
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.
Let's do this in an another issue, like #1539 .
…onograf into feature/tickscript-editor
Good stuff, reviewed and ready for merge. |
Connect #789
The problem
Sometimes you just want to write your own tick script.
The Solution
Provide a text editor for the user to do so.