Skip to content

Standardize the way resources are being listed in application#12328

Merged
andreslucena merged 10 commits intodevelopfrom
chore/fix-factories-core
Jan 26, 2024
Merged

Standardize the way resources are being listed in application#12328
andreslucena merged 10 commits intodevelopfrom
chore/fix-factories-core

Conversation

@alecslupu
Copy link
Copy Markdown
Contributor

@alecslupu alecslupu commented Jan 24, 2024

🎩 What? Why?

This PR aims to standardize the way the texts on factories are being used.
Also, We simplify the frontend by adding 2 helper methods sanitize_translated and escape_translated, which will allow us to avoid using decidim_sanitize(translated_attribute(model.name))

📌 Related Issues

Testing

  1. make sure the pipelines are green.

♥️ 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: fix PRs that implement a fix for a bug label Jan 24, 2024
github-actions[bot]
github-actions bot previously approved these changes Jan 24, 2024
github-actions[bot]
github-actions bot previously approved these changes Jan 24, 2024
github-actions[bot]
github-actions bot previously approved these changes Jan 24, 2024
github-actions[bot]
github-actions bot previously approved these changes Jan 24, 2024
github-actions[bot]
github-actions bot previously approved these changes Jan 24, 2024
github-actions[bot]
github-actions bot previously approved these changes Jan 24, 2024
github-actions[bot]
github-actions bot previously approved these changes Jan 24, 2024
@alecslupu alecslupu changed the title Patch core factories Standardize the way resources are being listed in application Jan 24, 2024
@alecslupu alecslupu marked this pull request as ready for review January 24, 2024 22:24
@alecslupu alecslupu requested a review from a team January 25, 2024 07:02
@alecslupu alecslupu added this to the 0.28.1 milestone Jan 25, 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.

I have a couple of doubts and suggestions... All in all I like the approach, I think we can stop the security issues much faster 👏🏽 👏🏽

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: fix PRs that implement a fix for a bug

Projects

No open projects
Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants