home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where author_association = "MEMBER" and issue = 1633513067 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: created_at (date), updated_at (date)

user 2

  • dcherian 1
  • benbovy 1

issue 1

  • limit lines in html repr of dataset attrs · 2 ✖

author_association 1

  • MEMBER · 2 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
1480906129 https://github.com/pydata/xarray/pull/7653#issuecomment-1480906129 https://api.github.com/repos/pydata/xarray/issues/7653 IC_kwDOAMm_X85YRNWR benbovy 4160723 2023-03-23T10:01:35Z 2023-03-23T10:01:35Z MEMBER

For the html repr an option that is easy to implement would be to add max-height and overflow-y: scroll CSS properties here: https://github.com/pydata/xarray/blob/1e361ccb9123fe25acfd9e3364c911c1eec7d9db/xarray/static/css/style.css#L256-L261

I don't think the default browser scrollbar will look very pretty inside the repr, but it might be OK if we don't set max-height to a too small value.

A "click to expand" UI would certainly look prettier, but I doubt it would be easy to implement that in pure-CSS. "Expand on hover" is easier but that would be quite annoying UX I think.

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  limit lines in html repr of dataset attrs 1633513067
1479754763 https://github.com/pydata/xarray/pull/7653#issuecomment-1479754763 https://api.github.com/repos/pydata/xarray/issues/7653 IC_kwDOAMm_X85YM0QL dcherian 2448579 2023-03-22T15:12:59Z 2023-03-22T15:12:59Z MEMBER

Since this is the HTML repr, it'd be nice to allow the user to "click to expand" long entries. Do you know how to do that? (ping @benbovy )

I think a corresponding change to truncate the text repr would be fine.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  limit lines in html repr of dataset attrs 1633513067

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE [issue_comments] (
   [html_url] TEXT,
   [issue_url] TEXT,
   [id] INTEGER PRIMARY KEY,
   [node_id] TEXT,
   [user] INTEGER REFERENCES [users]([id]),
   [created_at] TEXT,
   [updated_at] TEXT,
   [author_association] TEXT,
   [body] TEXT,
   [reactions] TEXT,
   [performed_via_github_app] TEXT,
   [issue] INTEGER REFERENCES [issues]([id])
);
CREATE INDEX [idx_issue_comments_issue]
    ON [issue_comments] ([issue]);
CREATE INDEX [idx_issue_comments_user]
    ON [issue_comments] ([user]);
Powered by Datasette · Queries took 13.76ms · About: xarray-datasette