-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fixed that migration_info.md listed two primary keys being added fo…
…r subscriptions table, which caused error. (changed one to just be a UNIQUE constraint) * Replaced pk_user_node constraint with unique_node_user. (uses order of (node, user) rather than (user, node); Marc-Antoine says this gives better performance for the common case of app-server finding all subscriptions on a given node that was just changed) * Tweaked "style" objects to be compacted onto fewer lines. (my subjective preference ofc, but this makes it more consistent with other style objects) * Extracted out the notification-level dropdown controls to be in a separate file, rather than inline in NodeBox.tsx. * Renamed GetNodeSubscriptions to GetNodeSubscription, and have it return only a single entry of Subscription|undefined. (there will only ever be one match for a given user+node combo) * Other small typo fixes and tweaks.
- Loading branch information
Showing
6 changed files
with
108 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.