From 32c051e9f3e7cc674d3edada702cbee0ac1c2f37 Mon Sep 17 00:00:00 2001 From: Pavel Bulat Date: Wed, 27 Feb 2019 14:02:17 +0300 Subject: [PATCH 1/5] Fixed menu link donation (added query type:donation). --- ...k_config.menu_link_config.dashboard_donations_category.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/features/falcon_feature_commerce/config/install/menu_link_config.menu_link_config.dashboard_donations_category.yml b/modules/features/falcon_feature_commerce/config/install/menu_link_config.menu_link_config.dashboard_donations_category.yml index 48395cf1..17847309 100644 --- a/modules/features/falcon_feature_commerce/config/install/menu_link_config.menu_link_config.dashboard_donations_category.yml +++ b/modules/features/falcon_feature_commerce/config/install/menu_link_config.menu_link_config.dashboard_donations_category.yml @@ -5,7 +5,9 @@ id: dashboard_donations_category title: Donations route_name: entity.commerce_order.collection route_parameters: { } -options: { } +options: + query: + type: donation expanded: false menu_name: falcon-dashboard enabled: true From 6c8384df4dc29539fd5dc93564a4fe874a042926 Mon Sep 17 00:00:00 2001 From: Pavel Bulat Date: Wed, 27 Feb 2019 15:26:25 +0300 Subject: [PATCH 2/5] Added Gifts menu links. --- ...nu_link_config.dashboard_appeals_category.yml | 2 +- ..._link_config.dashboard_donations_category.yml | 2 +- ...nu_link_config.dashboard_category_example.yml | 2 +- ...ig.menu_link_config.browse_all_gift_cards.yml | 14 ++++++++++++++ ..._config.menu_link_config.browse_all_gifts.yml | 16 ++++++++++++++++ ...nfig.menu_link_config.browse_gifts_orders.yml | 16 ++++++++++++++++ ..._link_config.menu_link_config.create_gift.yml | 15 +++++++++++++++ .../menu_link_config.menu_link_config.gifts.yml | 16 ++++++++++++++++ ...menu_link_config.browse_all_gifts_bundles.yml | 16 ++++++++++++++++ ...nfig.menu_link_config.create_gifts_bundle.yml | 15 +++++++++++++++ ...menu_link_config.dashboard_users_category.yml | 2 +- 11 files changed, 112 insertions(+), 4 deletions(-) create mode 100644 modules/features/falcon_feature_gift_cards/config/install/menu_link_config.menu_link_config.browse_all_gift_cards.yml create mode 100644 modules/features/falcon_feature_gifts/config/install/menu_link_config.menu_link_config.browse_all_gifts.yml create mode 100644 modules/features/falcon_feature_gifts/config/install/menu_link_config.menu_link_config.browse_gifts_orders.yml create mode 100644 modules/features/falcon_feature_gifts/config/install/menu_link_config.menu_link_config.create_gift.yml create mode 100644 modules/features/falcon_feature_gifts/config/install/menu_link_config.menu_link_config.gifts.yml create mode 100644 modules/features/falcon_feature_gifts_bundle/config/install/menu_link_config.menu_link_config.browse_all_gifts_bundles.yml create mode 100644 modules/features/falcon_feature_gifts_bundle/config/install/menu_link_config.menu_link_config.create_gifts_bundle.yml diff --git a/modules/features/falcon_feature_appeal/config/install/menu_link_config.menu_link_config.dashboard_appeals_category.yml b/modules/features/falcon_feature_appeal/config/install/menu_link_config.menu_link_config.dashboard_appeals_category.yml index ef2a1d29..36dd043d 100644 --- a/modules/features/falcon_feature_appeal/config/install/menu_link_config.menu_link_config.dashboard_appeals_category.yml +++ b/modules/features/falcon_feature_appeal/config/install/menu_link_config.menu_link_config.dashboard_appeals_category.yml @@ -12,5 +12,5 @@ expanded: false menu_name: falcon-dashboard enabled: true parent: falcon.dashboard -weight: 0 +weight: -48 description: 'Create and manage appeals.' diff --git a/modules/features/falcon_feature_commerce/config/install/menu_link_config.menu_link_config.dashboard_donations_category.yml b/modules/features/falcon_feature_commerce/config/install/menu_link_config.menu_link_config.dashboard_donations_category.yml index 17847309..30b4440f 100644 --- a/modules/features/falcon_feature_commerce/config/install/menu_link_config.menu_link_config.dashboard_donations_category.yml +++ b/modules/features/falcon_feature_commerce/config/install/menu_link_config.menu_link_config.dashboard_donations_category.yml @@ -12,5 +12,5 @@ expanded: false menu_name: falcon-dashboard enabled: true parent: falcon.dashboard -weight: 2 +weight: -45 description: 'Manage donations.' diff --git a/modules/features/falcon_feature_example/config/install/menu_link_config.menu_link_config.dashboard_category_example.yml b/modules/features/falcon_feature_example/config/install/menu_link_config.menu_link_config.dashboard_category_example.yml index e96b72ea..73445fae 100644 --- a/modules/features/falcon_feature_example/config/install/menu_link_config.menu_link_config.dashboard_category_example.yml +++ b/modules/features/falcon_feature_example/config/install/menu_link_config.menu_link_config.dashboard_category_example.yml @@ -10,5 +10,5 @@ expanded: false menu_name: falcon-dashboard enabled: true parent: falcon.dashboard -weight: 0 +weight: -47 description: 'Example menu category.' diff --git a/modules/features/falcon_feature_gift_cards/config/install/menu_link_config.menu_link_config.browse_all_gift_cards.yml b/modules/features/falcon_feature_gift_cards/config/install/menu_link_config.menu_link_config.browse_all_gift_cards.yml new file mode 100644 index 00000000..191f365f --- /dev/null +++ b/modules/features/falcon_feature_gift_cards/config/install/menu_link_config.menu_link_config.browse_all_gift_cards.yml @@ -0,0 +1,14 @@ +langcode: en +status: true +dependencies: { } +id: browse_all_gift_cards +title: 'Browse all Gift Cards' +route_name: eck.entity.gift_cards.list +route_parameters: { } +options: { } +expanded: false +menu_name: falcon-dashboard +enabled: true +parent: 'menu_link_config:gifts' +weight: 0 +description: 'Overview all cards of gift.' diff --git a/modules/features/falcon_feature_gifts/config/install/menu_link_config.menu_link_config.browse_all_gifts.yml b/modules/features/falcon_feature_gifts/config/install/menu_link_config.menu_link_config.browse_all_gifts.yml new file mode 100644 index 00000000..7581b0bd --- /dev/null +++ b/modules/features/falcon_feature_gifts/config/install/menu_link_config.menu_link_config.browse_all_gifts.yml @@ -0,0 +1,16 @@ +langcode: en +status: true +dependencies: { } +id: browse_all_gifts +title: 'Browse all Gifts' +route_name: entity.commerce_product.collection +route_parameters: { } +options: + query: + type: gift +expanded: false +menu_name: falcon-dashboard +enabled: true +parent: 'menu_link_config:gifts' +weight: -48 +description: 'Overview and search products of Gift.' diff --git a/modules/features/falcon_feature_gifts/config/install/menu_link_config.menu_link_config.browse_gifts_orders.yml b/modules/features/falcon_feature_gifts/config/install/menu_link_config.menu_link_config.browse_gifts_orders.yml new file mode 100644 index 00000000..ceda6c6c --- /dev/null +++ b/modules/features/falcon_feature_gifts/config/install/menu_link_config.menu_link_config.browse_gifts_orders.yml @@ -0,0 +1,16 @@ +langcode: en +status: true +dependencies: { } +id: browse_gifts_orders +title: 'Browse Gifts orders' +route_name: entity.commerce_order.collection +route_parameters: { } +options: + query: + type: gift +expanded: false +menu_name: falcon-dashboard +enabled: true +parent: 'menu_link_config:gifts' +weight: -46 +description: 'Overview and search orders of Gift.' diff --git a/modules/features/falcon_feature_gifts/config/install/menu_link_config.menu_link_config.create_gift.yml b/modules/features/falcon_feature_gifts/config/install/menu_link_config.menu_link_config.create_gift.yml new file mode 100644 index 00000000..544241b3 --- /dev/null +++ b/modules/features/falcon_feature_gifts/config/install/menu_link_config.menu_link_config.create_gift.yml @@ -0,0 +1,15 @@ +langcode: en +status: true +dependencies: { } +id: create_gift +title: 'Create Gift' +route_name: entity.commerce_product.add_form +route_parameters: + commerce_product_type: gift +options: { } +expanded: false +menu_name: falcon-dashboard +enabled: true +parent: 'menu_link_config:gifts' +weight: -50 +description: 'Create new gift.' diff --git a/modules/features/falcon_feature_gifts/config/install/menu_link_config.menu_link_config.gifts.yml b/modules/features/falcon_feature_gifts/config/install/menu_link_config.menu_link_config.gifts.yml new file mode 100644 index 00000000..1fa36c7c --- /dev/null +++ b/modules/features/falcon_feature_gifts/config/install/menu_link_config.menu_link_config.gifts.yml @@ -0,0 +1,16 @@ +langcode: en +status: true +dependencies: { } +id: gifts +title: Gifts +route_name: entity.commerce_product.collection +route_parameters: { } +options: + query: + type: gift +expanded: false +menu_name: falcon-dashboard +enabled: true +parent: falcon.dashboard +weight: -46 +description: 'Manage gifts.' diff --git a/modules/features/falcon_feature_gifts_bundle/config/install/menu_link_config.menu_link_config.browse_all_gifts_bundles.yml b/modules/features/falcon_feature_gifts_bundle/config/install/menu_link_config.menu_link_config.browse_all_gifts_bundles.yml new file mode 100644 index 00000000..faa907f3 --- /dev/null +++ b/modules/features/falcon_feature_gifts_bundle/config/install/menu_link_config.menu_link_config.browse_all_gifts_bundles.yml @@ -0,0 +1,16 @@ +langcode: en +status: true +dependencies: { } +id: browse_all_gifts_bundles +title: 'Browse all Gifts bundles' +route_name: entity.commerce_product.collection +route_parameters: { } +options: + query: + type: gifts_bundle +expanded: false +menu_name: falcon-dashboard +enabled: true +parent: 'menu_link_config:gifts' +weight: -47 +description: 'Overview and search products of Gifts bundle.' diff --git a/modules/features/falcon_feature_gifts_bundle/config/install/menu_link_config.menu_link_config.create_gifts_bundle.yml b/modules/features/falcon_feature_gifts_bundle/config/install/menu_link_config.menu_link_config.create_gifts_bundle.yml new file mode 100644 index 00000000..ef70ed81 --- /dev/null +++ b/modules/features/falcon_feature_gifts_bundle/config/install/menu_link_config.menu_link_config.create_gifts_bundle.yml @@ -0,0 +1,15 @@ +langcode: en +status: true +dependencies: { } +id: create_gifts_bundle +title: 'Create Gifts bundle' +route_name: entity.commerce_product.add_form +route_parameters: + commerce_product_type: gifts_bundle +options: { } +expanded: false +menu_name: falcon-dashboard +enabled: true +parent: 'menu_link_config:gifts' +weight: -49 +description: 'Create new gifts bundle.' diff --git a/modules/features/falcon_feature_user/config/install/menu_link_config.menu_link_config.dashboard_users_category.yml b/modules/features/falcon_feature_user/config/install/menu_link_config.menu_link_config.dashboard_users_category.yml index 134738c5..da126194 100644 --- a/modules/features/falcon_feature_user/config/install/menu_link_config.menu_link_config.dashboard_users_category.yml +++ b/modules/features/falcon_feature_user/config/install/menu_link_config.menu_link_config.dashboard_users_category.yml @@ -10,5 +10,5 @@ expanded: false menu_name: falcon-dashboard enabled: true parent: falcon.dashboard -weight: 30 +weight: -44 description: 'Create and manage users.' From ac7667be1c1f725caccd6ab7a3d0a01768a7ac68 Mon Sep 17 00:00:00 2001 From: Pavel Bulat Date: Thu, 28 Feb 2019 15:49:48 +0300 Subject: [PATCH 3/5] Added doc version releases. --- docs/index.rst | 4 +++- docs/version_releases.rst | 16 ++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 docs/version_releases.rst diff --git a/docs/index.rst b/docs/index.rst index 155228f7..f817a875 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -23,4 +23,6 @@ Follow instructions in :doc:`install` section. roles payments environment - content \ No newline at end of file + content + metatags + version_releases \ No newline at end of file diff --git a/docs/version_releases.rst b/docs/version_releases.rst new file mode 100644 index 00000000..8bfe7a42 --- /dev/null +++ b/docs/version_releases.rst @@ -0,0 +1,16 @@ +Version release +=============== + +Create new release +------------------ + +How create new release you can read `this `_. + +- New release should based on master branch. +- New release tag must have name something like 1.0.0. + +A normal version number MUST take the form X.Y.Z where X, Y, and Z are non-negative integers, and MUST NOT contain leading zeroes. +- X is the major version. +- Y is the minor version. +- Z is the patch version. +Each element MUST increase numerically. For instance: 1.9.0 -> 1.10.0 -> 1.11.0. \ No newline at end of file From 3264d95bf57342d416768989b886bda7ab497046 Mon Sep 17 00:00:00 2001 From: Pavel Bulat Date: Thu, 28 Feb 2019 16:33:21 +0300 Subject: [PATCH 4/5] Tiny fix docs. --- docs/metatags.rst | 2 +- docs/version_releases.rst | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/metatags.rst b/docs/metatags.rst index c44c71ef..1370f519 100644 --- a/docs/metatags.rst +++ b/docs/metatags.rst @@ -2,4 +2,4 @@ Metatags ======== Falcon provides metatags. You can create new metatag field into entity type, and you can get `metatag_normalized` key from jsonApi. -Also falcon use _consumers_token:https://www.drupal.org/project/consumers_token module that provides a token [consumers:current-name] for consumers name replacement depending on what consumer has requested the token. \ No newline at end of file +Also falcon use `consumers_token `_ module that provides a token [consumers:current-name] for consumers name replacement depending on what consumer has requested the token. \ No newline at end of file diff --git a/docs/version_releases.rst b/docs/version_releases.rst index 8bfe7a42..4c467e2e 100644 --- a/docs/version_releases.rst +++ b/docs/version_releases.rst @@ -1,16 +1,20 @@ -Version release -=============== +Version releases +================ Create new release ------------------ How create new release you can read `this `_. +Requirements +------------ - New release should based on master branch. - New release tag must have name something like 1.0.0. A normal version number MUST take the form X.Y.Z where X, Y, and Z are non-negative integers, and MUST NOT contain leading zeroes. + - X is the major version. - Y is the minor version. - Z is the patch version. + Each element MUST increase numerically. For instance: 1.9.0 -> 1.10.0 -> 1.11.0. \ No newline at end of file From b2d0f8793a0bd30fa7ccf86d81290b19f5895a70 Mon Sep 17 00:00:00 2001 From: Pavel Bulat Date: Wed, 6 Mar 2019 10:33:17 +0300 Subject: [PATCH 5/5] Fix documentation. --- docs/development_falcon.rst | 22 ++++++++++++++++++++++ docs/index.rst | 3 +-- docs/version_releases.rst | 20 -------------------- 3 files changed, 23 insertions(+), 22 deletions(-) delete mode 100644 docs/version_releases.rst diff --git a/docs/development_falcon.rst b/docs/development_falcon.rst index 20905eb1..62445ffd 100644 --- a/docs/development_falcon.rst +++ b/docs/development_falcon.rst @@ -43,3 +43,25 @@ There are two ways to place new categories and items on the dashboard: `Config menu link `_ module. Preferred option for Falcon features. #. Add normal menu items (content level) and flush cache. + + +Version releases +---------------- + +Create new release +~~~~~~~~~~~~~~~~~~ + +You can read official Github `instruction `_ for more info how to create releases. + +Requirements +~~~~~~~~~~~~ +- New release should be based on master branch. +- New release tag should look like "1.0.0". + +Given a version number MAJOR.MINOR.PATCH, increment the: + +- MAJOR version when you make incompatible API changes. +- MINOR version when you add functionality in a backwards-compatible manner. +- PATCH version when you make backwards-compatible bug fixes. + +You can read `documentation `_ for more info about version standardization. diff --git a/docs/index.rst b/docs/index.rst index f817a875..2e3c1685 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -24,5 +24,4 @@ Follow instructions in :doc:`install` section. payments environment content - metatags - version_releases \ No newline at end of file + metatags \ No newline at end of file diff --git a/docs/version_releases.rst b/docs/version_releases.rst deleted file mode 100644 index 4c467e2e..00000000 --- a/docs/version_releases.rst +++ /dev/null @@ -1,20 +0,0 @@ -Version releases -================ - -Create new release ------------------- - -How create new release you can read `this `_. - -Requirements ------------- -- New release should based on master branch. -- New release tag must have name something like 1.0.0. - -A normal version number MUST take the form X.Y.Z where X, Y, and Z are non-negative integers, and MUST NOT contain leading zeroes. - -- X is the major version. -- Y is the minor version. -- Z is the patch version. - -Each element MUST increase numerically. For instance: 1.9.0 -> 1.10.0 -> 1.11.0. \ No newline at end of file