From 0725c3b9e3b5728c08ff8ca16ccff9a7b6fa0da5 Mon Sep 17 00:00:00 2001 From: Mohammad Ranjbar Z Date: Tue, 11 Jul 2023 10:58:52 +0330 Subject: [PATCH 1/2] Add campaigns instruction to docs related to https://github.com/Giveth/impact-graph/issues/924#issuecomment-1484909378 --- docs/campaignsInstruction.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 docs/campaignsInstruction.md diff --git a/docs/campaignsInstruction.md b/docs/campaignsInstruction.md new file mode 100644 index 000000000..1c4f89073 --- /dev/null +++ b/docs/campaignsInstruction.md @@ -0,0 +1,28 @@ +## Campaign Fields +* `title`: **Required**, This is something that we show in frontend like **GIVpower is here!** text in below image +Screen Shot 1402-01-07 at 12 10 08 + +* `slug`:**Required**, This should be a string that contains a-z,_,- , 0-9 and please don't use spaces or special characters in that, because we use slug in the link of campaign if we want to go to the campaign link directly +* `type`:**Required**, it can be one of + * `ManuallySelected`: In these type of projects we pick some projects to show them in campaign, for instance for Turkey earthquake we pick some projects. so we just need to add slug of those projects in `Related Projects Slugs` and in what order we add them they will be shown in frontend Screen Shot 1402-01-07 at 12 18 26 + + + * `SortField`: Sometimes in a campaign we just want to show projects in an specified order, for instance we can create a campaign like ** Check projects that received most likes** so for this campaign you set **SortField** as campaign type and then you can use one of below sorting fields Screen Shot 1402-01-07 at 12 26 50 + + * `FilterFields`: Sometimes we need to filter some projects in a campaign, for instance **Let's verified projects that accept funds on Gnosis chain**, for this we can Add `verified` and `acceptFundOnGnosis` filters Screen Shot 1402-01-07 at 12 40 50 + + * `WithoutProjects`: Some campaigns don't include any project in them and they are just some banner like **Feeling $nice?** campaign in below image Screen Shot 1402-01-07 at 12 43 48 + +* `Is Active`:**Optional**, if you check it, it would be appear in frontend otherwise it seems you deleted/archived this campaign and users would not see it +* `Is New`: **Optional**, @MohammadPCh Can you help me and tell me what's the usage of this field in frontend? +* `Is Featured`:**Optional**, @MohammadPCh Can you help me and tell me what's the usage of this field in frontend? +* `Description`:**Required**, Write down something about campaign and we show it like **Donate eligible tokens to Giveth and receive $nice, redeemable for swag and much more!** text in below image Screen Shot 1402-01-07 at 12 52 33 +* `Hashtags`:**Optional**, @MohammadPCh I guess frontend doesn't use it anymore, am I right? +* `Related Projects Slugs` : It's just **Required** for campaigns with type `ManuallySelected`, I already explained it above in **type** section +* `Photo`: **Optional**, This is the image link that we show in campaign banner, first you need to upload image in pinata and use that link in here, for instance for below campaign this is the value of photo https://giveth.mypinata.cloud/ipfs/QmYR3KLnsRKiibuS5oBRLnyaLM7Sv1QcbBEAPN1DD6d7UP/Nice%20token@2x.png Screen Shot 1402-01-07 at 13 00 39 +* `Video`:**Optional**, Some campaigns use video instead of image in banner, like photo first we need to upload it somewhere and then put it here, campaign example Screen Shot 1402-01-07 at 13 08 27 +* `Video Preview`:**Optional**, There is an image like above one that we show for video before playing, so if you fill `Video` it's required to put an image link here to show that as vodeo's preview +* ‍`Order`: If you want to show a campaign before others please fill order for it ( we show 1 after that 2, ..) and after those campaigns we show campaigns without orders sorted by created date descanding +* `Landing Link`: **Optional**, Sometime we want to redirect user to an external link when click on **Exlore** in campaign card, it happens for campaigns that have **WithoutProject** type because other campaigns usually redirect user to a project list page, in case of you want to redirect to an external link, please fill this field +* `Filter Fields`: It's just **Required** for campaigns with type `FilterFields`, I already explained it above in **type** section +* `Sorting Field`: It's just **Required** for campaigns with type `SortField`, I already explained it above in **type** section From 38422ad6a892f2e0207ed503ff12f4d12426d09d Mon Sep 17 00:00:00 2001 From: Mohammad Ranjbar Z Date: Tue, 11 Jul 2023 14:32:34 +0330 Subject: [PATCH 2/2] Add qf round adminjs instruction doc related to #1053 --- docs/qfRoundInstruction.md | 39 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 docs/qfRoundInstruction.md diff --git a/docs/qfRoundInstruction.md b/docs/qfRoundInstruction.md new file mode 100644 index 000000000..15c35b2c3 --- /dev/null +++ b/docs/qfRoundInstruction.md @@ -0,0 +1,39 @@ +# Qf Round +## Create +Screen Shot 1402-04-20 at 11 58 44 + +* **Name** name of round that we show in the UI +* **Is Active** If we want qfRound be active we should check this option. **Be careful we can just have one active qfRound, otherwise system would not work well in this state** +* **Allocated Fund** The amount of fund that we want to distribute in this round ( USD value) +* **Minimum Passport Score** At the end of the round we just consider donations whose donor passport score is greater than or equal to this field +* **Begin Date** Exact time of when we want to begin round +* **End Date** Exact time of when round supposed to end **be careful of this field, because when end date passes admins can not edit round anymore** + + +# List +Screen Shot 1402-04-20 at 12 08 56 + +Admins can see list of QF Rounds here + +# Show Single QF Round +Screen Shot 1402-04-20 at 12 10 16 + +You can see qf round detail and related projects of a qf round in this page + +# Add projects to an active QF round +## Project list +Screen Shot 1402-04-20 at 12 38 11 + +You can select multiple project and add/remove them to existing active QF Round with these two buttons +**Add To Qf Round** and **Remove From Qf Round** + +## Project page +Screen Shot 1402-04-20 at 12 39 45 + +You can add/remove a project to existing active QF Round with these two buttons +**Add Project To Qf Round** and **Remove Project From Qf Round** + +And also you can see related qfRound of a project in this page + + +