Commit Graph

2288 Commits

Author SHA1 Message Date
Jason Zimdars c4ca5d34e4 Allow cards to be moved to another collection 2025-05-29 21:41:29 -05:00
Jason Zimdars 9228337c52 Don't color closed golden cards 2025-05-29 16:49:57 -05:00
Jason Zimdars f863ced9dd Merge branch 'main' into jz-5-29-25
* main:
  Use consistent rem margins
2025-05-29 16:28:15 -05:00
Jason Zimdars 88a54a246d Need to convert to srgb color space when using oklch colors in Safari
No idea why
2025-05-29 16:24:17 -05:00
Andy Smith 9efdf3385c Merge pull request #546 from basecamp/rich-text-margins
Use consistent rem margins
2025-05-29 16:14:45 -05:00
Jason Zimdars 6738d3a365 Don't go too hard, we want related cards highlighting to still work 2025-05-29 16:12:11 -05:00
Jason Zimdars 9052b76c39 Indicate golden cards in activity 2025-05-29 15:30:17 -05:00
Jason Zimdars 81eb1e6fa3 Tighten spacing, try a subtle texture 2025-05-29 15:17:51 -05:00
Andy Smith 71cfa95308 Use consistent rem margins 2025-05-29 14:37:56 -05:00
Jason Zimdars 613a877f7f Merge branch 'main' into jz-5-28-25
* main: (58 commits)
  Safari doesn't support CSS `field-sizing: content` so we can shim it for now
  Hide bubbles in trays
  update lexical
  update lexical
  Update script to deal with duplicated records
  Revert "Revert "Replace House with Lexical""
  Revert "Replace House with Lexical"
  Update actiontext lexical
  Remove trace
  Update lexical
  Use existing method
  Update lexical
  Fix merge issues
  Format
  Cleanup
  Format
  Make tests pass with action text
  Don't choke when rendering commands where the card was deleted
  Update lexical
  Simple format excerpts in activity
  ...
2025-05-29 14:21:17 -05:00
Jason Zimdars 32ae94524a Safari doesn't support CSS field-sizing: content so we can shim it for now 2025-05-29 14:19:48 -05:00
Andy Smith e0accd0fd4 Hide bubbles in trays 2025-05-29 13:37:07 -05:00
Jorge Manrubia fa04016cbe Revert "Revert "Replace House with Lexical"" 2025-05-29 14:25:16 +02:00
Jorge Manrubia 08d8b2e5ff Revert "Replace House with Lexical" 2025-05-29 14:22:27 +02:00
Jorge Manrubia f00fffe801 Remove trace 2025-05-29 13:34:16 +02:00
Jorge Manrubia 62bef018ea Merge branch 'main' into lexical
* main:
  Don't choke when rendering commands where the card was deleted
  Update tests
  Rework system events
  test: add missing assertions
  dep: bump active_record-tenanted to fix URI support
  Remove hyphen from "Un-do"
  Prevent default when handling keyboard shortcuts
  dep: update AR::Tenanted to support database URIs
  Detect platform and label the correct hotkey shortcut
  Things got too tight
  Don't require TLS for Beamer at the moment
  dep: update dependencies

# Conflicts:
#	Gemfile
#	Gemfile.lock
#	app/assets/stylesheets/comments.css
2025-05-29 12:44:14 +02:00
Jorge Manrubia 3eeba253ad Don't choke when rendering commands where the card was deleted 2025-05-29 00:39:17 +02:00
Jason Zimdars a69dbdafe1 Simple format excerpts in activity 2025-05-28 17:18:20 -05:00
Jorge Manrubia 594161b982 Make autosave work with lexical 2025-05-28 23:20:24 +02:00
Jason Zimdars f04cbf44de Fix event comment horizontal alignment
- No need to expose reactions here, either
2025-05-28 16:13:42 -05:00
Jorge Manrubia 2594bf90a7 Bye house! 2025-05-28 22:36:43 +02:00
Jason Zimdars c6c9e0d5fc Rework system events
- Restyle system events so they don't look like comments and aren't attributed to the system user
- Ensure the event creator is included in the description so it's clear who did it.
- Walk back system comment replacement. Yes, it potentially avoids embarassing people when they change their mind, it's also losing data. If two intentional assigments happen in proximity, we've been only showing the latest one,.
2025-05-28 15:26:41 -05:00
Jason Zimdars 224fb1893e Can't reliably use percentages here 2025-05-28 11:13:59 -05:00
Jason Zimdars adc84a7054 Improve color associations, add a few more types 2025-05-28 11:13:00 -05:00
Jason Zimdars 5e2c1c3501 Add a little more pizzazz to file icons 2025-05-28 10:26:32 -05:00
Jason Zimdars b50a6e57b6 Typo 2025-05-28 09:29:44 -05:00
Jason Zimdars f62c986a22 Tighten blocks, add explicit spacing 2025-05-28 09:29:13 -05:00
Kevin McConnell 50e2085e8b Remove hyphen from "Un-do" 2025-05-28 13:58:26 +01:00
Kevin McConnell 880e3d98b2 Prevent default when handling keyboard shortcuts
Without this, any default action would still happen. With Chrome on
Linux, that causes browser features to be triggered with our CTRL+J and
CTRL+K actions.
2025-05-28 08:18:49 +01:00
Jason Zimdars fc0d0cd300 Style non-previewable attachment in editor and rendered 2025-05-27 22:21:58 -05:00
Jason Zimdars bdbd556560 Center and allow natural width 2025-05-27 14:55:25 -05:00
Jason Zimdars c42395a3ab Merge branch 'main' into jz-5-26-25
* main:
  Detect platform and label the correct hotkey shortcut
2025-05-27 12:15:50 -05:00
Jason Zimdars d17134cb5c Detect platform and label the correct hotkey shortcut
Yes, Platform Agent is overkill for just this but there isn't a one-size JS solution for updating both input placeholders and other HTML text and we're likely to need it later for other things like displaying platform-specific PWA prompts.
2025-05-27 12:14:24 -05:00
Jorge Manrubia 108f711d1f Inline missing helper 2025-05-27 12:55:09 +02:00
Jorge Manrubia 4aa1cef99d Show previeable content in the editor
Embedded PDF previewing isnt' reliable (not working in Safari with active storage). Instead
let's align the editor with Active Storage previews and support pdf previews
2025-05-27 12:30:44 +02:00
Jason Zimdars b2509ce806 Fix a couple of spacing wonks 2025-05-26 17:28:08 -05:00
Jason Zimdars c32c6af765 Style caption input 2025-05-26 17:21:02 -05:00
Jason Zimdars 7ef8e2f041 Align progress bar 2025-05-26 17:15:11 -05:00
Jason Zimdars 6166afba36 Adjust icons 2025-05-26 17:01:07 -05:00
Jason Zimdars a1a16c4857 Style link dialog 2025-05-26 15:44:57 -05:00
Jason Zimdars 62c01627ec First stab at styles 2025-05-26 14:56:36 -05:00
Jason Zimdars f7759f67ef Things got too tight 2025-05-26 09:43:13 -05:00
Jorge Manrubia 1b326e932b Update to get D&D 2025-05-25 06:23:37 +02:00
Jorge Manrubia a6d8e89846 Update to latest 2025-05-25 05:20:31 +02:00
Jorge Manrubia 7b6b81444b Minimal styles for non-image attachments 2025-05-23 14:34:16 +02:00
Jorge Manrubia de87ff9c70 Refine syntax higlighting 2025-05-23 13:28:26 +02:00
Jorge Manrubia 1c41b956a9 Highlight at rendering time too 2025-05-23 13:25:07 +02:00
Jorge Manrubia 85f03b5bf0 Use new default toolbar 2025-05-23 12:40:29 +02:00
Jorge Manrubia 0693617d83 Some initial work to reuse styles with lexical 2025-05-23 11:53:22 +02:00
Jorge Manrubia 10b2aad647 Replace House with lexical-powered actiontext 2025-05-23 11:41:08 +02:00