-
Notifications
You must be signed in to change notification settings - Fork 6
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
Fix notebook display issues #870
Conversation
7f50402
to
be7a74c
Compare
be7a74c
to
941c365
Compare
941c365
to
c81a86f
Compare
c81a86f
to
bba4586
Compare
bba4586
to
d639aae
Compare
- import Source Code Pro font used in output display - display code in black - improve styling of tables
d639aae
to
1a85140
Compare
- import Source Code Pro font used in output display - display code in black - improve styling of tables
1a85140
to
a280f82
Compare
- import Source Code Pro font used in output display - display code in black - improve styling of tables
5660377
to
f8cbb02
Compare
That will make it clearer. Let me think about how to implement that. |
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.
With the update, the layout looks much better 👍
I agree the switch looks nice. I would probably keep the 3 buttons but I see they may be confusing.
I have noticed a strange behavior in the "View in GitLab" button on the project's header. If you click on it, the dropdown menu is empty. Not sure how this could be related to the changes in the file
components, but comparing it with dev
, it seems it affects only this PR 🤔
@lorenzo-cavazzi Can you check this again? It looks correct on my computer (I tried Chrome and Firefox). |
- import Source Code Pro font used in output display - display code in black - improve styling of tables
ec04ec7
to
acd6b73
Compare
Show the code visibility switch as a header. Fix #838
Use outline buttons and semi-bold for the label. Fix #838
Extract the code visibility form as a separate component. Fix #838
Provide a switch for changing code visibility. Fix #838
acd6b73
to
15203bf
Compare
- import Source Code Pro font used in output display - display code in black - improve styling of tables
15203bf
to
c89e935
Compare
Provide a switch for changing code visibility. Fix #838
Thanks @ciyer I think that's much clearer! |
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.
Great feature, now it looks very polished! And thumb up for the tests, they act as documentation here 👍
I added a comment, just a minor detail on components spacing. Fell free to add the margin or just merge the PR if you like how it looks now.
src/file/File.present.js
Outdated
|
||
const overrideControl = (displayMode === NotebookSourceDisplayMode.DEFAULT) ? | ||
null : | ||
<ButtonGroup key="controls" size="sm"> |
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 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.
Provide a switch for changing code visibility. Fix #838
c89e935
to
30d59dd
Compare
- import Source Code Pro font used in output display - display code in black - improve styling of tables
Thanks all, this is going to make the notebooks view so much better! |
Fix #838 (Allow hiding/showing of notebook cells)
Also:
Testing (compare old/new)
See the difference in fonts and colors
See how the input cells are hidden when papermill runs in report mode
See how the tables look different
See how you can select if code is to be shown