-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Sanity - page About Us
#19
Comments
mheob
added a commit
that referenced
this issue
Jun 22, 2024
kodiakhq bot
pushed a commit
that referenced
this issue
Jun 22, 2024
### **User description** closes: #19 ___ ### **PR Type** Enhancement ___ ### **Description** - Added `aboutUsPage` schema and integrated it into the plugin and schema configurations. - Created `imageCard` schema for use in various sections. - Defined groups and fields for `aboutUsPage`, including chronicle, gallery, vision, stats, and contact persons. - Translated group titles to German for `groupsPage`, `homePage`, and `singleGroupPage`. - Enhanced validation rules to include length checks for different input types. ___ ### **Changes walkthrough** 📝 <table><thead><tr><th></th><th align="left">Relevant files</th></tr></thead><tbody><tr><td><strong>Enhancement </strong></td><td><details><summary>15 files</summary><table> <tr> <td> <details> <summary><strong>index.ts</strong><dd><code>Integrate `aboutUsPage` into plugin configuration</code> </dd></summary> <hr> apps/studio/plugins/index.ts <li>Added <code>aboutUsPage</code> to the plugin imports and structure configuration.<br> </details> </td> <td><a href="https://github.com/mheob/tsg-irlich-web/pull/46/files#diff-9dd45aa1302024e77ddf2cd3b3b0aebe803247d15997cb5b9424788204fc7c48">+3/-0</a> </td> </tr> <tr> <td> <details> <summary><strong>index.ts</strong><dd><code>Add `aboutUsPage` and `imageCard` to schema types</code> </dd></summary> <hr> apps/studio/schemas/index.ts <li>Imported <code>aboutUsPage</code> and <code>imageCard</code> schemas.<br> <li> Added <code>aboutUsPage</code> and <code>imageCard</code> to the schema types.<br> </details> </td> <td><a href="https://github.com/mheob/tsg-irlich-web/pull/46/files#diff-0b99cc8331c92bfa2c0470d04d7a359ab75283efa85f9fc1d5bf716b9e35c60c">+4/-0</a> </td> </tr> <tr> <td> <details> <summary><strong>image-card.ts</strong><dd><code>Create `imageCard` schema</code> </dd></summary> <hr> apps/studio/schemas/objects/image-card.ts <li>Created <code>imageCard</code> schema with fields for title, description, and <br>image.<br> </details> </td> <td><a href="https://github.com/mheob/tsg-irlich-web/pull/46/files#diff-bc762e394cd3822507003f6dd5a85b8b4a5dc76ea2364fc3c1bd962953fe048b">+29/-0</a> </td> </tr> <tr> <td> <details> <summary><strong>_groups.ts</strong><dd><code>Define groups for `aboutUsPage`</code> </dd></summary> <hr> apps/studio/schemas/single-pages/about-us/_groups.ts <li>Defined groups for <code>aboutUsPage</code> including chronicle, contactPersons, <br>gallery, stats, and vision.<br> </details> </td> <td><a href="https://github.com/mheob/tsg-irlich-web/pull/46/files#diff-e8a6d68d19d0f92aa28d5a49d24c4608f2b4ab73a0f4688c6c02bd3077fa1cfe">+24/-0</a> </td> </tr> <tr> <td> <details> <summary><strong>chronicle.ts</strong><dd><code>Create `chronicleField` schema for `aboutUsPage`</code> </dd></summary> <hr> apps/studio/schemas/single-pages/about-us/chronicle.ts - Created `chronicleField` schema with fields for chronicle section. </details> </td> <td><a href="https://github.com/mheob/tsg-irlich-web/pull/46/files#diff-c862e48a8e7ec21e120639e47f5ec997951e9bb4d53a15d705c48dbfc8b23cce">+23/-0</a> </td> </tr> <tr> <td> <details> <summary><strong>gallery.ts</strong><dd><code>Create `galleryField` schema for `aboutUsPage`</code> </dd></summary> <hr> apps/studio/schemas/single-pages/about-us/gallery.ts - Created `galleryField` schema with fields for gallery section. </details> </td> <td><a href="https://github.com/mheob/tsg-irlich-web/pull/46/files#diff-a6f21e36861b8bc7729df33b6bbb639bcf9f1c714cf551f8b776d5ca83f72e6b">+25/-0</a> </td> </tr> <tr> <td> <details> <summary><strong>index.ts</strong><dd><code>Create `aboutUsPage` schema</code> </dd></summary> <hr> apps/studio/schemas/single-pages/about-us/index.ts <li>Created <code>aboutUsPage</code> schema with fields for general, meta, and content <br>sections.<br> </details> </td> <td><a href="https://github.com/mheob/tsg-irlich-web/pull/46/files#diff-9eb58f1c0d464f52047332e3873811a34420d813077f8990e7c0ba77e440da07">+48/-0</a> </td> </tr> <tr> <td> <details> <summary><strong>_groups.ts</strong><dd><code>Translate group titles to German for `groupsPage`</code> </dd></summary> <hr> apps/studio/schemas/single-pages/groups/_groups.ts - Translated group titles to German. </details> </td> <td><a href="https://github.com/mheob/tsg-irlich-web/pull/46/files#diff-2cf6510c238afd0420eb2e3af7afe3c2f3f2d90f2ddcb03bc706c7db5e563b7b">+3/-3</a> </td> </tr> <tr> <td> <details> <summary><strong>_groups.ts</strong><dd><code>Translate group titles to German for `homePage`</code> </dd></summary> <hr> apps/studio/schemas/single-pages/home/_groups.ts - Translated group titles to German. </details> </td> <td><a href="https://github.com/mheob/tsg-irlich-web/pull/46/files#diff-3992879546826d5f970ee104f7f9776a424d7ad6a2bd6ee10db2dfc283653d97">+5/-5</a> </td> </tr> <tr> <td> <details> <summary><strong>index.ts</strong><dd><code>Add `visionField` to `homePage` schema</code> </dd></summary> <hr> apps/studio/schemas/single-pages/home/index.ts - Added `visionField` to `homePage` schema. </details> </td> <td><a href="https://github.com/mheob/tsg-irlich-web/pull/46/files#diff-5cd74a552147b502372c1e672656b55d1752fade9dd99211a7cde58ac9d9b97c">+1/-1</a> </td> </tr> <tr> <td> <details> <summary><strong>_groups.ts</strong><dd><code>Translate group titles to German for `singleGroupPage`</code> </dd></summary> <hr> apps/studio/schemas/single-pages/single-group/_groups.ts - Translated group titles to German. </details> </td> <td><a href="https://github.com/mheob/tsg-irlich-web/pull/46/files#diff-054a38a6f7aefbbc81f3633a91cad281dd251f0ecbd8a2a25aae033b6983f905">+1/-1</a> </td> </tr> <tr> <td> <details> <summary><strong>gallery.ts</strong><dd><code>Create `galleryField` schema for `singleGroupPage`</code> </dd></summary> <hr> apps/studio/schemas/single-pages/single-group/gallery.ts - Created `galleryField` schema with fields for gallery section. </details> </td> <td><a href="https://github.com/mheob/tsg-irlich-web/pull/46/files#diff-4964412f0e1776adcbf2da32a8df0321be31bb12a23b0aff900efd3bb8c2ae09">+29/-1</a> </td> </tr> <tr> <td> <details> <summary><strong>index.ts</strong><dd><code>Update `singleGroupPage` schema to use `galleryField`</code> </dd></summary> <hr> apps/studio/schemas/single-pages/single-group/index.ts - Updated `singleGroupPage` schema to use `galleryField`. </details> </td> <td><a href="https://github.com/mheob/tsg-irlich-web/pull/46/files#diff-3654a0c465da4010c6435cd25ca080c45f291c81629d996561efb35c049dd9f5">+1/-2</a> </td> </tr> <tr> <td> <details> <summary><strong>vision.ts</strong><dd><code>Create `visionField` schema</code> </dd></summary> <hr> apps/studio/shared/sections/vision.ts - Created `visionField` schema with fields for vision section. </details> </td> <td><a href="https://github.com/mheob/tsg-irlich-web/pull/46/files#diff-715506254458e167853593443d17e0ec66cafdfe3296f5e4c1ba07fe7e118fdb">+28/-1</a> </td> </tr> <tr> <td> <details> <summary><strong>validation-rules.ts</strong><dd><code>Enhance validation rules with length checks</code> </dd></summary> <hr> apps/studio/shared/validation-rules.ts <li>Added <code>getLengthRule</code> function for validation.<br> <li> Updated <code>getMaxLengthRule</code> and <code>getMinLengthRule</code> to handle different <br>input types.<br> </details> </td> <td><a href="https://github.com/mheob/tsg-irlich-web/pull/46/files#diff-e93f4590a8d9f05e518c771c3a8aa8ad67ccd8a3275749c29b42b9311cf31aaf">+27/-3</a> </td> </tr> </table></details></td></tr></tr></tbody></table> ___ > 💡 **PR-Agent usage**: >Comment `/help` on the PR to get a list of all available PR-Agent tools and their descriptions
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
General / Hero
slug
->slug
// HIDDEN_SLUGtitle
->string
subTitle
->string
intro
->text
Gallery
title
->string
subTitle
->string
intro
->text
images
->array
->extendedImage
Chronicle
title
->string
subTitle
->string
episode
->array
->{ title: string, intro: text, image: extendImage }
Vision
title
->string
subTitle
->string
intro
->text
cta
->string
Stats/ Counter
stat
->array
->{ title: string, value: number }
Contact Persons
title
->string
subTitle
->string
intro
->text
contactPersons
->relation
->person
The text was updated successfully, but these errors were encountered: