Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
111 commits
Select commit Hold shift + click to select a range
4db12b2
fix formatting issue wth cards on med-sized screens
drusepth Jun 18, 2021
e9383af
show recent docs
drusepth Jun 18, 2021
57e422a
use table view for documents#index
drusepth Jun 18, 2021
da28c6c
fix documents not filtering by favorite
drusepth Jun 18, 2021
ce2e899
add naive word count method to docs
drusepth Jun 18, 2021
4745faa
documents#index design work
drusepth Jun 18, 2021
d01b53c
Merge branch 'master' into docs-rework
drusepth Jun 18, 2021
d2cd9fe
fix filtering multiple sources on single page, plus add filtering for…
drusepth Jun 18, 2021
0925b26
improve doc table design
drusepth Jun 18, 2021
1289af9
start adding document meta modal
drusepth Jun 19, 2021
b56c33f
style improvements
drusepth Jun 20, 2021
4ff6915
update analysis notice cta
drusepth Jun 20, 2021
7267299
show doc favorite star on table rows
drusepth Jun 20, 2021
45e03bc
Merge branch 'docs-rework' of github.com:indentlabs/notebook into doc…
drusepth Jun 20, 2021
08a5253
hook up synopsis & doc meta autosave
drusepth Jun 20, 2021
ac0b200
Merge branch 'master' into docs-rework
drusepth Jun 20, 2021
40b77f3
remove big analysis cta
drusepth Jun 20, 2021
9eb0301
denote which docs are yours vs shared with you
drusepth Jun 20, 2021
07137c1
shared meta form perms
drusepth Jun 20, 2021
3a87081
add migration for word count cache on docs
drusepth Jun 20, 2021
f6e3695
add page tags to documents, adding/filtering
drusepth Jun 20, 2021
daa0852
clean up tags a bit
drusepth Jun 20, 2021
3e3cd7b
finish redoing tags to allow multiple tag inputs on a single page
drusepth Jun 21, 2021
f05213a
toast consistency with timelines
drusepth Jun 21, 2021
e257fb0
doc tags polish
drusepth Jun 21, 2021
2e2d9e7
ui/ux stuff
drusepth Jun 21, 2021
be55e3e
helper for tag manipulation
drusepth Jun 21, 2021
5a5edf3
folder model
drusepth Jun 21, 2021
290b035
always show tag filter
drusepth Jun 21, 2021
b41d3fb
WIP folder implementation, EOD
drusepth Jun 21, 2021
e94f207
make tags slightly larger text
drusepth Jun 23, 2021
8cad4d3
standardize tag size across cards/tables
drusepth Jun 23, 2021
3fa4235
basic folders plumbing + design
drusepth Jun 23, 2021
f983bd8
Merge branch 'master' into docs-rework
drusepth Jun 26, 2021
be2df03
don't show page tags in dense card view right now
drusepth Jun 26, 2021
11c890c
more folder setup
drusepth Jun 27, 2021
6c9481a
folder routing, navigation, and display
drusepth Jun 27, 2021
06ccd4c
set doc folders
drusepth Jun 27, 2021
a7354af
contrib folder view
drusepth Jun 27, 2021
c35d788
Merge branch 'docs-rework' of github.com:indentlabs/notebook into doc…
drusepth Jun 27, 2021
722e99b
allow nesting folders on creation
drusepth Jun 27, 2021
b8928a0
modal polish
drusepth Jun 27, 2021
475aead
use universe scope on folder#show pages
drusepth Jun 27, 2021
372da9c
folder view polish
drusepth Jun 27, 2021
ba8059b
allow updated folder props
drusepth Jun 27, 2021
f3db183
polish
drusepth Jun 27, 2021
d12eabc
wip eod
drusepth Jun 29, 2021
3793e7f
include tag logic on folder#show
drusepth Jun 29, 2021
e37f1bf
allow filtering by folder AND tag
drusepth Jun 29, 2021
523ad70
more folder flow + deleting folders
drusepth Jun 30, 2021
52b708d
folder list polish
drusepth Jun 30, 2021
2ba6294
make doc table more dense
drusepth Jun 30, 2021
e23981e
tags rework bugfixes
drusepth Jun 30, 2021
c5956cd
more fixes
drusepth Jun 30, 2021
95d4a36
more fixes & polish
drusepth Jul 1, 2021
dc05d7e
cache doc word counts
drusepth Jul 1, 2021
a3000ae
improve word count calc
drusepth Jul 1, 2021
0b2a5a6
add rake task to backfill doc word count caches
drusepth Jul 1, 2021
eae59ef
use 3rd party lib for word counts
drusepth Jul 1, 2021
70f6eb7
improve word count settings
drusepth Jul 1, 2021
0e99d22
expose wc gem globally
drusepth Jul 1, 2021
66b54ca
fix for first doc in folder
drusepth Jul 1, 2021
20e780f
cache MRU docs first
drusepth Jul 1, 2021
3e91b68
add last-edited tooltips to doc sidenav
drusepth Jul 1, 2021
1ed249b
show folder context in doc sidenav
drusepth Jul 1, 2021
8abeb22
add folder navigation to docs sidenav
drusepth Jul 1, 2021
a86d3ff
more polish
drusepth Jul 1, 2021
85198cc
Favorites filter in folders
drusepth Jul 1, 2021
b2a61f8
ui polish
drusepth Jul 1, 2021
ab712ed
analysis sidebar for docs/folders
drusepth Jul 1, 2021
5ebf754
kill some N+1 queries
drusepth Jul 1, 2021
a394880
n+1 opt for folder views
drusepth Jul 1, 2021
ce0cda5
todo
drusepth Jul 1, 2021
f373903
ux
drusepth Jul 1, 2021
083cac0
folder ordering & polish
drusepth Jul 2, 2021
05660ee
docs data vault page
drusepth Jul 2, 2021
4352545
cache word counts on revisions + polish
drusepth Jul 2, 2021
68e3805
more fun deets
drusepth Jul 2, 2021
af567da
more stats on writing
drusepth Jul 2, 2021
4563368
MORE CHARTS
drusepth Jul 2, 2021
0a2985d
allow downloading docs graphs
drusepth Jul 2, 2021
25e8679
handy link back to docs
drusepth Jul 2, 2021
0f4bc9e
add handy edit link to document#show
drusepth Jul 2, 2021
0fda990
polish
drusepth Jul 2, 2021
0c34da5
polish eod
drusepth Jul 2, 2021
cf1efa9
clean up
drusepth Jul 2, 2021
674a1ac
remove some doc-related N+1s
drusepth Jul 2, 2021
815249b
doc table polish
drusepth Jul 2, 2021
80446f3
skip 27ish queries oof
drusepth Jul 3, 2021
b16e53c
add commas to word counts
drusepth Jul 3, 2021
6ad4d37
include indexes
drusepth Jul 3, 2021
3555e27
reuse existing folder query
drusepth Jul 3, 2021
d52f8b3
speed up document authorizer by skipping unnecessary queries
drusepth Jul 3, 2021
35b6b57
speed up all authorizers by short circuits
drusepth Jul 3, 2021
728bb38
reuse tags query in docs table
drusepth Jul 3, 2021
518985f
more query fixes
drusepth Jul 3, 2021
a16590c
add favorite defaults migration
drusepth Jul 3, 2021
88ce239
i hate to departial this but it's like 10x faster without rendering a…
drusepth Jul 3, 2021
4515ce1
fix data vault graphs for docs
drusepth Jul 4, 2021
c08b211
polish and tag bugfix
drusepth Jul 4, 2021
b9b559a
polish
drusepth Jul 4, 2021
69523d1
fix universe scoping on documents
drusepth Jul 4, 2021
f1a577a
improve admin panel stats
drusepth Jul 5, 2021
2e0a0b3
improve admin dashboard further
drusepth Jul 5, 2021
24a2d2d
admin dashboard graph fix
drusepth Jul 5, 2021
1cf8a9b
fix formatting issues on 404 collection cover images
drusepth Jul 5, 2021
b0926e0
formatting fix on collections
drusepth Jul 5, 2021
53c34f3
moderation work
drusepth Jul 5, 2021
3ae20fd
add folder title to document table
drusepth Jul 5, 2021
db56238
remove dead code on dashboard
drusepth Jul 5, 2021
a9202ed
ux polish on dashboard
drusepth Jul 5, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
admin dashboard graph fix
  • Loading branch information
drusepth committed Jul 5, 2021
commit 24a2d2debc93380e94da39c76b82156e81ebe93c
2 changes: 1 addition & 1 deletion app/views/admin/dashboard.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@
Document revisions
<span class="right grey-text"><%= number_with_delimiter DocumentRevision.last.id %> total</span>
</div>
<%= area_chart @reports.pluck(:day, :documents_edited), colors: [Document.hex_color] %>
<%= area_chart @reports.pluck(:day, :document_revisions_created), colors: [Document.hex_color] %>
</div>
</div>
</div>
Expand Down