-
Notifications
You must be signed in to change notification settings - Fork 60
[admin] added full screen mode to advanced json editor #43
Conversation
@nemesisdesign I submitted the PR already and would like you to review it so I can correct any issues you may find soon. |
Testing now. |
I would say we are halfway through it. In order for this to be really full screen, a few slightly more complex things should be implemented:
There are also a few graphical improvements I want to suggest:
|
Okay, I'll update and submit a PR by night. @nemesisdesign |
@gastonche you can update this PR by amending your commit ( |
Okay, thanks for the tip @nemesisdesign |
@nemesisdesign I have effected all of the changes you specified. But given that the editor in full screen mode has to hide all other elements, is it sufficient that i have enabled the use of the ESC key as a way to exit full screen mode or should I also add some more controls the the top of the screen hanging over the editor to enable the user exit full screen mode by clicking? |
@gastonche I don't know because I haven't seen the result. Don't be afraid to push your work even if unfinished. Push it, I'll test it and come back to you with some useful suggestions. |
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.
@gastonche great! Much better.
Now, I think the "powered by ace" link takes very important space that we need. Therefore, if you could find a way to hide/delete that element we could put there the button to go back to normal mode.
Do you think it would be possible to move the link to the netjsonconfig documentation in the blue bar on the editor? Or can you think of another way to show that link in a pleasant way?
toggleFullScreen(); | ||
} | ||
}); | ||
}else{ |
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.
for consistency with the rest of the code, better to have
}
else {
inFullScreenMode = false; | ||
document.getElementById('advanced_editor').scrollIntoView(true); | ||
} | ||
|
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.
delete blank line
Try to squash the 4 commits into one by using |
okay, I'll do that, I just wanted you to test that before i finally did
…On 16 March 2017 at 17:06, Federico Capoano ***@***.***> wrote:
Try to squash the 4 commits into one by using git rebase -i HEAD~4
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#43 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALaC4KO_KedLT8ua2BA2yQ2Lxvc-oNA3ks5rmV4PgaJpZM4MaJ00>
.
|
I will test now ;-) |
1 similar comment
@gastonche always ping me when you do changes, we are getting a lot of work and sometimes I may miss some details. Don't be afraid to ping me once in a while. |
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.
@gastonche I've tested the changes. We are almost there! I could do these change myself but I'm very busy and I'd like to have your help in finishing this.
- change the style of the color of
Want learn to use the advanced mode? Consult the netjsonconfig documentation.
to white and set the link to netjsonconfig documentation to bold - I think we can safely provide only fullscreen, most users will use this mode and it will make things easier for maintainers, so exit full screen could become "exit advanced mode"
Okay, I have been offline for some days now, but i'll fix that this
evening. Sorry about the delay
…On 22 March 2017 at 13:59, Federico Capoano ***@***.***> wrote:
***@***.**** requested changes on this pull request.
@gastonche <https://github.com/gastonche> I've tested the changes. We are
almost there! I could do these change myself but I'm very busy and I'd like
to have your help in finishing this.
- change the style of the color of Want learn to use the advanced
mode? Consult the netjsonconfig documentation. to white and set the
link to netjsonconfig documentation to bold
- I think we can safely provide only fullscreen, most users will use
this mode and it will make things easir for maintainers, so exit full
screen could become "exit advanced mode"
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#43 (review)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALaC4Dn5B1xLsHyWjMeOFZjWmQlT32Dbks5roRtGgaJpZM4MaJ00>
.
|
@nemesisdesign I think we are Good to Go, I have done the required fixes and updated the PR |
@nemesisdesign I think we are good to go. I have done all the requested changes for this PR and updated the PR as requested. |
@gastonche excellent. Very good job. I am merging but I will do a few CSS changes myself and I would like you to take a look at them so that in the future you will be able to do this kind of things without my intervention. |
@gastonche I added some improvements 0dc39c4 and created issue #45 after testing the patch, there are few issues that will have to be resolved before it can be released |
Okay, let me refresh my fork and check out the changes you made
…On 24 March 2017 at 18:36, Federico Capoano ***@***.***> wrote:
@gastonche <https://github.com/gastonche> I added some improvements
0dc39c4
<0dc39c4>
and created issue #45
<#45> after
testing the patch, there are few issues that will have to be resolved
before it can be released
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#43 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALaC4NCsECx2a7LHh7kqkf1uXLkJhEvBks5ro_86gaJpZM4MaJ00>
.
|
PR pertaining to issue #41 .