Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
939 commits
Select commit Hold shift + click to select a range
ff37acb
Add visual indicator for pending word count recalculation
drusepth Jan 4, 2026
ba408aa
Fix nested indentation bug in document revisions list
drusepth Jan 4, 2026
85d6a81
Reorder document sidebar tabs: Books before Actions
drusepth Jan 4, 2026
c5b4ee2
Add Book as linkable content type in documents
drusepth Jan 4, 2026
92b627e
Increase document revisions per page from 10 to 60
drusepth Jan 4, 2026
e7ee5fa
Add period selector to writing activity page
drusepth Jan 4, 2026
8cd863d
Improve books sidebar visual design and reduce clutter
drusepth Jan 4, 2026
d7090f2
Polish books sidebar: full-width layout, icons, and alignment fixes
drusepth Jan 4, 2026
c892673
Move book actions to expandable section as menu items
drusepth Jan 4, 2026
b0f1fac
Fix N+1 queries in UsersController#show
drusepth Jan 4, 2026
3be9ff9
add missing css pack tag
drusepth Jan 4, 2026
0d3e133
Add daily word goal notification
drusepth Jan 4, 2026
dd4a257
Use content type text colors for writing activity page icons
drusepth Jan 4, 2026
b3f9b9b
Fix N+1 query in BasilController#review
drusepth Jan 4, 2026
1f030c1
Fix test failures: pinned method bug and routes redirect
drusepth Jan 4, 2026
73dce65
Fix N+1 query in content index views
drusepth Jan 4, 2026
b766e2b
Redesign admin stats dashboard with Tailwind and add time range selector
drusepth Jan 4, 2026
bf301b7
Fix N+1 query in MainController#dashboard
drusepth Jan 4, 2026
f2d258e
Fix dashboard streak to use word count data instead of updated_at
drusepth Jan 4, 2026
c599fae
Remove admin layout and redesign admin pages with Tailwind CSS
drusepth Jan 4, 2026
e7b800a
Redesign admin unsubscribe pages with Tailwind CSS
drusepth Jan 4, 2026
395e457
Fix N+1 queries in UsersController
drusepth Jan 4, 2026
82f73cf
Redesign admin spam watch page with Tailwind and fix SQLite compatibi…
drusepth Jan 4, 2026
e4157fd
Redesign admin hatewatch page with Tailwind CSS
drusepth Jan 4, 2026
3320dd9
Fix N+1 query in Thredded::TopicsController#show
drusepth Jan 4, 2026
db79248
Redesign admin images page with Tailwind CSS
drusepth Jan 4, 2026
a0ae03d
Fix nil error in BasilController#stats when no feedback exists
drusepth Jan 4, 2026
401c65b
Redesign admin promos page with Tailwind CSS
drusepth Jan 4, 2026
16ca9be
Redesign admin attributes page with Tailwind CSS
drusepth Jan 4, 2026
2ec5ff8
Add reference code analytics page for admin notifications
drusepth Jan 4, 2026
1ef78df
Unify autosave system and fix link field autosave bug
drusepth Jan 4, 2026
468eb8a
Bundle Medium Editor locally and reduce autosave delay
drusepth Jan 4, 2026
6540220
Allow book document titles to wrap on mobile
drusepth Jan 5, 2026
e5bec37
Strip background colors when copying from document editor
drusepth Jan 5, 2026
f134e4b
Fix document privacy not saving from new UI
drusepth Jan 5, 2026
3dbd871
Fix NoMethodError on moderation history page
drusepth Jan 5, 2026
53ea8f9
Add printable view for documents
drusepth Jan 5, 2026
08008b9
Persist Quick Access sidebar visibility preference
drusepth Jan 5, 2026
b45ef04
Remove document recency indicator lights from documents list
drusepth Jan 5, 2026
f0512e7
Fix session persistence after account deletion
drusepth Jan 5, 2026
7be5f2c
Improve documents index layout on mobile
drusepth Jan 5, 2026
1e9459b
Fix NoMethodError in moderation history view
drusepth Jan 5, 2026
6c45198
Fix forum post dropdown menu being clipped by overflow-hidden
drusepth Jan 5, 2026
6fdf7cc
Fix N+1 query in forum topic show page
drusepth Jan 5, 2026
679923b
Add timespan picker to admin churn page
drusepth Jan 5, 2026
b2b76de
Fix admin notifications page performance with millions of rows
drusepth Jan 5, 2026
a111e38
Prevent form submission on Enter in document title field
drusepth Jan 5, 2026
4650975
Add Create Document button to books edit page
drusepth Jan 5, 2026
d3cbc46
Auto-focus search input when clicking Add Document
drusepth Jan 5, 2026
240a748
Fix mobile tap handling on sidebar toggle tab icons
drusepth Jan 5, 2026
34f61e7
Reduce padding on mobile printable document view
drusepth Jan 5, 2026
fa3ef46
Add folder selection to document editor Information tab
drusepth Jan 5, 2026
f1fbbb5
Add dark mode support to Timelines#show view
drusepth Jan 5, 2026
2fdaaab
Display folder hierarchy with indentation in folder dropdown
drusepth Jan 5, 2026
6e5e702
Add dark mode support to Share Timeline modal
drusepth Jan 5, 2026
f65b13d
Close mobile sidebar when navigating to gallery view
drusepth Jan 5, 2026
b357dd0
Add auto-scroll to hero header when expanding serendipitous question …
drusepth Jan 6, 2026
b7260e5
Position sidebar toggle tabs near top to match content#edit
drusepth Jan 6, 2026
dba8c68
Add hidden class to folder#show dropdowns to prevent FOUC
drusepth Jan 6, 2026
4ad1a17
Improve Edit Folder modal layout on mobile
drusepth Jan 6, 2026
0535d4c
Update thredded pagination dark mode with solid Tailwind colors
drusepth Jan 6, 2026
fe30145
Add Comments view to content pages
drusepth Jan 6, 2026
f3b2967
Extract shared folder dropdown component and add gradient headers
drusepth Jan 6, 2026
5825d96
Right-align Following and Everyone buttons on stream pages
drusepth Jan 6, 2026
0ae2827
Fix folder edit modal deleting folders instead of updating
drusepth Jan 6, 2026
634ece9
Add dark mode support to editor picks page
drusepth Jan 6, 2026
fe8dd28
Add back folder hierarchy connector character in dropdown
drusepth Jan 6, 2026
bc14dd7
Fix timeline spine color in dark mode
drusepth Jan 6, 2026
4c78494
Add dark mode support to moderation users page
drusepth Jan 6, 2026
07dee07
Add dark mode support to collection submissions page
drusepth Jan 6, 2026
b49ff1b
Fix word count display in document editor sidebar
drusepth Jan 6, 2026
7f93ef2
Remove ArtFight2025 promotional banner from tags field
drusepth Jan 6, 2026
a82aeeb
Fix word count doubling bug caused by duplicate records
drusepth Jan 6, 2026
04bdd3c
Fix nil user crash on share comments display
drusepth Jan 6, 2026
3dbcf00
Rename Comments tab to Shares on content show page
drusepth Jan 6, 2026
73061fd
Add comma formatting to word counts on books edit page
drusepth Jan 6, 2026
6ea48a8
Add pull-out tab sidebar to books edit page
drusepth Jan 7, 2026
0e8179d
Add analytics sidebar with expandable document list to books edit page
drusepth Jan 7, 2026
d01a66e
Add status field to documents for workflow tracking
drusepth Jan 7, 2026
8145748
Fix filter bar padding on documents index page
drusepth Jan 7, 2026
8f484bb
Add status filter to documents index page
drusepth Jan 7, 2026
25eea1a
Add document status to index byline and default to Writing
drusepth Jan 7, 2026
69aed50
Fix admin notifications performance with SQL aggregation
drusepth Jan 7, 2026
dfd335b
Add client-side sorting to admin notification analytics
drusepth Jan 7, 2026
3ccdcb8
Remove max-height constraint from books sidebar chapter list
drusepth Jan 7, 2026
a8319c6
redesign tag browse page with tailwind
drusepth Jan 7, 2026
bbc62d9
Redesign browse tag page with Pinterest-style masonry layout
drusepth Jan 7, 2026
cbfb8f8
Consolidate dashboard stats cards from 3 to 2
drusepth Jan 7, 2026
dbdc3d2
Fix unsupported Tailwind opacity shorthand syntax across views
drusepth Jan 7, 2026
cc9e5a3
Improve dashboard stats cards layout
drusepth Jan 7, 2026
97d7af3
Show 7 recently edited pages on dashboard instead of 6
drusepth Jan 7, 2026
d740f80
Redesign collapsed sidebar as icon ribbon with mobile improvements
drusepth Jan 7, 2026
e55308d
remove Timeline from worldbuilding arrays
drusepth Jan 8, 2026
9be53ad
Fix collapsed sidebar overlapping content in production
drusepth Jan 8, 2026
12a4cd3
Fix sidebar layout classes being purged from production CSS
drusepth Jan 8, 2026
7ff5d8e
try this purge syntax :X
drusepth Jan 8, 2026
6452bf7
fix it pls
drusepth Jan 8, 2026
9d7567b
Prevent collapsed sidebar icons from scrunching together
drusepth Jan 10, 2026
9199a33
Fix empty field values not saving on content pages
drusepth Jan 10, 2026
e2a9019
Add Inbox link with notification count to forum navigation
drusepth Jan 10, 2026
8ec3e14
Streamline prompts page UI for minimal, focused writing experience
drusepth Jan 10, 2026
02f7962
Fix forum card dark mode and remove unsupported Tailwind opacity syntax
drusepth Jan 10, 2026
fa4f4a8
Fix tags dropdown positioning on mobile timelines page
drusepth Jan 10, 2026
0f690e0
Move writing stats to footer toolbar
drusepth Jan 10, 2026
4597a69
Move New Prompt button to footer toolbar
drusepth Jan 10, 2026
9e59f68
Simplify timelines header layout and remove mobile breakpoint variants
drusepth Jan 10, 2026
5c9771c
Show OS-specific keyboard shortcut in Writing Tips
drusepth Jan 10, 2026
e406f23
Fix End Time input overflow on mobile timeline edit
drusepth Jan 10, 2026
d423491
Move "(via universe)" text to new line below Public in visibility badge
drusepth Jan 11, 2026
1da0d29
Add moderation hub for forum moderators
drusepth Jan 11, 2026
13e52bf
Improve admin and moderation hub layouts
drusepth Jan 11, 2026
65e6df0
Refactor timeline edit view into partials and consolidate CSS
drusepth Jan 11, 2026
54c654a
Add pull-out tab menu system to timeline editor
drusepth Jan 11, 2026
80e538b
Simplify timeline editor layout and add settings panel
drusepth Jan 11, 2026
83ccd8e
Add Event button at bottom of timeline and fix insertion order
drusepth Jan 11, 2026
a4504e7
Make Event Details panel responsive on mobile
drusepth Jan 11, 2026
c8a2531
Add dark mode support to Linked Content info box
drusepth Jan 11, 2026
30bc76d
Improve timeline pull-tab behavior and styling
drusepth Jan 11, 2026
fb84cd1
Fix dashboard crash when daily_word_goal returns nil or 0
drusepth Jan 11, 2026
2f0df4d
Exclude Book from green stats calculation
drusepth Jan 11, 2026
859efe9
Fix UNION ALL query error by aligning books table with content types
drusepth Jan 11, 2026
1097e8e
Add Search/Filter panel and improve timeline editor UX
drusepth Jan 11, 2026
87ebd37
Add New Timeline button to Timeline Tools menu
drusepth Jan 11, 2026
2954ae6
Fix timeline toggle_favorite URL path
drusepth Jan 11, 2026
5421394
Fix N+1 query in ContentController#link_field_update
drusepth Jan 11, 2026
28042dc
Fix N+1 query in BasilController#review
drusepth Jan 11, 2026
1512a4d
Add Words Written Today and This Week stats to admin hub
drusepth Jan 11, 2026
82c42b2
Remove non-functional dark mode toggle from page collections show
drusepth Jan 11, 2026
f443118
Fix book.title to book.name in views
drusepth Jan 11, 2026
2995966
Make linked content unlink button always visible
drusepth Jan 11, 2026
a39c4bc
Add clickable header and + button to open link modal
drusepth Jan 11, 2026
68103c5
Fix timeline editor sidebar scrolling
drusepth Jan 12, 2026
627a120
Add Linked Content as separate left sidebar panel
drusepth Jan 12, 2026
b7de604
Make Link Content modal responsive and full-height
drusepth Jan 12, 2026
d05b452
Remove Tools panel from timeline editor left sidebar
drusepth Jan 12, 2026
3cf1b85
Hide drag-and-drop tip and handles on mobile devices
drusepth Jan 12, 2026
6b219ad
Add favoriting functionality to books index
drusepth Jan 12, 2026
3025cb7
Add Privacy & Sharing section to timeline settings panel
drusepth Jan 12, 2026
fd18e61
Make example writing goals clickable with pre-filled values
drusepth Jan 12, 2026
70ec4a3
Remove text-sm from material icons in timeline event inspector
drusepth Jan 12, 2026
1ce0b80
Make search dropdown full-width on mobile
drusepth Jan 12, 2026
204681e
Add word tracking to Books and Timeline Events
drusepth Jan 12, 2026
fabf534
Fix word count jobs not being enqueued on attribute save
drusepth Jan 12, 2026
6c6f7f6
Fix word count queries to scope by specific entity IDs
drusepth Jan 15, 2026
5743bbd
Fix timeline edit 500 error when Documents are linked
drusepth Feb 22, 2026
1e1b3ea
Fix word count tracking bugs causing crashes, duplicates, and stale data
drusepth Feb 22, 2026
7634920
Increase tap target size for template category action buttons on mobile
drusepth Feb 22, 2026
cbe533c
Replace browser tooltips with instant CSS tooltips on category cards
drusepth Feb 22, 2026
e471b3d
Fix delete confirmation dialog to require actual text input
drusepth Feb 22, 2026
1a5d2fd
Fix Data Vault 500 errors by excluding Book from green calculations
drusepth Feb 22, 2026
110ad30
Fix tag pages showing only one or no results
drusepth Feb 22, 2026
74e8a13
Add extensible display styles for link fields (Tags, Text, Cards)
drusepth Feb 22, 2026
a55d433
Fix writing activity timezone bug by using enqueued_at instead of Tim…
drusepth Feb 22, 2026
b439184
Add auto-scroll when dragging timeline events near viewport edges
drusepth Feb 22, 2026
bca10da
Fix timelines_user_path NoMethodError in forum badges
drusepth Feb 22, 2026
137b180
Fix N+1 query in DocumentsController#edit for polymorphic entities
drusepth Feb 22, 2026
47104f4
Fix N+1 query in MainController#paper by batch-fetching max IDs
drusepth Feb 22, 2026
47ffe88
Add book_worldbuilding_info route and view for /about/paper page
drusepth Feb 22, 2026
853b162
Fix N+1 queries in GreenService.max_ids_for_content_types
drusepth Feb 22, 2026
1ac5de6
Fix slow query in content show pages by removing unnecessary eager_load
drusepth Feb 22, 2026
25d90b2
Remove "No items" text from empty content index pages
drusepth Feb 22, 2026
4341935
Add tooltips to view toggle buttons on content index page
drusepth Feb 22, 2026
ddc1f18
Restyle navbar notification and user buttons as book-shaped
drusepth Feb 22, 2026
5162c68
Fix N+1 queries in TimelinesController#index
drusepth Feb 22, 2026
d051c71
Enhance Books marketing page and add Writing Toolkit section
drusepth Feb 22, 2026
5526bb3
Replace writing goals chart columns with horizontal threshold line
drusepth Feb 22, 2026
370cd44
Add /worldbuilding/documents marketing page
drusepth Feb 22, 2026
c5326de
Add memory-efficient word counting for large documents
drusepth Feb 22, 2026
dd1118a
Improve styling of narrative event types section on timelines page
drusepth Feb 22, 2026
0d7a455
Fix incorrect links on books worldbuilding page
drusepth Feb 22, 2026
2a59c6b
Optimize dashboard performance by eliminating N+1 queries
drusepth Feb 22, 2026
f2db108
Add right padding to navbar for better alignment with page content
drusepth Feb 22, 2026
41f9a54
Add /worldbuilding/timelines route and Writing Tools section to help …
drusepth Feb 22, 2026
488e97a
Move writing tool info pages from /worldbuilding to /writing
drusepth Feb 22, 2026
f224ff8
Add SEO-friendly hero section to help page
drusepth Feb 22, 2026
dee05bb
Move View all link to notification header and make Mark all read full…
drusepth Feb 22, 2026
b8d574e
Add Help Center guides and redesign Billing FAQ with Tailwind
drusepth Feb 22, 2026
2c26ee5
fix streak logic + pacage
drusepth Feb 22, 2026
c215589
Fix timelines_user_path NoMethodError in forum badges
drusepth Feb 22, 2026
898095c
Make notification panel wider on lg and xl screens
drusepth Feb 22, 2026
f8b4767
Fix PG::UndefinedColumn error for books.title in documents edit
drusepth Feb 22, 2026
41414d3
Fix moderation link visibility in dark mode
drusepth Feb 22, 2026
98d9b52
change sticky color on forums threads
drusepth Feb 22, 2026
1f44d7c
Include event word counts in timeline's displayed total
drusepth Feb 23, 2026
1eb55e1
Fix template editor link appearance removing page types
drusepth Feb 23, 2026
167f5d7
Touch content when pinning images to update recently edited
drusepth Feb 23, 2026
f3a0910
Add pagination to top of content index page
drusepth Feb 23, 2026
e7ae0c7
Fix NoMethodError in BasilController#save and #delete
drusepth Feb 23, 2026
c4c7e32
Hide private fields from non-owners and track document word counts cl…
drusepth Mar 2, 2026
d746f2d
Merge master into tailwind-redesign to bring in latest Basil image ge…
drusepth Mar 5, 2026
a329006
Add "Add Document" button to book sidebar on document edit page
drusepth Mar 7, 2026
42a0840
Fix Thredded pagination dark mode styling
drusepth Mar 7, 2026
a929420
Fix word counter not updating in mobile sidebar due to duplicate IDs
claude Mar 8, 2026
314743a
Fix sidebar layout jump on page load
claude Mar 8, 2026
be53d0d
Add universe filtering to books index page
claude Mar 8, 2026
674b563
Merge pull request #1428 from indentlabs/claude/fix-sidebar-layout-ju…
drusepth Mar 9, 2026
81ddba7
Fix timeline event linking bug
drusepth Mar 9, 2026
c8031db
Fix numbered lists not displaying in document editor
drusepth Mar 9, 2026
afa1376
Add User.text_color styling to forum user profile links
drusepth Mar 9, 2026
ddab075
Fix long URLs not wrapping on content pages
drusepth Mar 9, 2026
43d2724
Fix favorite button styling and sorting on content index
drusepth Mar 9, 2026
bdb1f14
Refactor gallery panel to use event delegation
drusepth Mar 9, 2026
2035ca3
Merge branch 'tailwind-redesign' of github.com:indentlabs/notebook in…
drusepth Mar 9, 2026
c0263ac
Fix NoMethodError on Book model for random_image_including_private
drusepth Mar 9, 2026
e8feb60
Add composite index to fix slow ContentChangeEvent query during login
drusepth Mar 9, 2026
dd074ec
Fix N+1 query in ContentController#edit by eager loading associations
drusepth Mar 9, 2026
f705bca
Merge pull request #1430 from indentlabs/claude/add-universe-filterin…
drusepth Mar 9, 2026
b0112ea
Merge pull request #1425 from indentlabs/claude/fix-word-counter-upda…
drusepth Mar 9, 2026
b6b2235
Fix forum pagination dark mode styling
drusepth Mar 9, 2026
7ef66ab
clean gallery panel circle-ness on icons
drusepth Mar 9, 2026
c5439c3
Merge branch 'tailwind-redesign' of github.com:indentlabs/notebook in…
drusepth Mar 9, 2026
433532c
Fix ActiveStorage ImageAnalyzer finding MiniMagick
drusepth Mar 21, 2026
fb2b2c7
Merge branch 'master' into tailwind-redesign
drusepth Mar 21, 2026
51da7f7
Fix Docker build and dependencies: revert Node to 16, fix engtagger s…
drusepth Mar 21, 2026
97cc423
Fix local file storage configuration for image uploads
drusepth Mar 21, 2026
5fc8d4f
Chore: Add Docker debug environment configuration
drusepth Mar 27, 2026
b91d0b8
Fix: Style forum replacement tags and tooltips with Tailwind
drusepth Mar 27, 2026
32d8b91
Fix: Apply correct formatting to moderator username links and blocked…
drusepth Mar 27, 2026
90f361a
Fix: Ensure navbar search bar maintains full width on mobile
drusepth Mar 27, 2026
50a6827
Feature: Add Site Uptime link to footer
drusepth Mar 27, 2026
d523965
Fix: Resolve blank page on image deletion via standard HTTP requests
drusepth Mar 27, 2026
d226609
Feature: Add support for saving notes on image uploads
drusepth Mar 27, 2026
018f6c0
add more suggested hair styles to autocomplete
drusepth Mar 27, 2026
267235a
Style new messageboard form with Tailwind CSS
drusepth Mar 27, 2026
9c43f3e
Clean up unused new.html.erb views and move Talk to Character tool to…
drusepth Mar 27, 2026
dc9b83a
Migrate Thredded moderation pages to Tailwind CSS
drusepth Mar 27, 2026
926d336
Fix mobile search layout and behavior in navbar
drusepth Mar 27, 2026
0062703
Include Thredded flash messages styling and moderation stats updates
drusepth Mar 27, 2026
c052a6c
redesign opencharacters export page with tailwind
drusepth Mar 27, 2026
f281789
allow notebook prod url hosts
drusepth Apr 1, 2026
5617850
Support image descriptions for Basil Commission images
drusepth Apr 1, 2026
4242dab
Merge branch 'tailwind-redesign' of github.com:indentlabs/notebook in…
drusepth Apr 1, 2026
50dd700
Fix 404 on image description updates in gallery panel
drusepth Apr 1, 2026
3cb5e2c
Fix DoubleRenderError in UsersController dynamically defined endpoints
drusepth Apr 1, 2026
88af3d7
Restore stylized hero banner to worldbuilding edit pages
drusepth Apr 1, 2026
f643a5b
Merge branch 'tailwind-redesign' of github.com:indentlabs/notebook in…
drusepth Apr 1, 2026
72464b3
UI: Show 'Last post by' instead of 'Started by' on thread list
drusepth Apr 1, 2026
cb29e15
Show image thumbnails for recently edited pages on dashboard
drusepth Apr 1, 2026
bd15329
don't mark-dirty the page from image notes
drusepth Apr 1, 2026
ae0c67b
Refactor image thumbnail logic to HasImageUploads
drusepth Apr 1, 2026
6acef51
Maximize thumbnail size in dashboard recent pages list
drusepth Apr 1, 2026
b57acdf
Implement custom_thumbnail_url directly on ContentPage wrapper
drusepth Apr 1, 2026
bb71c9b
Use private thumbnails for /my/content/recent lists
drusepth Apr 1, 2026
033fe15
Allow Grid View cards to show private images securely
drusepth Apr 1, 2026
eeea434
Allow Dashboard Most-Edited cards to display private images
drusepth Apr 1, 2026
ec8998e
Show image descriptions in content show gallery
drusepth Apr 1, 2026
ec8a3bb
Make edit page headers link to show page
drusepth Apr 1, 2026
6ff9a33
Fix pin icon CSS on content#show pages to be a perfect circle
drusepth Apr 1, 2026
101eb11
remove button we nixed
drusepth Apr 1, 2026
5c5b0c7
Finish Table of Contents feature for public universe browsing
claude Apr 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

# Ignore assets
/public/assets
/public/system/*
storage/*

# Super-secret stuff
Expand All @@ -41,3 +42,5 @@ node_modules
yarn-debug.log*
.yarn-integrity

# Heroku stuff
.env
15 changes: 14 additions & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,4 +128,17 @@ The application uses a content type system with these types of pages:
- Character, Location, Item (core types)
- Many premium content types like Creature, Planet, Religion, etc.

Creating a new content type requires following the process in `docs/content_types.md`.
Creating a new content type requires following the process in `docs/content_types.md`.

## Tailwind CSS Conventions

This project uses Tailwind CSS for styling. **Do not use the following Tailwind features** as they are not supported in our configuration:

1. **Arbitrary values** - Do not use bracket syntax like `text-[10px]`, `w-[200px]`, `mt-[17px]`, etc. Use only standard Tailwind classes or add custom values to `tailwind.config.js` if needed.

2. **Opacity shorthand** - Do not use slash syntax like `text-white/80`, `bg-black/40`, `border-gray-500/50`, etc. Instead, use separate opacity utilities:
- For backgrounds: `bg-black bg-opacity-40`
- For text: `text-white` with a wrapper using `opacity-80` if needed
- For borders: `border-gray-500 border-opacity-50`

3. **Custom sizes** - If you need a size that doesn't exist (e.g., smaller than `text-xs`), add it to the `extend` section in `tailwind.config.js`. For example, `text-xxs` is available for 10px text.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# The image to build from.
FROM ruby:3.2.1-slim
FROM ruby:3.2.3-slim

# Properties/labels for the image.
LABEL maintainer="Notebook.ai Contributors"
Expand Down
19 changes: 19 additions & 0 deletions Dockerfile.debug
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM ruby:3.2.3-slim
RUN groupadd --system --gid 1000 notebookai && useradd --system --home-dir /home/notebookai --gid notebookai --uid 1000 --shell /bin/bash notebookai
RUN apt-get update -qq && apt-get install -y build-essential libpq-dev imagemagick libmagickwand-dev curl git libjemalloc2 && rm --recursive --force /var/lib/apt/lists/*
RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" && \
case "${dpkgArch##*-}" in \
amd64) ARCH='x64';; \
arm64) ARCH='arm64';; \
*) echo "unsupported architecture"; exit 1 ;; \
esac && \
curl -fsSLO "https://nodejs.org/dist/v20.12.2/node-v20.12.2-linux-$ARCH.tar.gz" && \
tar -xzf "node-v20.12.2-linux-$ARCH.tar.gz" -C /usr/local --strip-components=1 && \
rm "node-v20.12.2-linux-$ARCH.tar.gz"
RUN npm install -g yarn@1.22.22
WORKDIR /home/notebookai
COPY Gemfile Gemfile.lock package.json yarn.lock ./
RUN bundle install && yarn install
COPY . .
RUN chown -R notebookai:notebookai /home/notebookai
USER notebookai
12 changes: 7 additions & 5 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ gem 'filesize'
gem 'paperclip' # TODO: we want to migrate off this game to ActiveStorage
gem 'rmagick'
gem 'image_processing'
gem 'mini_magick'
gem 'active_storage_validations'

# Authentication
Expand Down Expand Up @@ -55,7 +56,7 @@ gem 'react-rails'
# Form enhancements
gem 'redcarpet' #markdown formatting
gem 'acts_as_list' #sortables
gem 'tribute' # @mentions
# gem 'tribute' # @mentions - Replaced with Alpine.js implementation

# SEO
gem 'meta-tags'
Expand Down Expand Up @@ -106,6 +107,9 @@ gem 'redis', '~> 5.1.0'
# Exports
gem 'csv'

# Diff generation for document revisions
gem 'diffy'

# Admin
gem 'rails_admin'

Expand All @@ -132,12 +136,9 @@ end

group :test, :production do
gem 'pg', '~> 1.5'

gem "mini_racer", "~> 0.6.3" # TODO: audit whether we can remove this
end

group :test do
gem 'codeclimate-test-reporter', require: false # TODO: remove this
gem 'database_cleaner'
gem 'selenium-webdriver'
gem 'rspec-rails', '~> 5.0'
Expand All @@ -148,7 +149,7 @@ end

group :development do
gem 'web-console'
gem 'listen'
# gem 'listen'
gem 'bullet'
gem 'rack-mini-profiler'
gem 'memory_profiler'
Expand All @@ -167,3 +168,4 @@ group :worker do
gem 'ibm_watson'
gem 'textstat'
end

28 changes: 3 additions & 25 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1797,8 +1797,6 @@ GEM
logger (~> 1.5)
climate_control (0.2.0)
cocoon (1.2.15)
codeclimate-test-reporter (1.0.9)
simplecov (<= 0.13)
coderay (1.1.3)
coffee-rails (5.0.0)
coffee-script (>= 2.2.0)
Expand Down Expand Up @@ -1835,6 +1833,7 @@ GEM
responders
warden (~> 1.2.3)
diff-lcs (1.6.2)
diffy (3.4.4)
discordrb (3.5.0)
discordrb-webhooks (~> 3.5.0)
ffi (>= 1.9.24)
Expand All @@ -1843,7 +1842,6 @@ GEM
websocket-client-simple (>= 0.3.0)
discordrb-webhooks (3.5.0)
rest-client (>= 2.0.0)
docile (1.1.5)
domain_name (0.6.20240107)
dotenv (3.1.8)
dotenv-rails (3.1.8)
Expand Down Expand Up @@ -1936,7 +1934,6 @@ GEM
activesupport (>= 3.0)
nokogiri (>= 1.6)
jmespath (1.6.2)
json (2.11.3)
jwt (2.2.3)
kaminari (1.2.2)
activesupport (>= 4.1.0)
Expand Down Expand Up @@ -1966,12 +1963,6 @@ GEM
letter_opener (~> 1.9)
railties (>= 6.1)
rexml
libv8-node (16.19.0.1-aarch64-linux)
libv8-node (16.19.0.1-arm64-darwin)
libv8-node (16.19.0.1-x86_64-linux)
listen (3.9.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
logger (1.7.0)
loofah (2.24.0)
crass (~> 1.0.2)
Expand Down Expand Up @@ -1999,8 +1990,6 @@ GEM
benchmark
logger
mini_mime (1.1.5)
mini_racer (0.6.4)
libv8-node (~> 16.19.0.0)
minitest (5.25.5)
minitest-reporters (1.7.1)
ansi
Expand Down Expand Up @@ -2117,9 +2106,6 @@ GEM
rake (>= 12.2)
thor (~> 1.0)
rake (13.2.1)
rb-fsevent (0.11.2)
rb-inotify (0.11.1)
ffi (~> 1.0)
react-rails (3.2.1)
babel-transpiler (>= 0.7.0)
connection_pool
Expand Down Expand Up @@ -2201,11 +2187,6 @@ GEM
logger
rack (>= 2.2.4)
redis-client (>= 0.22.2)
simplecov (0.13.0)
docile (~> 1.1.0)
json (>= 1.8, < 3)
simplecov-html (~> 0.10.0)
simplecov-html (0.10.2)
sin_lru_redux (2.5.2)
slack-notifier (2.4.0)
spring (4.3.0)
Expand Down Expand Up @@ -2241,7 +2222,6 @@ GEM
tilt (2.6.0)
timeago_js (3.0.2.2)
timeout (0.4.3)
tribute (3.6.0.0)
turbo-rails (2.0.12)
actionpack (>= 6.0.0)
railties (>= 6.0.0)
Expand Down Expand Up @@ -2301,13 +2281,13 @@ DEPENDENCIES
byebug
chartkick
cocoon
codeclimate-test-reporter
coffee-rails
csv
d3-rails (~> 5.9.2)
database_cleaner
dateslices
devise
diffy
discordrb
dotenv-rails
engtagger!
Expand All @@ -2321,11 +2301,10 @@ DEPENDENCIES
image_processing
language_filter
letter_opener_web
listen
material_icons
memory_profiler
meta-tags
mini_racer (~> 0.6.3)
mini_magick
minitest-reporters (~> 1.1)
onebox!
paperclip
Expand Down Expand Up @@ -2363,7 +2342,6 @@ DEPENDENCIES
terser
textstat
thredded!
tribute
uglifier (>= 1.3.0)
web-console
webmock (~> 3.0)
Expand Down
2 changes: 0 additions & 2 deletions README.rdoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
= Notebook.ai
{<img src="https://codeclimate.com/github/indentlabs/notebook/badges/gpa.svg" />}[https://codeclimate.com/github/indentlabs/notebook]
{<img src="https://codeclimate.com/github/indentlabs/notebook/badges/coverage.svg" />}[https://codeclimate.com/github/indentlabs/notebook/coverage]
{<img src="http://inch-ci.org/github/indentlabs/notebook.svg?branch=master" alt="Inline docs" />}[http://inch-ci.org/github/indentlabs/notebook]

== What is Notebook.ai?
Expand Down
78 changes: 78 additions & 0 deletions STREAM_REDESIGN_SUMMARY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# Stream Redesign Summary

## 🎨 Professional, Minimalist, and Fun Redesign Complete!

The social activity stream has been completely redesigned with a modern, professional aesthetic that maintains fun and engaging elements.

### ✅ Key Improvements Made

#### **Visual Design**
- **Glass morphism effects** - Frosted glass header with backdrop blur
- **Gradient backgrounds** - Subtle gradients from indigo to purple throughout
- **Professional color palette** - Indigo, purple, and pink accents with clean grays
- **Enhanced typography** - Better font weights, sizing, and spacing hierarchy
- **Rounded corners** - Modern 2xl border radius for cards and components

#### **Interactive Elements**
- **Smooth animations** - Hover effects, scale transforms, and smooth transitions
- **Gradient buttons** - Eye-catching CTAs with shadow effects and hover states
- **Interactive cards** - Subtle glow effects on hover, professional shadows
- **Status indicators** - Online status dots, content type badges
- **Micro-interactions** - Button hover states, form focus effects

#### **Layout & UX**
- **Sticky glass header** - Professional navigation that stays visible
- **Card-based design** - Clean, organized content in beautiful cards
- **Better spacing** - Generous whitespace and consistent padding
- **Visual hierarchy** - Clear content organization with dividers and sections
- **Mobile responsive** - Works beautifully across all device sizes

#### **Technical Fixes**
- **MaterializeCSS conflicts resolved** - No more double dropdowns
- **Form styling** - Tailwind-styled selects work properly
- **JavaScript protection** - Prevents MaterializeCSS initialization on Tailwind components

### 🚀 New Features

#### **Enhanced Share Creation**
- Beautiful gradient-bordered creation card
- Better placeholder text and instructions
- Visual feedback for public sharing
- Professional form styling

#### **Modern Feed Items**
- Glass morphism card design
- Content type badges with brand colors
- Interactive hover effects
- Better comment threading
- Professional interaction buttons (Like, Comment, Share)

#### **Improved Navigation**
- Icon-enhanced navigation buttons
- Search with keyboard shortcut indicators
- Professional toggle states
- Smooth transitions between views

#### **Professional Empty States**
- Beautiful empty state illustrations
- Encouraging call-to-action buttons
- Context-appropriate messaging

### 🎯 Design Principles Applied

1. **Professional** - Clean lines, consistent spacing, professional typography
2. **Minimalist** - Removed visual clutter, focused on content
3. **Fun** - Gradients, animations, playful hover effects
4. **Modern** - Glass morphism, subtle shadows, rounded corners
5. **Accessible** - Good contrast, clear hierarchy, readable fonts

### 💫 Visual Effects Used

- **Backdrop blur filters** for glass effects
- **CSS gradients** for backgrounds and buttons
- **Box shadows** with color tinting
- **Transform animations** for hover states
- **Opacity transitions** for smooth interactions
- **Border radius** for modern appearance

The stream now feels like a premium, professional social platform while maintaining the creative and fun nature that makes Notebook.ai special!
3 changes: 3 additions & 0 deletions app/assets/config/manifest.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
//= link_tree ../images
//= link_directory ../javascripts .js
//= link_directory ../stylesheets .css
//= link preload/jquery-3.1.1.min.js
//= link Chart.bundle.js
//= link chartkick.js
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/landing/notebook-hero-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/landing/notebook-hero-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/tristan/face.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/tristan/portrait.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 0 additions & 28 deletions app/assets/javascripts/_initialization.js

This file was deleted.

Loading
Loading