Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add upload image feature when user adds incident on public platform #65

Closed
RaduCStefanescu opened this issue Apr 15, 2019 · 3 comments
Closed

Comments

@RaduCStefanescu
Copy link
Contributor

RaduCStefanescu commented Apr 15, 2019

Currently the user cannot add an image when posting about an incident (please checkout the image below)
The incident form should have an upload image section where an user can upload an image. The image is not mandatory for the submission of the form.

image

Please check related backend issue:
code4romania/monitorizare-vot-votanti-api#26

Below the row with "Sectia" and "Tipul sesizarii" and right above the row with captcha and "Adauga sesizare" button, we should have an entry similar to the one in the image below where a user can choose an image and upload it as part of the incident report:

image

@horodnicdragos
Copy link
Contributor

I'll grab this one.

@RaduCStefanescu
Copy link
Contributor Author

In progress @horodnicdragos

@RaduCStefanescu RaduCStefanescu moved this from To do - Public platform to To do - API in Monitorizare vot - API and Web Admin Aug 31, 2019
@RaduCStefanescu RaduCStefanescu moved this from To do - API to In progress in Monitorizare vot - API and Web Admin Aug 31, 2019
RaduCStefanescu pushed a commit that referenced this issue Aug 31, 2019
… (#89)

* Uncomment upload image component, fix form data name for image field

* Show filename in FileUploader component after file selection
RaduCStefanescu pushed a commit that referenced this issue Sep 2, 2019
… (#91)

* Uncomment upload image component, fix form data name for image field

* Show filename in FileUploader component after file selection

* Display image thumbnails & add lightbox for admin view
@RaduCStefanescu
Copy link
Contributor Author

Fixed by #91

Monitorizare vot - API and Web Admin automation moved this from In progress to Done Sep 2, 2019
RaduCStefanescu added a commit that referenced this issue Sep 19, 2019
* upgraded lodash to 4.17.5 or later

* Update footer to use standard template

* Create WORKFLOW.MD

* Update CONTRIBUTING.MD

* add routes admin and login

* remove commponent unusable

* Login (#59)

* Login.

* code review

* code review

* code review

* code review

* #45 Change message icon (#48)

* change icon svg to dynamically

* change style as in request

* prepare menu to be displayed by user role (#58)

* prepare menu to be displayed by user role

* add selected class to right path

* changed selector style for better display on multiple devices (#60)

* changed selector style for better display on multiple devices

* added same style for "adauga o sesizare" page

* hide reguli-vot page/links; update some text (#72)

* Use https api endpoints (#73)

* Update open graph metadata (#74)

* Move og:image to correct path

* Use https og:url and og:image

* Implemented Admin Menu Header (#77)

* Implemented Admin Menu Header

* Added some small changes. Although the routes are not implemented let's have them for future reference. Also, modified the admin user logged in.

* Fix date format (#75)

* Create FUNDING.YML

* Implementat interfata interactionare cu mesajele pentru admin (#80)

* Implemented Admin Menu Header

* Added some small changes. Although the routes are not implemented let's have them for future reference. Also, modified the admin user logged in.

* Started implementing messages page for admin

* implementat interfata pentru interactionarea cu mesajele

* Messages panel (#79)

* * updated packages and removed hardcoded urls

* + added messages page with selectable category

* * finished the UI componet for messages, laying the groundwork for approve/reject

* Changes to satisfy eslint checks. (#86)

* Add upload image feature when user adds incident on public platform #65 (#89)

* Uncomment upload image component, fix form data name for image field

* Show filename in FileUploader component after file selection

* Implemented "load more" actions for incidents pagination (#90)

* Implemented Admin Menu Header

* Added some small changes. Although the routes are not implemented let's have them for future reference. Also, modified the admin user logged in.

* Started implementing messages page for admin

* implementat interfata pentru interactionarea cu mesajele

* Implemented "Load more action for pages"

* Fixed additioanlly eslint errors

* Add upload image feature when user adds incident on public platform #65 (#91)

* Uncomment upload image component, fix form data name for image field

* Show filename in FileUploader component after file selection

* Display image thumbnails & add lightbox for admin view
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants