Skip to content

Add multiple statuses on proposals#12052

Merged
andreslucena merged 93 commits intodevelopfrom
feature/multiple-statuses-on-proposals
Feb 6, 2024
Merged

Add multiple statuses on proposals#12052
andreslucena merged 93 commits intodevelopfrom
feature/multiple-statuses-on-proposals

Conversation

@alecslupu
Copy link
Copy Markdown
Contributor

@alecslupu alecslupu commented Nov 21, 2023

🎩 What? Why?

Please describe your pull request.

📌 Related Issues

Link your PR to an issue

Testing

  1. Reacreate your DB
  2. Visit proposals's index page in admin panel
  3. See there is a new button named "States"
  4. Edit and Add various states
  5. Go to Proposals answer page and add and answer, including new States.
  6. Publish the answer, and see is available in interface
  7. Also, you can use Proposal templates

📷 Screenshots

Please add screenshots of the changes you are proposing

image
image
image
image
image

♥️ Thank you!

Copy link
Copy Markdown
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This pull request does not contain a valid label. Please add one of the following labels: ['type: feature', 'type: change', 'type: fix', 'type: removal', 'target: developer-experience', 'type: internal']

@alecslupu alecslupu added the type: change PRs that implement a change for an existing feature label Nov 21, 2023
github-actions[bot]
github-actions bot previously approved these changes Nov 21, 2023
github-actions[bot]
github-actions bot previously approved these changes Nov 21, 2023
github-actions[bot]
github-actions bot previously approved these changes Jan 31, 2024
github-actions[bot]
github-actions bot previously approved these changes Feb 2, 2024
Copy link
Copy Markdown
Member

@andreslucena andreslucena left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two really small changes in the migrations and we're good to merge

end

def translated_proposal_state_id_eq(state_id)
translated_attribute(ProposalState.find_by(id: state_id)&.title)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we apply this auto suggestion @alecslupu ?

@andreslucena andreslucena merged commit 93ec316 into develop Feb 6, 2024
@andreslucena andreslucena deleted the feature/multiple-statuses-on-proposals branch February 6, 2024 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

No open projects
Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants