Skip to content

Commit

Permalink
Add Compass id to compass.yaml files
Browse files Browse the repository at this point in the history
The import of components from monorepos isn't working properly yet. The
Atlassian support team suggested making them manually and then adding
the generated files instead in small (~10 files) batches. This commit
contains the first ten files for which components were manually created
in compass.
  • Loading branch information
Kingdutch committed Nov 10, 2024
1 parent f0873ab commit 5b1932b
Show file tree
Hide file tree
Showing 9 changed files with 43 additions and 55 deletions.
6 changes: 2 additions & 4 deletions modules/custom/activity_basics/compass.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Activity Basics
id: null
description: |-
Provides the integration between Drupal's entity hooks and the actual creation of
activity entities as defined in the Activity Creator system.
id: 'ari:cloud:compass:ea9fb884-8cc6-4a6f-9da7-3d7489fbe2f5:component/6b91cdc6-a69b-45a5-826d-2792c1c6f1e5/3267cfb6-eea4-4b69-bd27-8c9f148fe6a0'
description: Provides the integration between Drupal's entity hooks and the actual creation of activity entities as defined in the Activity Creator system.
configVersion: 1
typeId: LIBRARY
ownerId: null
Expand Down
13 changes: 6 additions & 7 deletions modules/custom/activity_creator/compass.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
name: Activity Creator
id: null
description: |-
Provides the core of the activity system. The entity and plugin managers are
defined in this library and the link to Message entities which store
id: 'ari:cloud:compass:ea9fb884-8cc6-4a6f-9da7-3d7489fbe2f5:component/6b91cdc6-a69b-45a5-826d-2792c1c6f1e5/5b39776a-865b-4d4e-b0d1-ec9cecc3f681'
description: >-
Provides the core of the activity system. The entity and plugin managers are defined in this library and the link to Message entities which store
information about notification text and recipient channels is maintained here.
When a new activity is created this module will kick-off the processing. It'll
also take care of updating/deleting an activity when the content it relates to
is updated or removed.
When a new activity is created this module will kick-off the processing. It'll also take care of updating/deleting an activity when the content it
relates to is updated or removed.
configVersion: 1
typeId: LIBRARY
ownerId: null
Expand Down
5 changes: 2 additions & 3 deletions modules/custom/activity_logger/compass.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Activity Logger
id: null
description: |-
Adds notification metadata to the entities provided by the Message module.
id: 'ari:cloud:compass:ea9fb884-8cc6-4a6f-9da7-3d7489fbe2f5:component/6b91cdc6-a69b-45a5-826d-2792c1c6f1e5/f5d967c0-c96f-41b9-ab02-11733ef5d479'
description: Adds notification metadata to the entities provided by the Message module.
configVersion: 1
typeId: LIBRARY
ownerId: null
Expand Down
8 changes: 3 additions & 5 deletions modules/custom/activity_send/compass.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: Activity Send
id: null
description: |-
Provides integrations for the activity system to deliver using e-mail or push
notifications (the actual web or app push is implemented in different
id: 'ari:cloud:compass:ea9fb884-8cc6-4a6f-9da7-3d7489fbe2f5:component/6b91cdc6-a69b-45a5-826d-2792c1c6f1e5/8a2483a7-5edc-4bba-be50-dd90f6600f7b'
description: >-
Provides integrations for the activity system to deliver using e-mail or push notifications (the actual web or app push is implemented in different
modules).
configVersion: 1
typeId: LIBRARY
Expand All @@ -20,4 +19,3 @@ links:
relationships: {}
labels: null
customFields: null

6 changes: 2 additions & 4 deletions modules/custom/activity_viewer/compass.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Activity Viewer
id: null
description: |-
Provides integration with activity entities and the Views module.
id: 'ari:cloud:compass:ea9fb884-8cc6-4a6f-9da7-3d7489fbe2f5:component/6b91cdc6-a69b-45a5-826d-2792c1c6f1e5/0ab4692a-ae93-422f-954e-7a011c4069d4'
description: Provides integration with activity entities and the Views module.
configVersion: 1
typeId: LIBRARY
ownerId: null
Expand All @@ -18,4 +17,3 @@ links:
relationships: {}
labels: null
customFields: null

18 changes: 10 additions & 8 deletions modules/custom/alternative_frontpage/compass.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
name: Social Lazy Loading
id: null
description: |-
Module that previously used blazy to implement lazy loading.
name: Alternative Frontpage
id: 'ari:cloud:compass:ea9fb884-8cc6-4a6f-9da7-3d7489fbe2f5:component/6b91cdc6-a69b-45a5-826d-2792c1c6f1e5/8f7b61e5-083f-486d-83e4-67daa9d1f01c'
description: >-
Allows sitemanagers to configure different front pages that should be shown for different roles.
Deprecated because it's been replaced by native lazy loading.
Tagged for rework because we may not want to tie this to roles in the future. We also don't currently have proper control over the order of
selection, nor is the front page actually rendered as front page (at `/`) but instead this is done through redirects to less friendly paths.
configVersion: 1
typeId: CAPABILITY
ownerId: null
fields:
lifecycle: Deprecated
lifecycle: Active
tier: 4
links:
- name: null
Expand All @@ -18,6 +20,6 @@ links:
type: PROJECT
url: 'https://getopensocial.atlassian.net/browse/PROD'
relationships: {}
labels: null
labels:
- 'architect:rework'
customFields: null

5 changes: 2 additions & 3 deletions modules/custom/download_count/compass.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name: Download Count
id: null
id: 'ari:cloud:compass:ea9fb884-8cc6-4a6f-9da7-3d7489fbe2f5:component/6b91cdc6-a69b-45a5-826d-2792c1c6f1e5/a6975bf4-05cf-4145-93fd-de20faa7b547'
description: |-
Tracks file downloads for Drupal private core file fields.
Marked as deprecated as most of our product has switched away from private
files.
Marked as deprecated as most of our product has switched away from private files.
configVersion: 1
typeId: CAPABILITY
ownerId: null
Expand Down
8 changes: 4 additions & 4 deletions modules/custom/dropdown/compass.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Dropdown
id: null
description: |-
id: 'ari:cloud:compass:ea9fb884-8cc6-4a6f-9da7-3d7489fbe2f5:component/6b91cdc6-a69b-45a5-826d-2792c1c6f1e5/f7b025f6-db98-42fd-959b-ff9a1e6806c9'
description: >-
Provides a dropdown field type and widget.
Marked as deprecated because it seems to overlap with Drupal core (list_*)
functionality and it's unclear where/how this is used or what value it's
Marked as deprecated because it seems to overlap with Drupal core (list_*) functionality and it's unclear where/how this is used or what value it's
supposed to provide.
configVersion: 1
typeId: LIBRARY
Expand Down
29 changes: 12 additions & 17 deletions modules/custom/entity_access_by_field/compass.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,18 @@
name: Entity Access by Field
id: null
description: |-
Provides a way to configure visibility of an entity based on the field of that
entity.
id: 'ari:cloud:compass:ea9fb884-8cc6-4a6f-9da7-3d7489fbe2f5:component/6b91cdc6-a69b-45a5-826d-2792c1c6f1e5/af0a9e57-de70-48bf-ba97-74dcbfdcc8b1'
description: >-
Provides a way to configure visibility of an entity based on the field of that entity.
Currently uses node grants and although some flexibility around visibility is
provided, this is done by a single "allowed_values_function" from the
underlying list_item. Although in theory the values for the list-item can be
changed per entity (e.g. in posts they're 1 and 2 while in nodes they're
public and community), there is code that relies on the values being specific.
Only public visibility can currently be disabled.
This should be reworked so that it no longer uses node-grants. Additionally we
should likely create a plugin system for the visibility types since both our
group implementation and our "visibility_by_role" extension alter the
available values and behaviour here. This indicates an incorrect
responsibility direction. This module should provide a system for the storage
of the visibility setting as well as control over which values are available
for which types of object (ensuring disabling 'public' is not a special case).
Currently uses node grants and although some flexibility around visibility is provided, this is done by a single "allowed_values_function" from the
underlying list_item. Although in theory the values for the list-item can be changed per entity (e.g. in posts they're 1 and 2 while in nodes
they're public and community), there is code that relies on the values being specific. Only public visibility can currently be disabled.
This should be reworked so that it no longer uses node-grants. Additionally we should likely create a plugin system for the visibility types since
both our group implementation and our "visibility_by_role" extension alter the available values and behaviour here. This indicates an incorrect
responsibility direction. This module should provide a system for the storage of the visibility setting as well as control over which values are
available for which types of object (ensuring disabling 'public' is not a special case).
configVersion: 1
typeId: LIBRARY
ownerId: null
Expand Down

0 comments on commit 5b1932b

Please sign in to comment.