Skip to content

Commit

Permalink
update todo with webpages & change archives url
Browse files Browse the repository at this point in the history
  • Loading branch information
tudoramariei committed Jan 16, 2025
1 parent 99e14cf commit 9e5c541
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 23 deletions.
66 changes: 44 additions & 22 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,20 @@
# Things to do to make the front-end work properly


## Dockerfile

### Files:

- `docker/dockerfiles/Dockerfile.dev`

### Issues:

- [ ] NPM doesn't install packages properly and uses local packages instead
## Donation form

### Pages

## Donation form
- no login necessary
- you need a valid NGO
- /<ngo-slug>/

### Files:
### Files

- `templates/v2/form/donation.html`
- `templates/v2/form/signature.html`

### Issues:
### Issues

- [ ] Complete the flow (add a `success & download` page)
- [ ] The modal doesn't disappear when clicked outside it
Expand All @@ -31,24 +26,30 @@

## Login

### Files:
### Files

- `templates/v2/socialaccount/login.html`
- `templates/v2/account/errors/login/**`

### Issues:
### Issues

- [ ] The user isn't redirected to Cognito for login
- [ ] The error pages need to be styled properly


## Organization Data / NGO Profile

### Files:
### Pages

- login as: NGO
- /organizatia-mea/prezentare/
- /organizatia-mea/formulare/

- `templates/v2/ngo-account/my-organizations/**`
### Files

### Issues:
- `templates/v2/ngo-account/my-organization/*.html`

### Issues

- [ ] The disabled form fields need to be styled properly
- [ ] Connect the form to the BE properly
Expand All @@ -60,25 +61,46 @@

## Organization's redirections

### Files:
### Pages

- login as: NGO
- /organizatia-mea/redirectionari/

### Files

- `templates/v2/ngo-account/redirections/**`

### Issues:
### Issues

- [ ] The pagination doesn't show up properly (it should be right-aligned)
- [ ] Django template: the `nr. crt./#` column from `list-header.html` & `list-items.html` should be calculated properly
- [ ] Make the generate archive button work
- [x] Make the generate archive button work
- [ ] Make the download table button work


## Organization's archives

### Files:
### Pages

- login as: NGO
- /organizatia-mea/arhive/

### Files

- `templates/v2/ngo-account/archives/**`

### Issues:
### Issues

- [ ] Same issue with the pagination as in the `redirections` page
- [ ] Align the table elements better (it's the same table as in the `redirections` page but with different columns)


## Production-ready Dockerfile

### Files

- `docker/dockerfiles/Dockerfile.dev`

### Issues

- [ ] NPM doesn't install packages properly and uses local packages instead
2 changes: 1 addition & 1 deletion backend/donations/urls_ngo_account.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@
path("prezentare/", NgoDetailsView.as_view(), name="organization-presentation"),
path("formulare/", NgoFormsView.as_view(), name="organization-forms"),
path("redirectionari/", NgoRedirectionsView.as_view(), name="organization-redirections"),
path("exporturi/", NgoArchivesView.as_view(), name="organization-archives"),
path("arhive/", NgoArchivesView.as_view(), name="organization-archives"),
]

0 comments on commit 9e5c541

Please sign in to comment.