Skip to content

Commit

Permalink
Merge branch 'main' into copy-scripts-seed-realm
Browse files Browse the repository at this point in the history
  • Loading branch information
tintinthong committed Dec 24, 2024
2 parents 64f6bdf + c894181 commit eb55dd8
Show file tree
Hide file tree
Showing 28 changed files with 276 additions and 118 deletions.
4 changes: 2 additions & 2 deletions packages/experiments-realm/components/grid.gts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Format, type CardContext } from 'https://cardstack.com/base/card-api';
import { type Query } from '@cardstack/runtime-common';

import { CardContainer } from '@cardstack/boxel-ui/components';
import { eq, not } from '@cardstack/boxel-ui/helpers';
import { eq } from '@cardstack/boxel-ui/helpers';

export type ViewOption = 'card' | 'strip' | 'grid';

Expand Down Expand Up @@ -57,7 +57,7 @@ export class CardsGrid extends GlimmerComponent<CardsGridSignature> {
fieldName=undefined
}}
class='card'
@displayBoundaries={{not (eq @selectedView 'card')}}
@displayBoundaries={{true}}
>
<card.component />
</CardContainer>
Expand Down
28 changes: 28 additions & 0 deletions packages/seed-realm/BlogCategory/city-design.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"data": {
"type": "card",
"attributes": {
"longName": "City Design",
"shortName": "Design",
"slug": "city-design",
"backgroundColor": "#ac00ff",
"textColor": "#fff",
"description": "Showcasing architecture and urban planning brilliance.",
"title": "City Design",
"thumbnailURL": null
},
"relationships": {
"blog": {
"links": {
"self": "../BlogApp/ramped"
}
}
},
"meta": {
"adoptsFrom": {
"module": "../blog-category",
"name": "BlogCategory"
}
}
}
}
28 changes: 28 additions & 0 deletions packages/seed-realm/BlogCategory/cultural-scenes.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"data": {
"type": "card",
"attributes": {
"longName": "Cultural Scenes",
"shortName": "Culture",
"slug": "cultural-scenes",
"backgroundColor": "#c3fc33",
"textColor": null,
"description": "Capturing the vibrant art, food, and music of cities.",
"title": "Cultural Scenes",
"thumbnailURL": null
},
"relationships": {
"blog": {
"links": {
"self": "../BlogApp/ramped"
}
}
},
"meta": {
"adoptsFrom": {
"module": "../blog-category",
"name": "BlogCategory"
}
}
}
}
28 changes: 28 additions & 0 deletions packages/seed-realm/BlogCategory/future-tech.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"data": {
"type": "card",
"attributes": {
"longName": "Future Tech",
"shortName": "Tech",
"slug": "future-tech",
"backgroundColor": "#00ac3d",
"textColor": "#fff",
"description": "Highlighting technology shaping tomorrow’s cities.",
"title": "Future Tech",
"thumbnailURL": null
},
"relationships": {
"blog": {
"links": {
"self": "../BlogApp/ramped"
}
}
},
"meta": {
"adoptsFrom": {
"module": "../blog-category",
"name": "BlogCategory"
}
}
}
}
28 changes: 28 additions & 0 deletions packages/seed-realm/BlogCategory/street-life.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"data": {
"type": "card",
"attributes": {
"longName": "Street Life",
"shortName": "Streets",
"slug": "street-life",
"backgroundColor": "#281e78",
"textColor": "#fff",
"description": "Discovering the stories of streets and public spaces.",
"title": "Street Life",
"thumbnailURL": null
},
"relationships": {
"blog": {
"links": {
"self": "../BlogApp/ramped"
}
}
},
"meta": {
"adoptsFrom": {
"module": "../blog-category",
"name": "BlogCategory"
}
}
}
}
28 changes: 28 additions & 0 deletions packages/seed-realm/BlogCategory/urban-work.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"data": {
"type": "card",
"attributes": {
"longName": "Urban Work",
"shortName": "Work",
"slug": "urban-work",
"backgroundColor": "#ff7f00",
"textColor": "#fff",
"description": "Exploring work trends in the evolving city landscape.",
"title": "Work",
"thumbnailURL": null
},
"relationships": {
"blog": {
"links": {
"self": "../BlogApp/ramped"
}
}
},
"meta": {
"adoptsFrom": {
"module": "../blog-category",
"name": "BlogCategory"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,14 @@
"self": "../BlogApp/ramped"
}
},
"categories": {
"categories.0": {
"links": {
"self": null
"self": "../BlogCategory/street-life"
}
},
"categories.1": {
"links": {
"self": "../BlogCategory/cultural-scenes"
}
},
"editors": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
"self": "../BlogApp/ramped"
}
},
"categories": {
"categories.0": {
"links": {
"self": null
"self": "../BlogCategory/city-design"
}
},
"editors": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
"self": "../BlogApp/ramped"
}
},
"categories": {
"categories.0": {
"links": {
"self": null
"self": "../BlogCategory/cultural-scenes"
}
},
"editors": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,14 @@
"self": "../BlogApp/ramped"
}
},
"categories": {
"categories.0": {
"links": {
"self": null
"self": "../BlogCategory/future-tech"
}
},
"categories.1": {
"links": {
"self": "../BlogCategory/city-design"
}
},
"editors": {
Expand Down
4 changes: 2 additions & 2 deletions packages/seed-realm/BlogPost/ultimate-guide-remote-work.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
"self": "../BlogApp/ramped"
}
},
"categories": {
"categories.0": {
"links": {
"self": null
"self": "../BlogCategory/urban-work"
}
},
"editors": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,14 @@
"self": "../BlogApp/ramped"
}
},
"categories": {
"categories.0": {
"links": {
"self": null
"self": "../BlogCategory/city-design"
}
},
"categories.1": {
"links": {
"self": "../BlogCategory/future-tech"
}
},
"editors": {
Expand Down
20 changes: 0 additions & 20 deletions packages/seed-realm/CatalogEntry/author.json

This file was deleted.

2 changes: 1 addition & 1 deletion packages/seed-realm/CatalogEntry/blog.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"data": {
"type": "card",
"attributes": {
"title": "Blog",
"title": "Blog App",
"description": "Catalog entry for Blog App card",
"isField": false,
"ref": {
Expand Down
19 changes: 0 additions & 19 deletions packages/seed-realm/CatalogEntry/fields/rating-field.json

This file was deleted.

20 changes: 0 additions & 20 deletions packages/seed-realm/CatalogEntry/fields/url-field.json

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"data": {
"type": "card",
"attributes": {
"title": "Blog Category",
"description": "Catalog entry for Blog Category",
"title": "Hello World",
"description": "Catalog entry for Hello World card",
"isField": false,
"ref": {
"module": "../blog-category",
"name": "BlogCategory"
"module": "../hello-world",
"name": "HelloWorld"
}
},
"meta": {
Expand Down
20 changes: 20 additions & 0 deletions packages/seed-realm/CatalogEntry/mortgage-calculator.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"data": {
"type": "card",
"attributes": {
"title": "Mortgage Calculator",
"description": "Catalog entry for Mortgage Calculator card",
"isField": false,
"ref": {
"module": "../mortgage-calculator",
"name": "MortgageCalculator"
}
},
"meta": {
"adoptsFrom": {
"module": "https://cardstack.com/base/catalog-entry",
"name": "CatalogEntry"
}
}
}
}
20 changes: 20 additions & 0 deletions packages/seed-realm/CatalogEntry/product-list.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"data": {
"type": "card",
"attributes": {
"title": "Product List",
"description": "Catalog entry for Product List card",
"isField": false,
"ref": {
"module": "../product-list",
"name": "ProductList"
}
},
"meta": {
"adoptsFrom": {
"module": "https://cardstack.com/base/catalog-entry",
"name": "CatalogEntry"
}
}
}
}
Loading

0 comments on commit eb55dd8

Please sign in to comment.