-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
tbgdn
wants to merge
18
commits into
code4romania:master
Choose a base branch
from
tbgdn:feature/mon-vot-60-split
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
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.
Please use this branch for future development: |
# 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.