Commit graph

89 commits

Author SHA1 Message Date
Simon Willison
0467723ee5 New, improved favicon - refs #1603 2022-01-19 21:46:03 -08:00
Simon Willison
763d0a0faa Fix for cog menu default facet bug, closes #1469 2021-10-13 14:20:03 -07:00
Simon Willison
adb5b70de5 Show count of facet values if ?_facet_size=max, closes #1423 2021-08-16 11:56:32 -07:00
Simon Willison
e837095ef3
Column metadata, closes #942 2021-08-12 16:53:23 -07:00
Simon Willison
b7037f5ece Bit of breathing space on https://latest.datasette.io/fixtures/pragma_cache_size 2021-08-06 22:17:36 -07:00
Simon Willison
f4c5777c7e Fix visual glitch in nav menu, closes #1367 2021-06-07 11:24:14 -07:00
Simon Willison
7e983fede6 ?_facet_size=max, ... now links to that, closes #1337
Refs #1332
2021-05-27 09:00:58 -07:00
Simon Willison
51d7881140 'Show all columns' menu item if any _col= set, closes #1341
Refs #615
2021-05-26 21:31:12 -07:00
Simon Willison
f1c29fd6a1
?_col=/?_nocol= to show/hide columns on the table page
Closes #615

* Cog icon for hiding columns
* Show all columns cog menu item
* Do not allow hide column on primary keys
* Allow both ?_col= and ?_nocol=
* De-duplicate if ?_col= passed multiple times
* 400 error if user tries to ?_nocol= a primary key
* Documentation for ?_col= and ?_nocol=
2021-05-26 21:17:43 -07:00
Simon Willison
a4bb2abce0 Show primary key cells in bold without affecting columns called 'link', closes #1308 2021-04-23 23:07:37 -07:00
Marjorie Roswell
7b1a9a1999
Fix little typo (#1282) 2021-03-29 12:57:34 -07:00
Bob Whitelock
e72397d65b
Add styling to lists within table cells (fixes #1141) (#1252)
This overrides the Datasette reset (see
d0fd833b8c/datasette/static/app.css (L35-L38)),
to add back the default styling of list items displayed within Datasette
table cells.
2021-03-28 17:14:04 -07:00
Simon Willison
1f9cca33b4 Resizable SQL editor using cm-resize, refs #1236 2021-02-19 15:47:52 -08:00
Simon Willison
a93a65b027
Fixed Prettier formatting, closes #1166 2020-12-31 13:46:32 -08:00
Simon Willison
80870911de
Trying out bad formatting, refs #1166 2020-12-31 13:44:47 -08:00
Simon Willison
5193d0b3e4 Apply prettier to table.js, refs #1166 2020-12-31 13:27:39 -08:00
Abdussamet Koçak
daae35be46
Fix misaligned table actions cog
Closes #1121. Thanks, @abdusco
2020-12-02 16:33:36 -08:00
Simon Willison
4bac9f18f9 Fix off-screen action menu bug, refs #1084 2020-11-21 15:33:04 -08:00
Simon Willison
7b19492070 database_actions() plugin hook, closes #1077 2020-11-02 10:27:25 -08:00
Simon Willison
9f0987cb57 cursor: pointer; on the new menu icons
Refs #1064, #1066
2020-10-29 22:55:10 -07:00
Simon Willison
2f7731e9e5 table_actions() plugin hook plus menu, closes #1066
Refs #690
2020-10-29 22:16:41 -07:00
Simon Willison
18a64fbb29
Navigation menu plus menu_links() hook
Closes #1064, refs #690.
2020-10-29 20:45:15 -07:00
Simon Willison
abcf022249
Margin bottom on metadata description 2020-10-28 10:11:07 -07:00
Simon Willison
e7dd3434e1 No underline on nav links in header 2020-10-27 12:39:55 -07:00
Simon Willison
18977ce802 Off-white yellow is now off-white blue 2020-10-27 12:39:55 -07:00
Simon Willison
c069d481af Mobile view cards now have rounded corners 2020-10-27 12:39:55 -07:00
Simon Willison
f49d15a758 word-break: break-word; 2020-10-27 12:39:55 -07:00
Simon Willison
dab4b73f7d White cards on mobile 2020-10-27 12:39:55 -07:00
Simon Willison
fe5e813f06 Styled facets with different bullets 2020-10-27 12:39:55 -07:00
Natalie Downe
df19a48a3b Implemented new Natalie design 2020-10-27 12:39:55 -07:00
Natalie Downe
6dff22eff8 Visited link colours 2020-10-27 12:39:55 -07:00
Natalie Downe
7d69f1ac02 New header and footer 2020-10-27 12:39:55 -07:00
Simon Willison
105a2c10fd Fix z-index issue with dropdown menu, closes #1052 2020-10-25 19:19:21 -07:00
Simon Willison
6c9fd4ef1b Better download link display on mobile, refs #1046 2020-10-24 18:00:38 -07:00
Simon Willison
5db7ae3ce1 Link to BLOB downloads, closes #1046 2020-10-24 17:13:14 -07:00
Simon Willison
20f8659e2a Wide tables now scroll horizontally, refs #998 2020-10-21 18:09:01 -07:00
Simon Willison
bf82b3d6a6 scale-in animation for column action menu, closes #1039 2020-10-21 10:02:26 -07:00
Simon Willison
f3a087a578 Edit SQL button on canned queries, closes #1019 2020-10-13 20:44:18 -07:00
Simon Willison
acf07a6772 x button for clearing filters, refs #1016 2020-10-11 19:53:26 -07:00
Simon Willison
5a184a5d21 Display column type in column action menu, closes #993
Also added new documented db.table_column_details() introspection method.
2020-10-05 17:32:10 -07:00
Simon Willison
e807c4eac0 Sort links remove _next=, closes #989 2020-10-04 11:05:20 -07:00
Simon Willison
5d6bc4c268 Allow faceting on compound primary keys, closes #985 2020-10-01 09:50:35 -07:00
Simon Willison
141544613f Extract out menu icon CSS, refs #981 2020-09-30 16:55:00 -07:00
Simon Willison
64127a4593 Show not-blank rows column action, refs #981 2020-09-30 16:43:34 -07:00
Simon Willison
765e8f0209 Close menu when clicked outside, refs #981 2020-09-30 16:21:44 -07:00
Simon Willison
0f2626868b Much improved column menu display logic, refs #981
* Menu links now take into account existing querystring
* No longer shows facet option for primary key columns
* Conditionally displays sort/sort-desc if already sorted
* Does not show facet option if already faceted by this
2020-09-30 16:01:37 -07:00
Simon Willison
fd0b00330f Don't show cog on Link column, refs #981
Also show ascending option before descending option
2020-09-30 15:31:17 -07:00
Simon Willison
ae1f7c3870 Column action menu for sort/faceting, refs #981 2020-09-30 14:43:39 -07:00
Simon Willison
9dbbfa1f0b Upgrade CodeMirror to 5.57.0, refs #948 2020-08-30 10:39:16 -07:00
Simon Willison
c5f06bc356
"white-space: pre-wrap" for all table cells, refs #896 2020-07-16 12:06:45 -07:00