Closes #33 and other hypothetical things that ought to be address.
All screens should be protected against users just viewing them that don't have access, and on 8base's side all tables should have up-to-date permissions to complement this (i.e. you must be a member of a circle to have any effect on it's revisions, amendments, etc.). I also implemented a hook to do this since the logic is exactly the same in every screen useBelongsInCircle.js
One should now be able to visit any screen via deep link (web) and via the params populate the active state (selected Circle, Channel, etc.).
Diff.js was weird so that's fixed.
Cross-platform auto-resizing component was generalized for CreateRevision and EditAmendment, using a similar component to ChatInput, but that one is spooky and tenuous enough so I don't want to touch it.
Closes #33 and other hypothetical things that ought to be address.
All screens should be protected against users just viewing them that don't have access, and on 8base's side all tables should have up-to-date permissions to complement this (i.e. you must be a member of a circle to have any effect on it's revisions, amendments, etc.). I also implemented a hook to do this since the logic is exactly the same in every screen
useBelongsInCircle.js
One should now be able to visit any screen via deep link (web) and via the params populate the active state (selected Circle, Channel, etc.).
Diff.js was weird so that's fixed.
Cross-platform auto-resizing component was generalized for CreateRevision and EditAmendment, using a similar component to ChatInput, but that one is spooky and tenuous enough so I don't want to touch it.
Removed some unnecessary packages (for now).