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

Feature/mon vot 60 split #132

Draft
wants to merge 18 commits into
base: master
Choose a base branch
from
Draft

Feature/mon vot 60 split #132

wants to merge 18 commits into from

Conversation

tbgdn
Copy link
Contributor

@tbgdn tbgdn commented Jun 29, 2019

  • Created smaller commits of the original PR
  • Form sets and form sections can be added or deleted based on a mocked API that stores data in json files.
  • Questions can be opened in view and edit modes, but the edit part is work in progress.
  • The new EditableForms model is being used only for editing them, but it will be merged together with the existing one

This will allow the frontend to evolve independently of the API which at
times might not provide the needed functionality. Once the API is done,
this mock server can be removed.
Created a new mode that has the fields in English and which is used in
the edit section of the application. Once the edit will be finished, the
existing model will be merged with this new one.
Added the new link for the Forms page and created the routing for the
component that displays the list of forms. At the moment, only the add
functionality is working and clicking on the forms will not do anything.
Added component for displaying the sections of a Form and linked the
routing to it.
Questions page can be opened in view or edit modes, but the edit does
nothing for the moment.
# Conflicts:
#	frontend/package-lock.json
#	frontend/package.json
#	frontend/src/assets/i18n/en.json
#	frontend/src/assets/i18n/ro.json
Refactored some components to dumb them down and encapsulated the http
calls from the effect to a separate service.
Added functionality for ADD and DELETE on questions.
The text and the type of the question can be updated.
Made the id and text fields public, so they can be read.
@RaduCStefanescu
Copy link
Contributor

Please use this branch for future development:
https://github.com/code4romania/monitorizare-vot/tree/refactor/major-wip
The changes are deployed here:
https://mv-mobile-test.azurewebsites.net/swagger/index.html

# Conflicts:
#	frontend/package-lock.json
#	frontend/package.json
#	frontend/proxy.conf.json
#	frontend/src/app/app.module.ts
#	frontend/src/app/models/form.model.ts
#	frontend/src/app/store/store.module.ts
# Conflicts:
#	frontend/package-lock.json
#	frontend/proxy.conf.json
#	frontend/src/app/app.module.ts
#	frontend/src/app/components/components.module.ts
#	frontend/src/app/components/login/login.component.ts
#	frontend/src/app/routing/app.routes.ts
#	frontend/src/app/store/store.module.ts
#	frontend/src/assets/i18n/en.json
#	frontend/src/assets/i18n/ro.json
#	frontend/src/styles.scss
# Conflicts:
#	frontend/package-lock.json
#	frontend/src/app/app.module.ts
#	frontend/src/app/components/components.module.ts
#	frontend/src/app/components/header/header.component.html
#	frontend/src/app/routing/app.routes.ts
#	frontend/src/assets/i18n/en.json
@aniri aniri added the NO MERGE label Jul 25, 2020
@aniri aniri marked this pull request as draft September 9, 2020 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants