-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 local targets to related list selector #4327
Merged
Merged
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
javierm
force-pushed
the
sdg_local_filter
branch
from
January 22, 2021 14:09
7b7c9aa
to
edfe8ad
Compare
javierm
force-pushed
the
sdg_local_filter
branch
from
January 22, 2021 15:34
edfe8ad
to
b5ccae2
Compare
taitus
force-pushed
the
add_local_target_to_related_list_selector
branch
2 times, most recently
from
January 23, 2021 13:01
27efd28
to
9237fdb
Compare
taitus
changed the title
[WIP] Add local targets to related list selector
Add local targets to related list selector
Jan 23, 2021
javierm
reviewed
Jan 25, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here's an initial review. Let me know what you think!
taitus
force-pushed
the
add_local_target_to_related_list_selector
branch
from
January 25, 2021 17:07
9237fdb
to
bc3ce8d
Compare
taitus
force-pushed
the
add_local_target_to_related_list_selector
branch
from
January 25, 2021 18:54
bc3ce8d
to
833bc80
Compare
javierm
reviewed
Jan 26, 2021
taitus
force-pushed
the
add_local_target_to_related_list_selector
branch
2 times, most recently
from
January 26, 2021 17:08
47ea94a
to
ecbf387
Compare
taitus
force-pushed
the
add_local_target_to_related_list_selector
branch
from
January 26, 2021 17:49
ecbf387
to
70e1e74
Compare
Similar to what we do in goals and targets.
This is similar to what we do with investments, which belong to a heading but also belong to a budget. In our case, the reason is we've been asked to add local targets which belong to a goal but are not related to any existing target. Even though we're not implementing that case right now, we're adding the relation so we don't have to add data migrations in the future.
javierm
reviewed
Jan 26, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! I've left a couple of comments regarding typos.
taitus
force-pushed
the
add_local_target_to_related_list_selector
branch
from
January 26, 2021 18:10
70e1e74
to
cd5fbb9
Compare
To maintain consistency with the current names in the database with fields: :related_sdg_type and :related_sdg_id
taitus
force-pushed
the
add_local_target_to_related_list_selector
branch
from
January 26, 2021 18:18
cd5fbb9
to
7fa594e
Compare
javierm
approved these changes
Jan 26, 2021
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.
References
Related PR's: #4322 #4315
Objectives
Allow add local targets to RelatedListSelectorComponent
Visual Changes