Skip to content

Conversation

@idormenco
Copy link
Contributor

No description provided.

@vercel
Copy link

vercel bot commented Sep 25, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
votemonitor ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 25, 2024 11:50am

FileName = citizenGuide.FileName!,
PresignedUrl = result!.Url,
MimeType = citizenGuide.MimeType!,
UrlValidityInSeconds = result.UrlValidityInSeconds,

Check warning

Code scanning / CodeQL

Dereferenced variable may be null

Variable [result](1) may be null at this access because of [this](2) assignment.
import { Button } from '@/components/ui/button';
import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card';
import { Separator } from '@/components/ui/separator';
import { useToast } from '@/components/ui/use-toast';

Check notice

Code scanning / CodeQL

Unused variable, import, function or class

Unused import useToast.
import { Separator } from '@/components/ui/separator';
import { useToast } from '@/components/ui/use-toast';
import { useCurrentElectionRoundStore } from '@/context/election-round.store';
import { useQueryClient, useSuspenseQuery } from '@tanstack/react-query';

Check notice

Code scanning / CodeQL

Unused variable, import, function or class

Unused import useQueryClient.
@idormenco idormenco merged commit 145f7b8 into main Sep 25, 2024
@idormenco idormenco deleted the feature/citizen-reports-guides branch September 25, 2024 11:54
interface FilePreviewProps {
}

function FilePreview(props: FilePreviewProps) {

Check notice

Code scanning / CodeQL

Unused variable, import, function or class

Unused function FilePreview.
idormenco added a commit to imdeaconu/votemonitor that referenced this pull request Sep 25, 2024
* Add citizen reports api

* rename api feature

* refactor guides

* Add tests, rename folder, fix selects

* Update EditTextGuide.tsx

* Update file-uploader.tsx

* Update EditTextGuide.tsx
idormenco added a commit to imdeaconu/votemonitor that referenced this pull request Sep 25, 2024
* Add citizen reports api

* rename api feature

* refactor guides

* Add tests, rename folder, fix selects

* Update EditTextGuide.tsx

* Update file-uploader.tsx

* Update EditTextGuide.tsx
imdeaconu added a commit to imdeaconu/votemonitor that referenced this pull request Sep 25, 2024
* Add citizen reports api

* rename api feature

* refactor guides

* Add tests, rename folder, fix selects

* Update EditTextGuide.tsx

* Update file-uploader.tsx

* Update EditTextGuide.tsx

Co-authored-by: Ion Dormenco <[email protected]>
idormenco added a commit that referenced this pull request Sep 25, 2024
* fix: make dropdown menus scrollable

* fix: truncate overflowing table columns

* fix: add new columns and make default column size larger

* Squashed commit of the following:

commit 742f250
Author: imdeaconu <[email protected]>
Date:   Wed Sep 11 19:54:55 2024 +0300

    add read notification checkmark

commit ea11fa0
Author: imdeaconu <[email protected]>
Date:   Wed Sep 11 19:54:30 2024 +0300

    add read notification column

* Squashed commit of the following:

commit d8833dc
Author: imdeaconu <[email protected]>
Date:   Fri Sep 13 13:29:31 2024 +0300

    WIP: add selector functionality

commit 3608c0e
Author: imdeaconu <[email protected]>
Date:   Fri Sep 13 10:00:05 2024 +0300

    WIP: create new tags input

* chore: remove unused import

* chore: delete duplicated / unused classes

* WIP: start creating new filters

* feature: add searching to MonitoringObserversTagFilter

* chore: update config files

* Revert "[NGO Admin] Rewrite the tag selector component  (#675)"

This reverts commit 2ad0e90.

* revert to old filtering system and add questions answered dropdown

* add has notes

* disable filtering by curent tags

* add filters

* Cleanup, improve performance of ps select

* Update locations-levels.ts

* Feature/citizen reports guides (#686)

* Add citizen reports api

* rename api feature

* refactor guides

* Add tests, rename folder, fix selects

* Update EditTextGuide.tsx

* Update file-uploader.tsx

* Update EditTextGuide.tsx

* fix build, and tag selector

* Feature/citizen reports guides (#686)

* Add citizen reports api

* rename api feature

* refactor guides

* Add tests, rename folder, fix selects

* Update EditTextGuide.tsx

* Update file-uploader.tsx

* Update EditTextGuide.tsx

* Feature/citizen reports guides (#686) (#2)

* Add citizen reports api

* rename api feature

* refactor guides

* Add tests, rename folder, fix selects

* Update EditTextGuide.tsx

* Update file-uploader.tsx

* Update EditTextGuide.tsx

Co-authored-by: Ion Dormenco <[email protected]>

---------

Co-authored-by: Ion Dormenco <[email protected]>
idormenco added a commit that referenced this pull request Sep 30, 2024
* fix: make dropdown menus scrollable

* fix: truncate overflowing table columns

* fix: add new columns and make default column size larger

* Squashed commit of the following:

commit 742f250
Author: imdeaconu <[email protected]>
Date:   Wed Sep 11 19:54:55 2024 +0300

    add read notification checkmark

commit ea11fa0
Author: imdeaconu <[email protected]>
Date:   Wed Sep 11 19:54:30 2024 +0300

    add read notification column

* Squashed commit of the following:

commit d8833dc
Author: imdeaconu <[email protected]>
Date:   Fri Sep 13 13:29:31 2024 +0300

    WIP: add selector functionality

commit 3608c0e
Author: imdeaconu <[email protected]>
Date:   Fri Sep 13 10:00:05 2024 +0300

    WIP: create new tags input

* chore: remove unused import

* chore: delete duplicated / unused classes

* WIP: start creating new filters

* feature: add searching to MonitoringObserversTagFilter

* chore: update config files

* Revert "[NGO Admin] Rewrite the tag selector component  (#675)"

This reverts commit 2ad0e90.

* revert to old filtering system and add questions answered dropdown

* add has notes

* disable filtering by curent tags

* add filters

* Cleanup, improve performance of ps select

* Update locations-levels.ts

* Feature/citizen reports guides (#686)

* Add citizen reports api

* rename api feature

* refactor guides

* Add tests, rename folder, fix selects

* Update EditTextGuide.tsx

* Update file-uploader.tsx

* Update EditTextGuide.tsx

* fix build, and tag selector

* Feature/citizen reports guides (#686)

* Add citizen reports api

* rename api feature

* refactor guides

* Add tests, rename folder, fix selects

* Update EditTextGuide.tsx

* Update file-uploader.tsx

* Update EditTextGuide.tsx

* Feature/citizen reports guides (#686) (#2)

* Add citizen reports api

* rename api feature

* refactor guides

* Add tests, rename folder, fix selects

* Update EditTextGuide.tsx

* Update file-uploader.tsx

* Update EditTextGuide.tsx

Co-authored-by: Ion Dormenco <[email protected]>

* update MOTagsSelect to work with form submissions

* update BinarySelect to take boolean values

* add form submissions filters

* redo filtering for Form submissions

* hide language column

* misc changes

* Update column-defs.tsx

* Update column-visibility-options.tsx

---------

Co-authored-by: Ion Dormenco <[email protected]>
idormenco added a commit that referenced this pull request Oct 2, 2024
* fix: make dropdown menus scrollable

* fix: truncate overflowing table columns

* fix: add new columns and make default column size larger

* Squashed commit of the following:

commit 742f250
Author: imdeaconu <[email protected]>
Date:   Wed Sep 11 19:54:55 2024 +0300

    add read notification checkmark

commit ea11fa0
Author: imdeaconu <[email protected]>
Date:   Wed Sep 11 19:54:30 2024 +0300

    add read notification column

* Squashed commit of the following:

commit d8833dc
Author: imdeaconu <[email protected]>
Date:   Fri Sep 13 13:29:31 2024 +0300

    WIP: add selector functionality

commit 3608c0e
Author: imdeaconu <[email protected]>
Date:   Fri Sep 13 10:00:05 2024 +0300

    WIP: create new tags input

* chore: remove unused import

* chore: delete duplicated / unused classes

* WIP: start creating new filters

* feature: add searching to MonitoringObserversTagFilter

* chore: update config files

* Revert "[NGO Admin] Rewrite the tag selector component  (#675)"

This reverts commit 2ad0e90.

* revert to old filtering system and add questions answered dropdown

* add has notes

* disable filtering by curent tags

* add filters

* Cleanup, improve performance of ps select

* Update locations-levels.ts

* Feature/citizen reports guides (#686)

* Add citizen reports api

* rename api feature

* refactor guides

* Add tests, rename folder, fix selects

* Update EditTextGuide.tsx

* Update file-uploader.tsx

* Update EditTextGuide.tsx

* fix build, and tag selector

* Feature/citizen reports guides (#686)

* Add citizen reports api

* rename api feature

* refactor guides

* Add tests, rename folder, fix selects

* Update EditTextGuide.tsx

* Update file-uploader.tsx

* Update EditTextGuide.tsx

* Feature/citizen reports guides (#686) (#2)

* Add citizen reports api

* rename api feature

* refactor guides

* Add tests, rename folder, fix selects

* Update EditTextGuide.tsx

* Update file-uploader.tsx

* Update EditTextGuide.tsx

Co-authored-by: Ion Dormenco <[email protected]>

* update MOTagsSelect to work with form submissions

* update BinarySelect to take boolean values

* add form submissions filters

* redo filtering for Form submissions

* hide language column

* misc changes

* Update column-defs.tsx

* Update column-visibility-options.tsx

* fix filtering component

* fix filteringg by form aggregation

* delete redundant file

---------

Co-authored-by: Ion Dormenco <[email protected]>
idormenco added a commit that referenced this pull request Oct 4, 2024
* Add citizen reports api

* rename api feature

* refactor guides

* Add tests, rename folder, fix selects

* Update EditTextGuide.tsx

* Update file-uploader.tsx

* Update EditTextGuide.tsx
idormenco added a commit that referenced this pull request Oct 4, 2024
* fix: make dropdown menus scrollable

* fix: truncate overflowing table columns

* fix: add new columns and make default column size larger

* Squashed commit of the following:

commit 742f250
Author: imdeaconu <[email protected]>
Date:   Wed Sep 11 19:54:55 2024 +0300

    add read notification checkmark

commit ea11fa0
Author: imdeaconu <[email protected]>
Date:   Wed Sep 11 19:54:30 2024 +0300

    add read notification column

* Squashed commit of the following:

commit d8833dc
Author: imdeaconu <[email protected]>
Date:   Fri Sep 13 13:29:31 2024 +0300

    WIP: add selector functionality

commit 3608c0e
Author: imdeaconu <[email protected]>
Date:   Fri Sep 13 10:00:05 2024 +0300

    WIP: create new tags input

* chore: remove unused import

* chore: delete duplicated / unused classes

* WIP: start creating new filters

* feature: add searching to MonitoringObserversTagFilter

* chore: update config files

* Revert "[NGO Admin] Rewrite the tag selector component  (#675)"

This reverts commit 2ad0e90.

* revert to old filtering system and add questions answered dropdown

* add has notes

* disable filtering by curent tags

* add filters

* Cleanup, improve performance of ps select

* Update locations-levels.ts

* Feature/citizen reports guides (#686)

* Add citizen reports api

* rename api feature

* refactor guides

* Add tests, rename folder, fix selects

* Update EditTextGuide.tsx

* Update file-uploader.tsx

* Update EditTextGuide.tsx

* fix build, and tag selector

* Feature/citizen reports guides (#686)

* Add citizen reports api

* rename api feature

* refactor guides

* Add tests, rename folder, fix selects

* Update EditTextGuide.tsx

* Update file-uploader.tsx

* Update EditTextGuide.tsx

* Feature/citizen reports guides (#686) (#2)

* Add citizen reports api

* rename api feature

* refactor guides

* Add tests, rename folder, fix selects

* Update EditTextGuide.tsx

* Update file-uploader.tsx

* Update EditTextGuide.tsx

Co-authored-by: Ion Dormenco <[email protected]>

---------

Co-authored-by: Ion Dormenco <[email protected]>
idormenco added a commit that referenced this pull request Oct 4, 2024
* Add citizen reports api

* rename api feature

* refactor guides

* Add tests, rename folder, fix selects

* Update EditTextGuide.tsx

* Update file-uploader.tsx

* Update EditTextGuide.tsx
idormenco added a commit that referenced this pull request Oct 4, 2024
* fix: make dropdown menus scrollable

* fix: truncate overflowing table columns

* fix: add new columns and make default column size larger

* Squashed commit of the following:

commit 742f250
Author: imdeaconu <[email protected]>
Date:   Wed Sep 11 19:54:55 2024 +0300

    add read notification checkmark

commit ea11fa0
Author: imdeaconu <[email protected]>
Date:   Wed Sep 11 19:54:30 2024 +0300

    add read notification column

* Squashed commit of the following:

commit d8833dc
Author: imdeaconu <[email protected]>
Date:   Fri Sep 13 13:29:31 2024 +0300

    WIP: add selector functionality

commit 3608c0e
Author: imdeaconu <[email protected]>
Date:   Fri Sep 13 10:00:05 2024 +0300

    WIP: create new tags input

* chore: remove unused import

* chore: delete duplicated / unused classes

* WIP: start creating new filters

* feature: add searching to MonitoringObserversTagFilter

* chore: update config files

* Revert "[NGO Admin] Rewrite the tag selector component  (#675)"

This reverts commit 2ad0e90.

* revert to old filtering system and add questions answered dropdown

* add has notes

* disable filtering by curent tags

* add filters

* Cleanup, improve performance of ps select

* Update locations-levels.ts

* Feature/citizen reports guides (#686)

* Add citizen reports api

* rename api feature

* refactor guides

* Add tests, rename folder, fix selects

* Update EditTextGuide.tsx

* Update file-uploader.tsx

* Update EditTextGuide.tsx

* fix build, and tag selector

* Feature/citizen reports guides (#686)

* Add citizen reports api

* rename api feature

* refactor guides

* Add tests, rename folder, fix selects

* Update EditTextGuide.tsx

* Update file-uploader.tsx

* Update EditTextGuide.tsx

* Feature/citizen reports guides (#686) (#2)

* Add citizen reports api

* rename api feature

* refactor guides

* Add tests, rename folder, fix selects

* Update EditTextGuide.tsx

* Update file-uploader.tsx

* Update EditTextGuide.tsx

Co-authored-by: Ion Dormenco <[email protected]>

---------

Co-authored-by: Ion Dormenco <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants