Skip to content

Commit b91f24a

Browse files
Edit Campaign View (#610)
* campgaign details can be edited now * removed unused state * add new `*_MAX_*` env variables to rust workflow * run rust workflow on pulls to `CHAOS-598-nextjs` branch * reduce database seeding role desc length * increase `ROLE_DESCRIPTION_MAX_CHARS` in workflow * fix seeder imports & errors * check in Cargo.lock * fix lucide icon imports * change `Promise<void>` returns to `Promise<AppMessage>` --------- Co-authored-by: Kavika <kavika.palletenne@devsoc.app>
1 parent 3661569 commit b91f24a

File tree

25 files changed

+8745
-40
lines changed

25 files changed

+8745
-40
lines changed

.github/workflows/rust.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ jobs:
4545
echo "SMTP_USERNAME=test_username" >> backend/.env
4646
echo "SMTP_PASSWORD=test_password" >> backend/.env
4747
echo "SMTP_HOST=smtp.example.com" >> backend/.env
48+
echo "CAMPAIGN_NAME_MAX_CHARS=50" >> backend/.env
49+
echo "CAMPAIGN_DESCRIPTION_MAX_ChARS=500" >> backend/.env
50+
echo "ROLE_NAME_MAX_CHARS=20" >> backend/.env
51+
echo "ROLE_DESCRIPTION_MAX_CHARS=50" >> backend/.env
52+
echo "ROLE_POSITIONS_AVAILABLE_MAX=20" >> backend/.env
4853
# selecting a toolchain either by action or manual `rustup` calls should happen
4954
# before the plugin, as it uses the current rustc version as its cache key
5055
- uses: actions-rs/toolchain@v1

backend/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
.env
22
target
3-
Cargo.lock
43
prisma-cli/prisma/migrations
54
/.idea
65
**/.DS_Store

0 commit comments

Comments
 (0)