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

Fixes #23201: Rewrite angular app tags.js in Elm #4942

Conversation

RaphaelGauthier
Copy link
Member

@RaphaelGauthier
Copy link
Member Author

Commit modified

@RaphaelGauthier RaphaelGauthier force-pushed the bug_23201/rewrite_angular_app_tags_js_in_elm branch from 9655f50 to 4c53402 Compare August 2, 2023 16:11
init : { contextPath : String, hasWriteRights : Bool, tags : List Tag, filterId : String, isEditForm : Bool, isRule : Bool, objectId : String } -> ( Model, Cmd Msg )
init flags =
let
objectType = if flags.isRule then "rule" else "directive"
Copy link
Member

Choose a reason for hiding this comment

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

I'd rather have init take an objectType string directly instead of a boolean if it's not too much work

@amousset
Copy link
Member

amousset commented Aug 2, 2023

@RaphaelGauthier missing spotless pass

@RaphaelGauthier
Copy link
Member Author

PR updated with a new commit

@Normation-Quality-Assistant
Copy link
Contributor

This PR is not mergeable to upper versions.
Since it is "Ready for merge" you must merge it by yourself using the following command:
rudder-dev merge https://github.com/Normation/rudder/pull/4942
-- Your faithful QA
Kant merge: "It is beyond a doubt that all our knowledge begins with experience."
(https://ci.normation.com/jenkins/job/merge-accepted-pr/71792/console)

@RaphaelGauthier
Copy link
Member Author

OK, squash merging this PR

@RaphaelGauthier RaphaelGauthier force-pushed the bug_23201/rewrite_angular_app_tags_js_in_elm branch from 0930da4 to da30544 Compare August 3, 2023 12:35
@RaphaelGauthier RaphaelGauthier merged commit da30544 into Normation:branches/rudder/8.0 Aug 3, 2023
0 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants