home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where issue = 550293770 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

  • simonw 1
  • null92 1

author_association 2

  • NONE 1
  • OWNER 1

issue 1

  • How do I use the app.css as style sheet? · 2 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions issue performed_via_github_app
583177728 https://github.com/simonw/datasette/issues/658#issuecomment-583177728 https://api.github.com/repos/simonw/datasette/issues/658 MDEyOklzc3VlQ29tbWVudDU4MzE3NzcyOA== null92 49656826 2020-02-07T00:28:55Z 2020-02-07T00:29:50Z NONE

Simon,

Yes, there is an "app.css" on static folder, however, anyone modification I do on this .css, doesn't apply on the datasette.

I'm using this command: datasette publish heroku "databases folder" -n "herokuapp name" --extra-options="--config sql_time_limit_ms:60000 --config max_returned_rows:10000 --config force_https_urls:1" --template-dir "templates folder" -m "metadata.json folder"

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
How do I use the app.css as style sheet? 550293770  
580029288 https://github.com/simonw/datasette/issues/658#issuecomment-580029288 https://api.github.com/repos/simonw/datasette/issues/658 MDEyOklzc3VlQ29tbWVudDU4MDAyOTI4OA== simonw 9599 2020-01-30T00:32:43Z 2020-01-30T00:32:43Z OWNER

Can you share how your file layout is working?

You should have something like this:

static/app.css - a CSS file

Then run Datasette like this:

datasette my.db --static-dir=static:static/

Then http://127.0.0.1:8001/static/app.css should serve your CSS.

Could you share the command you're using to deploy to Heroku?

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
How do I use the app.css as style sheet? 550293770  

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,
   [issue] INTEGER REFERENCES [issues]([id])
, [performed_via_github_app] TEXT);
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 22.988ms · About: github-to-sqlite
  • Sort ascending
  • Sort descending
  • Facet by this
  • Hide this column
  • Show all columns
  • Show not-blank rows