Andrew Brown
718e1bbd7a
get contributors looking good
2021-04-29 15:03:05 -07:00
Andrew Brown
1a08525885
get share updates working again
2021-04-29 14:48:36 -07:00
Andrew Brown
b8eaa88601
general polish
2021-04-29 14:29:33 -07:00
Andrew Brown
74f5494abb
allow creating new link fields
2021-04-29 14:02:10 -07:00
Andrew Brown
b5b0ee27f4
add reference type to page references
2021-04-29 13:05:04 -07:00
Andrew Brown
cc7b3a46b2
test run of migration
2021-04-28 14:14:46 -07:00
Andrew Brown
c6f07183bb
standardize timeline design panel
2021-04-27 17:31:58 -07:00
Andrew Brown
f69a200b00
add show_notice? helper
2021-04-25 17:28:49 -07:00
Andrew Brown
6221ec2dea
tweak card panel
2021-04-25 17:21:08 -07:00
Andrew Brown
71cccf983e
hide old-style link associations
2021-04-25 17:20:01 -07:00
Andrew Brown
b0d5c5d055
display link references
2021-04-25 17:16:59 -07:00
Andrew Brown
3ecf11b48c
verbiage
2021-04-24 12:58:46 -07:00
Andrew Brown
5a4ed59509
janky way to get image uploads working again, but it works and delays the inevitable image management rewrite
2021-04-22 11:42:27 -07:00
Andrew Brown
405957cd86
new content#new flow that just creates a page and redirects to content#edit
2021-04-17 23:10:44 -07:00
Andrew Brown
d0e838f4a4
fix content#new errors and start styling page to fit with content#edit
2021-04-17 21:38:49 -07:00
Andrew Brown
94d9ea50e4
data vault polish
2021-04-17 20:54:20 -07:00
Andrew Brown
3437edd695
another style pass on dashboard
2021-04-17 20:43:32 -07:00
Andrew Brown
a9719b25ca
todo
2021-04-17 20:20:16 -07:00
Andrew Brown
bbe8e8c06b
use new link display style on smart sidebar
2021-04-17 20:19:02 -07:00
Andrew Brown
21838bacc8
Merge branch 'master' into modernize-design
2021-04-17 19:33:52 -07:00
Andrew Brown
fdce3d8539
I do NOT understand why this jquery hack is necessary
2021-04-17 01:20:12 -07:00
Andrew Brown
f4fb049dde
maybe try just skipping this guard entirely?
2021-04-17 01:11:39 -07:00
Andrew Brown
da71b8b464
switch js app and pack ordering
2021-04-17 00:29:55 -07:00
Andrew Brown
518f35361a
fix for /forum path ujs
2021-04-16 18:58:25 -07:00
Andrew Brown
1bd9fb30ae
move off cdns and host js ourself
2021-04-16 16:58:36 -07:00
Andrew Brown
8ee47c2d04
get rid of this hacky fix
2021-04-16 13:17:10 -07:00
Andrew Brown
86ba83c22d
this is a dirty hack
2021-04-16 03:17:40 -07:00
Andrew Brown
9d32626532
strip jquery out again
2021-04-16 03:06:33 -07:00
Andrew Brown
1e451b2334
remove redundant ready() wraps
2021-04-16 02:57:28 -07:00
Andrew Brown
025791124b
add autosave trigger to suggested doc universes
2021-04-16 02:41:38 -07:00
Andrew Brown
510d9c6c7a
wait 'til doc is loaded to yield javascript
2021-04-16 02:33:35 -07:00
Andrew Brown
a7436c254a
Revert "we don't actually need jquery for this... and jquery is buggin' / should fix #925 "
...
This reverts commit b79813bbb6 .
2021-04-16 02:33:15 -07:00
Andrew Brown
b79813bbb6
we don't actually need jquery for this... and jquery is buggin' / should fix #925
2021-04-15 16:35:49 -07:00
Andrew Brown
d7c32f1cf3
EOD content#show work
2021-03-27 00:52:40 -07:00
Andrew Brown
ed1495c662
wip on special content panels
2021-03-26 19:13:12 -07:00
Andrew Brown
7ed13153a9
wip redesigning content#show
2021-03-26 18:27:58 -07:00
Andrew Brown
9ba167d7c2
skip name requests on your own content
2021-03-26 15:20:59 -07:00
Andrew Brown
5f4d0bfc66
wrap up link autoload-name js
2021-03-26 15:03:36 -07:00
Andrew Brown
55affe50c3
hook up content#show again, add internal api for fetching page names on pageload
2021-03-26 13:04:30 -07:00
Andrew Brown
838e8acb49
style tags in changelog
2021-03-25 19:19:39 -07:00
Andrew Brown
1ec2f0da1e
style changelog deltas per field type, include universe/tags/links also
2021-03-25 19:14:47 -07:00
Andrew Brown
2b8531046e
hide text_area action menu for now
2021-03-25 18:03:45 -07:00
Andrew Brown
ffc65178cb
placeholders for a few more future features
2021-03-25 17:54:11 -07:00
Andrew Brown
e589301cc8
Merge branch 'modernize-design' of github.com:indentlabs/notebook into modernize-design
2021-03-25 16:32:05 -07:00
Andrew Brown
c61bd0b3ac
hook up universe-field autosaving
2021-03-25 15:42:07 -07:00
Andrew Brown
263aa307e6
Merge branch 'master' into modernize-design
2021-03-24 19:42:59 -05:00
Andrew Brown
c9699724a0
tags field autosaving
2021-03-22 19:47:39 -07:00
Andrew Brown
e79dd712a0
enable autosave on name fields
2021-03-22 18:30:23 -07:00
Andrew Brown
59a98f39e9
generalize autosave for text fields also
2021-03-22 18:28:33 -07:00
Andrew Brown
d73268ed2b
wrap up link field autosaving
2021-03-22 17:42:31 -07:00
Andrew Brown
26ea2934e6
hook up editing page links w/ new system, fallback on old system
2021-03-22 17:14:31 -07:00
Andrew Brown
f0668901e1
wrap up attribute editor for now
2021-03-22 14:19:01 -07:00
Andrew Brown
262ea05755
autosave field options on links
2021-03-22 13:44:47 -07:00
Andrew Brown
82e5a7e3d7
inherit old link klass for un-migrated fields
2021-03-22 13:07:41 -07:00
Andrew Brown
c210d978d6
load field opts into linkable select
2021-03-22 13:01:31 -07:00
Andrew Brown
1ea11b22cc
refactor AF controller for updating field opts
2021-03-22 12:55:02 -07:00
Andrew Brown
ecae4e7807
WIP adding field options to attribute editor
2021-03-22 11:58:49 -07:00
Andrew Brown
dca034ca9f
start implementing stopgap field type between new and old link types
2021-03-20 17:04:21 -07:00
Andrew Brown
c0b39cf004
WIP autosave, before migrating from legacy_link to link view
2021-03-19 12:55:50 -07:00
Andrew Brown
2d2000af5c
autosave first pass
2021-03-17 23:18:13 -07:00
Andrew Brown
46ef3b0e8d
more content#edit work
2021-03-17 23:00:26 -07:00
Andrew Brown
c9d60c211f
rename analysis.jpeg to analysis.jpg to appease sprockets, fixes #889
2021-03-17 15:26:46 -07:00
Andrew Brown
d93e62bdbe
fill field_types partials
2021-03-17 15:14:13 -07:00
Andrew Brown
974098af53
content#panel redesign wip
2021-03-16 14:46:47 -07:00
Andrew Brown
38a54b1082
add section titles to content#edit
2021-03-15 19:36:27 -07:00
Andrew Brown
94a73e9bda
refactor image headers
2021-03-15 19:17:38 -07:00
Andrew Brown
4783fc452f
break sideactions out of sidelinks
2021-03-15 18:58:20 -07:00
Andrew Brown
b874c8fc28
make sidelinks sticky
2021-03-15 18:32:06 -07:00
Andrew Brown
88f69d7e07
add quick reference to serendipitous question
2021-03-15 17:50:27 -07:00
Andrew Brown
dbeff95196
hook up universe parallax banner
2021-03-15 17:02:06 -07:00
Andrew Brown
dd867d113c
redesign dashboard
2021-03-15 16:41:02 -07:00
Andrew Brown
7bc0a4747a
documents fix
2021-03-12 08:44:32 -08:00
Andrew Brown
7722cffd15
hide posts from blocked users in PMs
2021-03-08 11:20:58 -08:00
Andrew Brown
8c7a3293a4
get rid of another recent pages query
2021-03-07 22:39:28 -08:00
Andrew Brown
551734934e
redesign recent content page, skip 2 more queries
2021-03-07 21:10:40 -08:00
Andrew Brown
7190608ff6
increase recent edits sidebar width + show more of names + fix overlapping text
2021-03-07 18:33:40 -08:00
Andrew Brown
83146060bd
cache recent content list, avoid a query, include timelines/documents, and increase limit from 10/20 to 50 for everyone
2021-03-07 18:28:36 -08:00
Andrew Brown
e4292fb1e8
apply no-print to hide navbar, sidebar, qfab, and footer on print, closes #882
2021-03-04 18:19:06 -08:00
Andrew Brown
8bdd5bd5e7
add media query for print-specific classes
2021-03-04 18:09:55 -08:00
Andrew Brown
342d0c0830
add sascon landing page
2021-02-02 22:24:27 -08:00
Andrew Brown
aa876f56f4
verbiage
2021-01-24 21:52:26 -08:00
Andrew Brown
6ec1149bf9
better contrast + verbiage on user#preferences
2021-01-24 18:27:55 -08:00
Andrew Brown
05d5e2c4d1
another 500 fix
2021-01-24 03:18:44 -08:00
Andrew Brown
0f9ea29c31
add nofollow to links in document#show
2021-01-23 15:35:45 -08:00
Andrew Brown
f4e3d581c4
feature the first uploaded image to content instead of a random one
2021-01-23 15:24:00 -08:00
Andrew Brown
9148f8a7b7
add tristan to notice#13 for timelines
2021-01-21 18:33:50 -08:00
Andrew Brown
65d66c217a
Merge branch 'master' into improve-timelines
2021-01-21 17:44:45 -08:00
Andrew Brown
e235315dd5
add timeline icon next to titles
2021-01-21 17:42:20 -08:00
Andrew Brown
6bbc6f62f5
remove distracting timeline image default
2021-01-21 17:38:55 -08:00
Andrew Brown
114873e15a
add new#content button to filter bar
2021-01-21 16:24:51 -08:00
Andrew Brown
23d7b62c7d
filter timelines by name
2021-01-21 16:14:55 -08:00
Andrew Brown
bf8841803d
allow filtering timelines by universe
2021-01-21 15:56:46 -08:00
Andrew Brown
a08bd05e09
add filter bar to timelines, allow filtering by tag
2021-01-21 15:50:17 -08:00
Andrew Brown
d46f077883
show tags on timelines#index
2021-01-21 15:35:23 -08:00
Andrew Brown
7db60b85ef
add tags to timelines
2021-01-21 15:25:38 -08:00
Andrew Brown
248ff7006a
improve design on devise pages
2021-01-21 14:09:57 -08:00
Andrew Brown
1f61031cc6
only show content#delete link when editing
2021-01-21 14:09:38 -08:00
Andrew Brown
f624432afe
fix date text on YIR
2021-01-07 15:02:43 -08:00
Andrew Brown
d466a638b8
verbiage
2020-12-23 01:42:44 -08:00
Andrew Brown
cf70d93467
fix year display / spacing
2020-12-23 01:30:35 -08:00
Andrew Brown
75b38a29df
polish card
2020-12-23 01:03:40 -08:00
Andrew Brown
248f741239
add year in review page
2020-12-22 20:43:36 -08:00
Andrew Brown
ec14cacda9
unique ids for per-event fields in forms
2020-12-07 23:59:05 -08:00
Andrew Brown
b3a6998ea6
Merge branch 'master' of github.com:indentlabs/notebook
2020-11-28 14:22:56 -08:00
Andrew Brown
7afc34ff46
Refactoring
2020-11-12 16:44:10 -08:00
Andrew Brown
ca956ed4d6
fix nil reference on collection cover images
2020-11-07 01:12:04 -08:00
Andrew Brown
4f30ff9798
landing page redesign
2020-11-07 00:55:58 -08:00
Andrew Brown
c6bb0e146a
verbiage
2020-10-23 01:43:34 -07:00
Andrew Brown
988cf2ca7b
seo h1/h2/h3 for landing, new planet, etc
2020-10-19 16:58:44 -07:00
Andrew Brown
1602e1aa15
h1/h2 updates on info pages
2020-10-19 15:56:32 -07:00
Andrew Brown
7c5d87c9cd
add db migration
2020-10-19 01:07:23 -07:00
Andrew Brown
2bfa28f993
abs
2020-10-18 23:00:37 -07:00
Andrew Brown
a898623ee9
absolute path on user profile image on shares
2020-10-18 22:50:06 -07:00
Andrew Brown
383b160b77
content images on content#show shares
2020-10-18 22:34:02 -07:00
Andrew Brown
3ec60575cf
content type description
2020-10-18 22:15:16 -07:00
Andrew Brown
1871760c02
add worldbuilding pages info links to help center
2020-10-18 22:14:14 -07:00
Andrew Brown
8de0338d12
page titles
2020-10-18 21:35:43 -07:00
Andrew Brown
ec40b20788
minor seo polish
2020-10-18 18:02:27 -07:00
Andrew Brown
6b8d792e39
add new universe & building fields
2020-10-17 16:23:13 -07:00
Andrew Brown
5aa1818795
clean up homepage formatting on some screen sizes
2020-10-17 15:41:53 -07:00
Andrew Brown
a8e98693a9
verbiage
2020-10-16 22:40:13 -07:00
Andrew Brown
ad9d145ed0
polish
2020-10-16 14:42:49 -07:00
Andrew Brown
1862e2c209
add static worldbuilding info pages
2020-10-15 21:18:19 -07:00
Andrew Brown
cde5937d97
dice to staging
2020-10-15 13:18:04 -07:00
Andrew Brown
63710564ea
typo
2020-10-14 00:08:00 -07:00
Andrew Brown
a15e923b5c
Merge branch 'master' into improve-a-query
2020-10-12 15:37:12 -07:00
Andrew Brown
ef8f0beb5b
fill out heuristics
2020-10-12 14:16:22 -07:00
Andrew Brown
b0013c9f6a
this is apparently necessary
2020-10-12 13:48:38 -07:00
Andrew Brown
d89c025514
typos on typos
2020-10-12 13:40:51 -07:00
Andrew Brown
aa42e168e4
whoops
2020-10-12 13:34:33 -07:00
Andrew Brown
d547c55cbd
basic pm spamwatch
2020-10-12 13:18:53 -07:00
Andrew Brown
f9cebca4a8
Verbiage
2020-10-12 03:53:42 -07:00
Andrew Brown
86dbceac7d
increase collection header limits
2020-10-12 03:48:16 -07:00
Andrew Brown
3228985bb2
open up collection creation to others
2020-10-12 03:16:47 -07:00
Andrew Brown
74926578fa
add collection edit link
2020-10-12 02:08:00 -07:00
Andrew Brown
59ba11e104
more includes
2020-10-12 02:02:10 -07:00
Andrew Brown
2f0d62ce30
stream events for adding pages to self's collection
2020-10-11 22:31:32 -07:00
Andrew Brown
ab8a1b0dca
stylize submission queue
2020-10-11 19:11:25 -07:00
Andrew Brown
6a70bafe19
wrap up collections ui improvements
2020-10-11 18:56:25 -07:00
Andrew Brown
77ce209274
polish ui
2020-10-11 14:35:05 -07:00
Andrew Brown
451f2345f6
redo collection#submit form
2020-10-11 14:14:13 -07:00
Andrew Brown
eaf4e34932
rip out wip pccf
2020-10-07 00:24:29 -07:00
Andrew Brown
cc16f8fcb7
Merge branch 'master' into collections-improvements
2020-10-03 16:58:25 -07:00
Andrew Brown
c88119d799
add doc stats to admin dash
2020-10-03 15:38:20 -07:00
Andrew Brown
3297b79764
remove unused view
2020-10-03 01:18:21 -07:00
Andrew Brown
0734f35b82
dark mode fix
2020-10-03 01:15:36 -07:00
Andrew Brown
d906a9cce8
flourish for navigation
2020-10-03 01:12:47 -07:00
Andrew Brown
7831d08b7d
ui polish
2020-10-03 00:57:22 -07:00
Andrew Brown
da081d3c01
colorize pos frequency table
2020-10-03 00:48:29 -07:00
Andrew Brown
e55387fd40
add word frequency tables to analysis
2020-10-03 00:43:56 -07:00
Andrew Brown
538311f20d
Merge branch 'master' into document-analysis-improvements
2020-10-02 14:55:52 -07:00
Andrew Brown
01a35e3c60
Merge branch 'master' into eod-analytics
2020-10-02 01:06:09 -07:00
Andrew Brown
bc12318ace
Merge branch 'master' into document-ui-improvements
2020-10-02 01:04:52 -07:00
Andrew Brown
e75038a3bc
final touches
2020-10-02 01:00:42 -07:00
Andrew Brown
c2a9e35efb
polish empty collection ui
2020-10-01 18:51:36 -07:00
Andrew Brown
6143bebc77
clean up collections#index code
2020-10-01 18:37:19 -07:00
Andrew Brown
3bedd64447
add followed collections to collections#index
2020-10-01 18:10:52 -07:00
Andrew Brown
35c248a419
add chronological and random sorting
2020-10-01 17:18:04 -07:00
Andrew Brown
d4fe136498
more actions on collection tiles
2020-10-01 16:55:37 -07:00
Andrew Brown
f72e87c4e3
new collection design with tiles
2020-10-01 16:36:52 -07:00
Andrew Brown
0de4effd60
allow all collection viewers to see more posts from a particular user
2020-10-01 16:29:37 -07:00
Andrew Brown
76558c92a3
share links on collection#show
2020-09-26 23:36:02 -07:00
Andrew Brown
2d3b91a644
add collection#index parallax header
2020-09-26 22:40:54 -07:00
Andrew Brown
f7bbe6b983
allow deleting page collections
2020-09-26 21:07:24 -07:00
Andrew Brown
b8cee83817
better moderation tools
2020-09-26 20:37:54 -07:00
Andrew Brown
292424df59
fix table formatting
2020-09-26 19:51:28 -07:00
Andrew Brown
aa935fad9e
typo
2020-09-26 18:31:58 -07:00
Andrew Brown
706b271cfd
whoopsie grouping
2020-09-26 18:25:10 -07:00
Andrew Brown
7a830092e2
redoing admin stats dashboard
2020-09-26 18:07:47 -07:00
Andrew Brown
5b5b53dfd6
clean up console.log outs
2020-09-26 16:42:16 -07:00
Andrew Brown
9708bc3e59
don't show autosave bar on doc#show
2020-09-26 16:33:03 -07:00
Andrew Brown
c91a64639a
reformat document titles on edit/show
2020-09-26 16:30:31 -07:00
Andrew Brown
a5052b5db3
basic hatewatch implementation
2020-09-26 15:44:01 -07:00
Andrew Brown
6030e543e1
dark mode polish pass
2020-09-26 04:25:50 -07:00
Andrew Brown
8a84200693
fix entity linking js error on non-timeline pages
2020-09-26 03:14:01 -07:00
Andrew Brown
c903f4823b
add sentiment page to doc analysis
2020-09-26 02:48:52 -07:00
Andrew Brown
e5fb44ba6d
add adult content detection & trigger words
2020-09-25 19:45:51 -07:00
Andrew Brown
0e4c9d2dad
polishing ui
2020-09-25 18:45:50 -07:00
Andrew Brown
cf8c651d21
sentence tooltips w/ word counts
2020-09-25 16:51:55 -07:00
Andrew Brown
eb9824cf93
add style page and colorized lengths
2020-09-25 16:43:02 -07:00
Andrew Brown
84e2df45f5
store unique simple/complex word counts on DA
2020-09-25 04:34:07 -07:00
Andrew Brown
8f1ad22d2e
fix simple/complex counts & improve pie chart for them
2020-09-25 04:19:16 -07:00
Andrew Brown
508027e54c
improve parts of speech table + add raw structure breakdown table
2020-09-25 04:04:00 -07:00
Andrew Brown
03e7970cac
add dale-chall readability & improve consensus
2020-09-25 03:32:47 -07:00
Andrew Brown
e79a1fb33e
add linsear write readability
2020-09-25 03:09:46 -07:00
Andrew Brown
d88724e43a
add SMOG grade to document analysis
2020-09-25 02:50:45 -07:00
Andrew Brown
ccea21ecb8
add readability page to document analysis
2020-09-25 02:33:18 -07:00
Andrew Brown
ec823bb8ff
dark mode polish
2020-09-24 22:40:29 -07:00
Andrew Brown
ee29c08e9b
re-hook page unlinking
2020-09-23 02:46:17 -07:00
Andrew Brown
2541b1269d
recycle bin recovery ui polish
2020-09-23 01:16:14 -07:00
Andrew Brown
816072f714
revisions improvements
2020-09-22 23:37:10 -07:00
Andrew Brown
6b76123ec0
add document revisions
2020-09-22 02:18:33 -07:00
Euan Kemp
3603993740
Remove an excessive recent nav sql query
...
Before, the decision to show a 'More' link was based on the following
query:
```
Rendering: layouts/_recent_edits_sidenav.html.erb
T+331.4 ms
Reader
1.6 ms
app/models/concerns/has_content.rb:76:in `content_list'
app/models/concerns/has_content.rb:89:in `content_count'
app/views/layouts/_recent_edits_sidenav.html.erb:21:in `_app_views_layouts__recent_edits_sidenav_html_erb___2971124340581730252_60587880'
app/views/layouts/application.html.erb:10:in `_app_views_layouts_application_html_erb__2102718760758308197_70160881531780'
app/controllers/content_controller.rb:65:in `block (2 levels) in index'
app/controllers/content_controller.rb:64:in `index'
SELECT id,name,page_type,user_id,created_at,updated_at,deleted_at,archived_at,privacy FROM universes WHERE user_id = 2 AND deleted_at IS NULL AND archived_at IS NULL UNION ALL SELECT id,name,page_type,user_id,created_at,updated_at,deleted_at,archived_at,privacy FROM characters WHERE user_id = 2 AND deleted_at IS NULL AND archived_at IS NULL UNION ALL SELECT id,name,page_type,user_id,created_at,updated_at,deleted_at,archived_at,privacy FROM locations WHERE user_id = 2 AND deleted_at IS NULL AND archived_at IS NULL UNION ALL SELECT id,name,page_type,user_id,created_at,updated_at,deleted_at,archived_at,privacy FROM items WHERE user_id = 2 AND deleted_at IS NULL AND archived_at IS NULL UNION ALL SELECT id,name,page_type,user_id,created_at,updated_at,deleted_at,archived_at,privacy FROM buildings WHERE user_id = 2 AND deleted_at IS NULL AND archived_at IS NULL UNION ALL SELECT id,name,page_type,user_id,created_at,updated_at,deleted_at,archived_at,privacy FROM conditions WHERE user_id = 2 AND deleted_at IS NULL AND archived_at IS NULL UNION ALL SELECT id,name,page_type,user_id,created_at,updated_at,deleted_at,archived_at,privacy FROM continents WHERE user_id = 2 AND deleted_at IS NULL AND archived_at IS NULL UNION ALL SELECT id,name,page_type,user_id,created_at,updated_at,deleted_at,archived_at,privacy FROM countries WHERE user_id = 2 AND deleted_at IS NULL AND archived_at IS NULL UNION ALL SELECT id,name,page_type,user_id,created_at,updated_at,deleted_at,archived_at,privacy FROM creatures WHERE user_id = 2 AND deleted_at IS NULL AND archived_at IS NULL UNION ALL SELECT id,name,page_type,user_id,created_at,updated_at,deleted_at,archived_at,privacy FROM deities WHERE user_id = 2 AND deleted_at IS NULL AND archived_at IS NULL UNION ALL SELECT id,name,page_type,user_id,created_at,updated_at,deleted_at,archived_at,privacy FROM floras WHERE user_id = 2 AND deleted_at IS NULL AND archived_at IS NULL UNION ALL SELECT id,name,page_type,user_id,created_at,updated_at,deleted_at,archived_at,privacy FROM foods WHERE user_id = 2 AND deleted_at IS NULL AND archived_at IS NULL UNION ALL SELECT id,name,page_type,user_id,created_at,updated_at,deleted_at,archived_at,privacy FROM governments WHERE user_id = 2 AND deleted_at IS NULL AND archived_at IS NULL UNION ALL SELECT id,name,page_type,user_id,created_at,updated_at,deleted_at,archived_at,privacy FROM groups WHERE user_id = 2 AND deleted_at IS NULL AND archived_at IS NULL UNION ALL SELECT id,name,page_type,user_id,created_at,updated_at,deleted_at,archived_at,privacy FROM jobs WHERE user_id = 2 AND deleted_at IS NULL AND archived_at IS NULL UNION ALL SELECT id,name,page_type,user_id,created_at,updated_at,deleted_at,archived_at,privacy FROM landmarks WHERE user_id = 2 AND deleted_at IS NULL AND archived_at IS NULL UNION ALL SELECT id,name,page_type,user_id,created_at,updated_at,deleted_at,archived_at,privacy FROM languages WHERE user_id = 2 AND deleted_at IS NULL AND archived_at IS NULL UNION ALL SELECT id,name,page_type,user_id,created_at,updated_at,deleted_at,archived_at,privacy FROM lores WHERE user_id = 2 AND deleted_at IS NULL AND archived_at IS NULL UNION ALL SELECT id,name,page_type,user_id,created_at,updated_at,deleted_at,archived_at,privacy FROM magics WHERE user_id = 2 AND deleted_at IS NULL AND archived_at IS NULL UNION ALL SELECT id,name,page_type,user_id,created_at,updated_at,deleted_at,archived_at,privacy FROM planets WHERE user_id = 2 AND deleted_at IS NULL AND archived_at IS NULL UNION ALL SELECT id,name,page_type,user_id,created_at,updated_at,deleted_at,archived_at,privacy FROM races WHERE user_id = 2 AND deleted_at IS NULL AND archived_at IS NULL UNION ALL SELECT id,name,page_type,user_id,created_at,updated_at,deleted_at,archived_at,privacy FROM religions WHERE user_id = 2 AND deleted_at IS NULL AND archived_at IS NULL UNION ALL SELECT id,name,page_type,user_id,created_at,updated_at,deleted_at,archived_at,privacy FROM scenes WHERE user_id = 2 AND deleted_at IS NULL AND archived_at IS NULL UNION ALL SELECT id,name,page_type,user_id,created_at,updated_at,deleted_at,archived_at,privacy FROM schools WHERE user_id = 2 AND deleted_at IS NULL AND archived_at IS NULL UNION ALL SELECT id,name,page_type,user_id,created_at,updated_at,deleted_at,archived_at,privacy FROM sports WHERE user_id = 2 AND deleted_at IS NULL AND archived_at IS NULL UNION ALL SELECT id,name,page_type,user_id,created_at,updated_at,deleted_at,archived_at,privacy FROM technologies WHERE user_id = 2 AND deleted_at IS NULL AND archived_at IS NULL UNION ALL SELECT id,name,page_type,user_id,created_at,updated_at,deleted_at,archived_at,privacy FROM towns WHERE user_id = 2 AND deleted_at IS NULL AND archived_at IS NULL UNION ALL SELECT id,name,page_type,user_id,created_at,updated_at,deleted_at,archived_at,privacy FROM traditions WHERE user_id = 2 AND deleted_at IS NULL AND archived_at IS NULL UNION ALL SELECT id,name,page_type,user_id,created_at,updated_at,deleted_at,archived_at,privacy FROM vehicles WHERE user_id = 2 AND deleted_at IS NULL AND archived_at IS NULL;
```
This query seems like it might be a little slow, for example if you have
a lot of _stuff_. It grabs everything from the database just for the
view to do '.length' on it.
One possible fix would be to switch it over to a COUNT(*) query and call
it a day, but it seems like we can just check for any recent attribute
changes, and use that as a proxy for whether to show the more link.
Since we have that in scope already, we don't even have to make a query
at all.
After this, the above query is gone.
2020-09-18 21:19:11 -07:00
Andrew Brown
55a8cfa464
incorporate pagelookupsidebar
2020-09-18 18:06:42 -07:00
Andrew Brown
1c3596764a
move entity linker into component
2020-09-18 17:19:11 -07:00
Andrew Brown
71c647bd50
get doc entities sidebar working in component
2020-09-17 17:06:31 -07:00
Andrew Brown
5f66dac88a
Merge branch 'dev-api' into document-ui-improvements
2020-09-17 02:55:47 -07:00
Andrew Brown
437a9687bf
some preview polishing
2020-09-17 02:32:37 -07:00
Andrew Brown
861bdadff4
progress
2020-09-14 16:30:30 -07:00
Andrew Brown
6f0bfb9e37
end-to-end content api testing
2020-09-11 17:00:39 -07:00
Andrew Brown
d873f36428
authorization flow / piping
2020-09-11 16:36:54 -07:00
Andrew Brown
b615229cba
verbiage
2020-09-10 18:22:17 -07:00
Andrew Brown
f845f16fda
ui for document entities sidenav / navbar changes
2020-09-10 17:58:44 -07:00
Andrew Brown
a25a746775
polish
2020-09-10 14:34:07 -07:00
Andrew Brown
723c5f1e80
polishing doc navbar
2020-09-08 23:57:53 -07:00
Andrew Brown
335397c8bb
add twitter/fb share links to stream shares and share modal on content pages
2020-08-28 18:14:31 -07:00
Andrew Brown
8ef6ee66b8
add pagecollection page to highlight specific contributors
2020-08-28 15:51:57 -07:00
Andrew Brown
5493f115ee
Allow removing published submissions from a collection
2020-08-28 15:24:51 -07:00
Andrew Brown
f54e87467b
force word wrapping on nonbreaking lines on profile fields
2020-08-28 14:21:17 -07:00
Andrew Brown
4793d954ca
allow linking pages in stream shares
2020-08-28 13:59:21 -07:00
Andrew Brown
8528fe6ed1
allow linking pages in stream comments
2020-08-28 13:36:14 -07:00
Andrew Brown
f44ce3cbe6
fix clicking share placeholder text jumping to first textinput on page
2020-08-28 13:29:38 -07:00
Andrew Brown
fce2a29303
move referrals logic from sub to data controller
2020-08-28 13:13:51 -07:00
Andrew Brown
f9983fcd91
move referrals link from billing page to data vault
2020-08-28 13:11:36 -07:00
Andrew Brown
e8e81de8a9
clean up billing page
2020-08-28 13:05:38 -07:00
Andrew Brown
5c688c16a6
Verbiage change
2020-08-28 12:51:57 -07:00
Andrew Brown
07d5024443
allow clicking a prepaid code to prepopulate activation box
2020-08-28 12:26:40 -07:00
Andrew Brown
b8385dc430
add documents sidenav
2020-08-26 04:46:50 -07:00
Andrew Brown
f6f2e0cae4
reorder sidenav account links
2020-08-15 20:26:33 -07:00
Andrew Brown
ced79df93a
allow deleting your own share comments as well as comments on your shares
2020-08-14 17:17:57 -07:00
Andrew Brown
194dd568dc
fix 500 on profiles
2020-08-14 01:08:02 -07:00
Andrew Brown
d8c1054e92
filling out content#index and api docs
2020-08-11 00:44:15 -07:00
Andrew Brown
74f1f02ceb
improved api doc formatting
2020-08-10 19:06:29 -07:00
Andrew Brown
aeb01c2963
Merge branch 'master' into dev-api
2020-08-10 15:29:19 -07:00
Andrew Brown
61eeea4d94
remove NEW badge in sidebar
2020-08-10 15:28:19 -07:00
Andrew Brown
5067ded4c4
lookup sidebar works, needs api
2020-08-10 15:27:45 -07:00
Andrew Brown
53e71bfab9
wip new sidebar components
2020-08-09 04:11:06 -07:00
Andrew Brown
992b3fd3c2
a couple minor 500s
2020-08-02 22:39:48 -07:00
Andrew Brown
fb0473997a
better fix + show first panel with data instead of always first panel
2020-07-28 15:28:32 -07:00
Andrew Brown
7ec451c325
alphabetize link list on document editor also
2020-07-27 16:50:37 -07:00
Andrew Brown
2c27089950
make headers optional on pagecollections
2020-07-27 16:29:23 -07:00
Andrew Brown
dff4bdfbc5
dark theme ui fix
2020-07-27 15:38:53 -07:00
Andrew Brown
4cc4696247
more dark mode ui fixes
2020-07-25 01:11:00 -07:00
Andrew Brown
6cfd54b53f
dark mode text color fix
2020-07-24 21:11:08 -07:00
Andrew Brown
20013501e7
notifs
2020-07-22 01:41:53 -07:00
Andrew Brown
e6155cd5be
feedback form
2020-07-22 01:30:14 -07:00
Andrew Brown
a12308d7cb
polishing/testing
2020-07-22 01:13:13 -07:00
Andrew Brown
acd8da068e
allow private pages to be submitted to collections by setting them to public after submission
2020-07-22 00:48:59 -07:00
Andrew Brown
bc4f4a4656
new collection events in stream and profile
2020-07-22 00:40:37 -07:00
Andrew Brown
1c5e9c7d43
allow editing pagecollections
2020-07-21 20:17:14 -07:00
Andrew Brown
9538919cdf
allow creating PageCollections
2020-07-21 19:42:13 -07:00
Andrew Brown
5fc115e9cc
redesign collections#index
2020-07-21 16:41:13 -07:00
Andrew Brown
d3d53745ad
fix link to follow other users
2020-07-21 15:45:02 -07:00
Andrew Brown
2f3e1514df
Merge branch 'master' into collections-pt-2
2020-07-21 15:10:35 -07:00
Andrew Brown
6e095ee5b7
don't show content actions for users they aren't relevant to
2020-07-15 00:34:47 -07:00
Andrew Brown
c5bdfcdbb0
allow users to follow/unfollow collections
2020-07-12 02:23:43 -07:00
Andrew Brown
d3e9d2550c
add stream link to dashboard
2020-07-12 01:54:53 -07:00
Andrew Brown
024830a6ea
add view/edit links to timelines#index
2020-07-11 02:45:42 -07:00
Andrew Brown
7afb7a2a12
enable sharing timelines to stream
2020-07-11 02:41:11 -07:00
Andrew Brown
722abb0893
allow editing timeline privacy
2020-07-11 02:31:56 -07:00