-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Table view - squashed #2052
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
Merged
Merged
Table view - squashed #2052
Changes from 1 commit
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
c4244db
table - initial commit (squashed feature branch)
monfera 865e444
adding birds mock
monfera 2648e51
minor mock change
monfera 1922721
avoid crispEdges in cell contents and scrollbar; minor mock change
monfera 30cbaa0
doc change
monfera aa0c116
fewer accessor uses
monfera c0ac213
doc update
monfera 732bd46
more idiomatic D3
monfera 22e23e3
no prefixing with window
monfera 9571be3
amending document
monfera 345b027
switched off bounciness
monfera ff3c8f6
minor mock fix
monfera b9c8de6
staying valign for the moment
monfera c1d19b4
fixes non-wrapping wrappable case by including it in the `alignment-b…
monfera f8e7647
mock update - showing text wrapping
monfera 7186527
separate mock for wrapped text; fixing a scrolling issue
monfera e96c3c4
adding editType (for now, conservatively)
monfera 5336725
new mock
monfera 6f21697
adding multitrace latex mock; fixing multitrace drag bug
monfera f3f1a5d
fixing multitrace drag bug 2
monfera 9574099
fixing multitrace drag bug 3
monfera 5a59e04
fixing multitrace drag bug 4
monfera dd5841d
multitrace mock with scrollers to show trace independence
monfera 9b60156
new mock: adding scatter plot to trace
monfera 309c8bb
moving functionality from `calc.js` to a helper file
monfera 78cb5ec
moving functionality from `plot.js` to the data split file
monfera b14f6c6
mock JSON consolidated to fewer items
monfera 2be591f
removed clipView debug option
monfera addb85b
allow cell text selection
monfera c2f251f
fixing server image gen issue - thanks Étienne - and removing the pos…
monfera 3cab51d
adding baselines
monfera fa84c68
globally safe clipPath #1
monfera 465b45b
use overrideAll in table attributes
etpinard 0fa1cc8
globally safe clipPath #2
monfera cd0578d
Merge branch 'table-squashed' of https://github.com/plotly/plotly.js …
monfera a6c4935
add baselines
etpinard 0ad1a0c
preparing for user-specified stroke/stroke-opacity, fill/fill-opacity…
monfera 1254c9f
user-specified stroke/stroke-opacity, fill/fill-opacity setting via C…
monfera e38b7cf
Merge branch 'table-squashed' of https://github.com/plotly/plotly.js …
monfera 94338f4
Merge branch 'table-textselect' into table-squashed
monfera 6288559
minor simplification before rewiring event handlers to enable text copy
monfera 154ab24
allow both dragging and text cell copying
monfera 9402020
disable visible scrollbar on initial load
monfera d4f0ed7
updating other mocks
monfera File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
doc change
- Loading branch information
commit 30cbaa02174c531c5f3312d433558021d5e4a4d6
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Hmm, so header values must be 2D too or just can be 2D?
What's the use case for multi-row headers? Wouldn't adding
<br>
suffice?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.
Currently, even header rows must be 2D. It'd make sense to allow the common 1D case, though adding it later doesn't break existing JSONs. It's 2D in small part due to code uniformity - header and content are handled by the same code path except stuff like no scrolling for header rows and acting as column drags.
But the more important part was a previous PR comment suggesting it, e.g. to have a 2nd row for units of measure.
A
<br>
would often but not always suffice. For example, top cell may be left-aligned text and bottom cell may be right-aligned LaTeX with another font size. Also, multirow header is implemented (took a bit of time) and causes no issues.One more reason for this common-path implementation style was to eventually support other row groups, e.g. aggregate rows but that's just a concept now.
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.
Ok. But please add a allow 1D header values items to #2056