[ ] Maintenance (Non-breaking change that updates dependencies)
[ ] Development changes (Changes that do not add new features or fix bugs, but update the project in other ways)
[x] Bug fix (Non-breaking change which fixes an issue)
[x] Feature (Non-breaking change which adds functionality)
[x] Breaking change (Major bug fix or feature that would cause existing functionality not to work as expected.)
Summary
Implemented a major channel system update, which replaces the old channel logic and replaces it with a system more similar to something like Google Docs. With this update all editor changes of remote files are automatically synced to the server, all files will automatically get a channel created or joined if the file was opened before and the channel view has been removed in favour of a simple "Current Channel" menu, which shows you the stats of the channel of the given file.
Closes #145
List of Changes
Replaced the channel list in the editor sandwich menu with a current channel menu.
Removed password requirement for channels and turned on default empty password to simplify sharing files with others. (Only the URL is required).
Added new automatic channel create and join behaviour, where channels are automatically created when none has been registered yet for the opened file and channels are joined if one has been created already.
Updated loading spinner overlay to fully block user interaction with the interface.
Added loading spinner to Phoenix channel auto join-or-create channel functionality.
Fixed multiple Phoenix API bugs and fixed incorrect API swagger definitions.
Added additional endpoint /v1/share/{id}/channel for accessing the channel associated with the shared file.
Added channel_id to table files.
Added unique constraint for file_id in table editor_channels.
Removed delete cascade on channel_id deletion in table files.
Added purple badge Shared File for ShareURL files.
What type of change does this PR perform?
Summary
Implemented a major channel system update, which replaces the old channel logic and replaces it with a system more similar to something like Google Docs. With this update all editor changes of remote files are automatically synced to the server, all files will automatically get a channel created or joined if the file was opened before and the channel view has been removed in favour of a simple "Current Channel" menu, which shows you the stats of the channel of the given file.
Closes #145
List of Changes
/v1/share/{id}/channel
for accessing the channel associated with the shared file.channel_id
to tablefiles
.file_id
in tableeditor_channels
.channel_id
deletion in tablefiles
.Shared File
for ShareURL files.Does this PR create new warnings?
None.
Linked issues or PRs