-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Use stream names for content packs * Cleanup * Fix install * cleanup * remove unused import * Handle multiple streams better, minor name refactoring * Add handling for the rest of the entity types that reference streams * Fix line spacing * Add missing license header * Fix failing tests * Add changelog entry * Return StreamReference Entity Exerpts to front end to ensure proper handling of existing entities * Use Stream title to generate excerpt IDs to avoid collision with regular Streams. Irrellevant to content packs but was causing problems for start page and related tests. * Add default naive implementation of StreamService loadAllByTitle() * Resolve stream deps for dashboard widgets
- Loading branch information
1 parent
2c0db86
commit 64c8be5
Showing
20 changed files
with
315 additions
and
41 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
type = "changed" | ||
message = "Changed Content Packs handling to allow import/export of entites that reference Streams by title." | ||
|
||
pulls = ["16743"] | ||
|
||
details.user = """ | ||
Previously it was not possible to create a Content Pack with Stream scoped entities without also exporting the referenced Stream, | ||
and potentially duplicating the Stream. | ||
For example, if a user had a Dashboard with a widget that was scoped to "stream_xyz" that they wished to create a | ||
Content Pack with to use on another system, there were two options: | ||
- Remove the Stream from the Dashboard widget before export, then re-associate the Stream with the Dashboard after uploading. | ||
- Export the Stream along with the Dashboard, in which case a new "stream_xyz" would be created on the uploading system | ||
(whether it already existed or not). | ||
This change allows users to create a Content Pack with a "stream_xyz" scoped Dashboard, referencing the Stream by title only. | ||
When uploaded and installed, the Content Pack will resolve the existing stream with title "stream_xyz", | ||
and associate it to the new Dashboard. | ||
""" |
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
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
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
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.