Skip to content

Commit

Permalink
OP-323: Remove FAQ function
Browse files Browse the repository at this point in the history
  • Loading branch information
jkindly committed Jul 3, 2024
1 parent 1b2d825 commit 443a3d5
Show file tree
Hide file tree
Showing 105 changed files with 46 additions and 2,947 deletions.
Binary file removed doc/faq_cms.png
Binary file not shown.
Binary file removed doc/faq_cms_result.png
Binary file not shown.
Binary file removed doc/faq_create_cms.png
Binary file not shown.
20 changes: 0 additions & 20 deletions doc/faqs.md

This file was deleted.

18 changes: 4 additions & 14 deletions doc/use_case.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This empowers businesses to easily adapt their store's content to meet current n
## What Sylius CMS Plugin provides us with

When using the BitBag Sylius CMS Plugin, administrators gain access to various tiles within the admin panel, each serving a specific purpose.
These tiles include Blocks, Media, Pages, FAQs, and Sections.
These tiles include Blocks, Media, Pages, and Sections.

## Brief overview of what each tile offers

Expand All @@ -27,7 +27,6 @@ Our CMS Plugin allows you to manage:
* Blocks - separate parts for the content
* Media - files, that can be attached to the page
* Pages - whole pages, obtainable by the link
* FAQ - the simple mechanism for Frequently Asked Questions function

---

Expand Down Expand Up @@ -68,20 +67,11 @@ It enables the creation of various types of pages, such as the homepage, informa

More information about Pages you can get [here](use_case_pages.md).

### FAQ
The FAQ tile is specifically designed to manage frequently asked questions.

Administrators can create question-and-answer pairs, categorize them, and make them available to customers on relevant pages. This helps provide clear information and addresses common queries for a seamless customer experience.

![Screenshot showing content management config in admin](faq_cms.png)

More information about the FAQ you can get [here](use_case_faq.md).

## Summary

In summary, the BitBag Sylius CMS Plugin provides administrators with a range of tiles in the admin panel, including [Sections](use_case_sections.md), [Blocks](use_case_blocks.md),
[Media](use_case_media.md), [Pages](use_case_pages.md) and [FAQ](use_case_faq.md).
[Media](use_case_media.md), [Pages](use_case_pages.md).

These tiles offer functionalities for managing reusable content blocks, media assets, CMS pages, frequently asked questions,
and page sections. Together, they enable administrators to efficiently create, edit, and organize content within the Sylius e-commerce system,
These tiles offer functionalities for managing reusable content blocks, media assets, CMS pages and page sections.
Together, they enable administrators to efficiently create, edit, and organize content within the Sylius e-commerce system,
resulting in a more engaging and personalized user experience.
30 changes: 0 additions & 30 deletions doc/use_case_faq.md

This file was deleted.

57 changes: 0 additions & 57 deletions features/admin/adding_frequently_asked_question.feature

This file was deleted.

23 changes: 0 additions & 23 deletions features/admin/managing_frequently_asked_questions.feature

This file was deleted.

23 changes: 0 additions & 23 deletions features/api/viewing_frequently_asked_questions.feature

This file was deleted.

14 changes: 0 additions & 14 deletions features/shop/browsing_frequently_asked_questions.feature

This file was deleted.

68 changes: 0 additions & 68 deletions spec/Entity/FrequentlyAskedQuestionSpec.php

This file was deleted.

45 changes: 0 additions & 45 deletions spec/Entity/FrequentlyAskedQuestionTranslationSpec.php

This file was deleted.

7 changes: 0 additions & 7 deletions spec/Menu/ContentManagementMenuBuilderSpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,6 @@ public function it_build_menu(
$cmsRootMenuItem->setLabel('bitbag_sylius_cms_plugin.ui.pages')->willReturn($cmsRootMenuItem);
$cmsRootMenuItem->setLabelAttribute('icon', 'sticky note')->shouldBeCalled();

$cmsRootMenuItem
->addChild('faq', ['route' => 'bitbag_sylius_cms_plugin_admin_frequently_asked_question_index'])
->willReturn($cmsRootMenuItem)
;
$cmsRootMenuItem->setLabel('bitbag_sylius_cms_plugin.ui.faq')->willReturn($cmsRootMenuItem);
$cmsRootMenuItem->setLabelAttribute('icon', 'help')->shouldBeCalled();

$cmsRootMenuItem
->addChild('collections', ['route' => 'bitbag_sylius_cms_plugin_admin_collection_index'])
->willReturn($cmsRootMenuItem)
Expand Down
Loading

0 comments on commit 443a3d5

Please sign in to comment.