Donal McBreen
e8abc66eba
MySQL search
...
Add a single search_index table for full-text search of cards and
comments.
For the search there is a full-text index on the title and content
columns. The board_ids is also included in the table and accessible
board ids are pre-loaded and included in the search query. This allows
us to filter out inaccessible records before joining with other tables.
Right now the search is just using boolean search. This would give us
a bunch of syntax options
(see https://dev.mysql.com/doc/refman/8.4/en/fulltext-boolean.html )
except the search query filters those out.
I've removed the searchable_by method for now - everything is built
on the assumption that there's a single search index table and all data
must fit into it.
Queries are written in SQL, we don't have a SearchIndex ActiveRecord
model. That's because we'll likely want to shard the table and it will
be simpler to just keep with the raw SQL for that.
There's no stemming, highlighting or snippet extraction yet - we are
dumping the full description in the search results.
Data can be reindexed with the search:reindex rake task.
2025-11-17 09:12:17 -05:00
Stanko K.R.
32d96db7d9
Replace card id with card number
2025-11-17 09:12:15 -05:00
Kevin McConnell
915c1202f8
Initial minimal primary/replica switching
2025-11-17 09:11:57 -05:00
Mike Dalessio
ff8d786144
Filter boards by account
2025-11-17 09:11:57 -05:00
Mike Dalessio
dbf66f9a50
Constrain user queries to the current or relevant account
2025-11-17 09:11:57 -05:00
Mike Dalessio
b5197fe6d3
Fix notifications to use the user's account
2025-11-17 09:11:57 -05:00
Mike Dalessio
9697f7b43d
Replace some instances of Current.account with model account
2025-11-17 09:11:57 -05:00
Mike Dalessio
bca694f9f8
Fix action cable connection
2025-11-17 09:11:57 -05:00
Mike Dalessio
5f15966ecc
Fix PWA manifest
2025-11-17 09:11:56 -05:00
Mike Dalessio
89d1299ec0
Fix authentication on "untenanted" controllers
...
trying out the name "disallow_account_scope" for this, but I don't
think it's quite right yet.
2025-11-17 09:11:47 -05:00
Mike Dalessio
086a9ceada
Revert some auth pieces of "Account.sole → Current.account"
2025-11-17 09:11:45 -05:00
Mike Dalessio
f1a53f3088
test: fix join codes view
2025-11-17 09:11:42 -05:00
Stanko K.R.
8b1ca5e7fb
Remove unused account associations
2025-11-17 09:11:42 -05:00
Stanko K.R.
ba3f6b188e
Add account_id to everything
2025-11-17 09:11:42 -05:00
Mike Dalessio
7bd697f75e
test: Skip search tests, fix others, and skip a few hard ones
2025-11-17 09:11:42 -05:00
Mike Dalessio
006aa4d6b3
Tests need to set up the script_name properly
...
which requires tweaking fixtures for the memberships and the account
2025-11-17 09:11:42 -05:00
Mike Dalessio
030433b99d
Remove debugging statements
2025-11-17 09:11:42 -05:00
Mike Dalessio
ec54014832
Add account slug middleware
...
and set Current.account
2025-11-17 09:11:42 -05:00
Mike Dalessio
4ad1718d86
Stub searchable functionality and start to restore login/auth
2025-11-17 09:11:42 -05:00
Mike Dalessio
d41d50d52b
Account.sole → Current.account
...
and some other de-tenant changes, including removing the controller
tenanting concerns
2025-11-17 09:11:40 -05:00
Stanko K.R.
6705b5225f
Remove the untenanted database
2025-11-17 09:11:36 -05:00
Mike Dalessio
4d3c265042
Rip out activerecord-tenanting
...
Co-authored-by: Stanko K.R. <stanko@stanko.io >
2025-11-17 09:11:35 -05:00
Kevin McConnell
dc40d2b5b0
Remove custom read/writer routing
2025-11-17 09:11:28 -05:00
Jorge Manrubia
a1bc6b7939
Do not use HTTP caching since the page is full of forms, and can result in 422s due to CSRF tokens
...
https://app.fizzy.do/5986089/cards/2977
2025-11-17 13:55:23 +01:00
Jorge Manrubia
906c5245ce
Prefer inline partials
2025-11-17 11:29:08 +01:00
Jorge Manrubia
c247a430fb
Favor consistent style that avoids explicit dom_id calls
2025-11-17 11:21:50 +01:00
Jorge Manrubia
d6b602b7d7
Restore refreshes: make sure they play well with cards in editing mode
2025-11-14 15:37:43 +01:00
Jorge Manrubia
eea9afb639
Fix: dismiss grouped notifications by card from the notifications tray
...
This also splits the templates into two: index and tray, since the URL now changes.
2025-11-14 12:58:24 +01:00
Jorge Manrubia
37e6b2461e
Headers are indentical
2025-11-14 12:27:13 +01:00
Jorge Manrubia
0d55c966b3
Fix: setting board entropy was changing the account entropy when not present
2025-11-14 12:10:54 +01:00
Jorge Manrubia
80d309cd22
Keep current logical names for colors
...
So that the db values are not tied to the specific CSS
2025-11-14 11:44:04 +01:00
Jorge Manrubia
956a7aafad
Revert "Revert "Color a11y""
2025-11-14 11:24:55 +01:00
Jorge Manrubia
6413570985
Revert "Color a11y"
2025-11-14 11:21:52 +01:00
Jorge Manrubia
295af8b1e9
Merge pull request #1588 from basecamp/color-a11y
...
Color a11y
2025-11-14 11:18:53 +01:00
Jorge Manrubia
06b762c0a8
Move default color to the column
2025-11-14 11:15:09 +01:00
Jorge Manrubia
b1e087e7c9
Introduce a proper color poro to represent colors
...
Instead of managing a hash throgh the app
2025-11-14 11:09:39 +01:00
Jason Zimdars
7650bf9c33
Display stamp in cards view when it's auto-postponed by the system
2025-11-13 18:12:24 -06:00
Andy Smith
2b0fd0909d
Fix test
2025-11-13 17:32:36 -06:00
Andy Smith
8ad0d05750
Add column color names
2025-11-13 17:30:01 -06:00
Jason Zimdars
a064f575b6
Attempt to fix overflow in mobile safari
...
Fix header and close button, avoid `dvw` units because Safari 26 seems
to choke on those
2025-11-13 17:24:31 -06:00
Jason Zimdars
35371e2877
Adjust position so bubble isn't cut-off
2025-11-13 16:27:21 -06:00
Andy Smith
84c5a4ac15
Add the card tools thing to the mobile view
2025-11-13 15:16:07 -06:00
Andy Smith
2598c2009b
Fix full page column title typos
2025-11-13 14:36:38 -06:00
Andy Smith
44ccfa167a
Max-width for body
2025-11-13 14:35:02 -06:00
Andy Smith
71436772ac
Place z-index of nav on top of bar
2025-11-13 14:34:45 -06:00
Andy Smith
73556a5092
Show mobile view regardless of touch type
2025-11-13 14:34:24 -06:00
Andy Smith
5246c202b0
Create back link helper that works nicely on mobile
2025-11-13 14:13:29 -06:00
Andy Smith
3d2b649828
Add btn--back class
2025-11-13 13:57:36 -06:00
Andy Smith
f4540467c2
L/R gradient direction for columns on mobile
2025-11-13 11:38:22 -06:00
Jorge Manrubia
f232d7f597
Merge pull request #1581 from basecamp/comment-streams
...
Handle comments with streams
2025-11-13 17:13:20 +01:00