Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: zhinst demo setup #216

Draft
wants to merge 26 commits into
base: release
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
74e61e9
feat(SLB-300): add accordion block
colorfield May 3, 2024
abec41f
feat(SLB-300): accordion validators
colorfield May 3, 2024
b6a65f4
feat(SLB-300): accordion schema
colorfield May 3, 2024
cca7934
chore(SLB-300): add placeholder for storybook integration
colorfield May 3, 2024
7d5cd06
feat(SLB-300): add accordion fragments
colorfield May 3, 2024
8b75635
fix(SLB-300): don't use union for now
colorfield May 3, 2024
f93cc5e
refactor(SLB-300): use InnerBlocks instead of RichText
colorfield May 3, 2024
6835bb6
test(SLB-300): accordion block
colorfield May 3, 2024
18d3aa5
feat(SLB-301): accordion storybook
colorfield May 3, 2024
4652071
refactor(SLB-301): use custom theme
colorfield May 3, 2024
0186299
refactor(SLB-301): styling
colorfield May 3, 2024
faf98ca
refactor(SLB-301): styling
colorfield May 3, 2024
c3da87c
refactor(SLB-301): styling
colorfield May 3, 2024
c0935d5
fix(SLB-301): adjust width
colorfield May 3, 2024
bc0ba2b
feat(SLB-299): adjust accordion style, add to page story
colorfield May 6, 2024
3480cf3
chore: zhinst demo setup
colorfield May 6, 2024
d87bd47
Trigger a build
colorfield May 6, 2024
0f314ae
feat: blogs
colorfield May 6, 2024
74936a6
chore: lintfix
colorfield May 6, 2024
58c4429
chore: content update
colorfield May 6, 2024
2525014
feat: add mathjax support
colorfield May 6, 2024
5318cf4
refactor: limit content blocks
colorfield May 6, 2024
66ec3f4
fix: mediaEntityIds attribute
colorfield May 6, 2024
42f3036
fix(SLB-299): last border
colorfield May 7, 2024
1185ace
Merge branch 'SLB-299-accordion' into demo-zhinst
colorfield May 8, 2024
ed984c6
feat: add accordion to content block
colorfield May 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .lagoon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,16 @@ environments:
schedule: '*/15 * * * *'
command: drush cron
service: cli
demo-zhinst:
routes:
- nginx:
- zhinst.cms.amazeelabs.dev
- build:
- zhinst.build.amazeelabs.dev
- preview:
- zhinst.preview.amazeelabs.dev
cronjobs:
- name: drush cron
schedule: '*/15 * * * *'
command: drush cron
service: cli
7 changes: 7 additions & 0 deletions apps/cms/.lagoon.env.demo-zhinst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
PROJECT_NAME=example
PUBLISHER_URL="https://zhinst.build.amazeelabs.dev"
NETLIFY_URL="https://zhinst.amazeelabs.dev"
PREVIEW_URL="https://zhinst.preview.amazeelabs.dev"

# Used to set the original client secret.
PUBLISHER_OAUTH2_CLIENT_SECRET=REPLACE_ME
2 changes: 2 additions & 0 deletions apps/cms/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,13 @@
"drupal/entity_usage": "^2.0@beta",
"drupal/environment_indicator": "^4.0.14",
"drupal/field_group": "^3.4",
"drupal/highlight_php": "^1.0",
"drupal/honeypot": "^2.1.2",
"drupal/key_auth": "^2.1",
"drupal/lagoon_logs": "^2.1.1",
"drupal/linkit": "^6.0@beta",
"drupal/masquerade": "^2.0@RC",
"drupal/mathjax": "^4.0",
"drupal/menu_admin_per_menu": "^1.5",
"drupal/metatag": "^2.0",
"drupal/pathauto": "^1.11",
Expand Down
182 changes: 181 additions & 1 deletion apps/cms/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
uuid: 788b4898-b392-4178-a030-afec42ece15d
langcode: en
status: true
dependencies:
config:
- node.type.blog
id: node.blog.promote
field_name: promote
entity_type: node
bundle: blog
label: 'Promoted to front page'
description: ''
required: false
translatable: true
default_value:
-
value: 0
default_value_callback: ''
settings:
on_label: 'On'
off_label: 'Off'
field_type: boolean
127 changes: 127 additions & 0 deletions apps/cms/config/sync/core.entity_form_display.node.blog.default.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
uuid: 04c755ba-8a45-464c-8050-931066d30d22
langcode: en
status: true
dependencies:
config:
- field.field.node.blog.body
- field.field.node.blog.field_blog_tags
- field.field.node.blog.field_metatags
- field.field.node.blog.field_teaser_image
- node.type.blog
module:
- content_moderation
- media_library
- metatag
- path
- text
id: node.blog.default
targetEntityType: node
bundle: blog
mode: default
content:
body:
type: text_textarea_with_summary
weight: 11
region: content
settings:
rows: 9
summary_rows: 3
placeholder: ''
show_summary: false
third_party_settings: { }
created:
type: datetime_timestamp
weight: 3
region: content
settings: { }
third_party_settings: { }
field_blog_tags:
type: options_buttons
weight: 13
region: content
settings: { }
third_party_settings: { }
field_metatags:
type: metatag_firehose
weight: 14
region: content
settings:
sidebar: true
use_details: true
third_party_settings: { }
field_teaser_image:
type: media_library_widget
weight: 12
region: content
settings:
media_types: { }
third_party_settings: { }
langcode:
type: language_select
weight: 1
region: content
settings:
include_locked: true
third_party_settings: { }
moderation_state:
type: moderation_state_default
weight: 9
region: content
settings: { }
third_party_settings: { }
path:
type: path
weight: 7
region: content
settings: { }
third_party_settings: { }
promote:
type: boolean_checkbox
weight: 5
region: content
settings:
display_label: true
third_party_settings: { }
status:
type: boolean_checkbox
weight: 10
region: content
settings:
display_label: true
third_party_settings: { }
sticky:
type: boolean_checkbox
weight: 6
region: content
settings:
display_label: true
third_party_settings: { }
title:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
translation:
weight: 4
region: content
settings: { }
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 2
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
url_redirects:
weight: 8
region: content
settings: { }
third_party_settings: { }
hidden: { }
Loading
Loading