-
Notifications
You must be signed in to change notification settings - Fork 171
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
Extend options of enum type in user settings #2049
Conversation
* master: fix (SAP#2043) Bump hosted-git-info from 2.8.4 to 2.8.9 (SAP#2018) Update Fundamental Styles library from v0.14.0 to v0.17.0 (SAP#1996) Bump lodash version of scripts/package.json (SAP#2031) Global nav adjustments (SAP#2035) Fix set document title issue when no header or title provided Fix misplaced content area on mobile if globalnav enabled Bump Fundamental Styles v0.17.0 from v0.11.0 in Fiddle (SAP#2027) Bump hosted-git-info from 2.8.5 to 2.8.9 in /core (SAP#2019) Bump url-parse in /core/examples/luigi-example-angular (SAP#2017) Udpdate versionc of vue-cli to 4.5.13 too fix high security ussues with sub-dependencies (SAP#2028)
@JohannesDoberer There are some non-prettified stuff in the PR, or I think it is prettified differently from what is expected, and many changes are showing |
…o extend-options * 'extend-options' of github.com:JohannesDoberer/luigi: Bump elliptic from 6.5.2 to 6.5.4 in /website/landingpage/dev (SAP#2060) Bump hosted-git-info from 2.8.2 to 2.8.9 in /website/landingpage/dev (SAP#2053) Bump bl from 1.2.2 to 1.2.3 in /website/landingpage/dev (SAP#2055) Bump ssri from 6.0.1 to 6.0.2 in /website/landingpage/dev (SAP#2058) Bump browserslist in /core/examples/luigi-example-vue (SAP#2050) Bump handlebars from 4.7.6 to 4.7.7 in /website/landingpage/dev (SAP#2054) Bump y18n from 3.2.1 to 3.2.2 in /website/landingpage/dev (SAP#2059) Bump lodash from 4.17.15 to 4.17.21 in /website/landingpage/dev (SAP#2056) Bump browserslist from 4.12.0 to 4.16.6 in /website/landingpage/dev (SAP#2057) Bump browserslist from 4.7.0 to 4.16.6 in /website/docs (SAP#2051) Bump browserslist in /core/examples/luigi-example-angular (SAP#2052) Bump browserslist from 4.8.6 to 4.16.6 in /core (SAP#2047) Bump browserslist from 4.11.1 to 4.16.6 in /scripts (SAP#2048)
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.
The functionality seems to be working fine for me 👍 . Added one code suggestion if you think it makes sense.
Also, I see that the get functions are returning a string instead of the object for both client and core api functions, when u chose an object as language. So I cannot get the value from the object:
If you check the
https://docs.luigi-project.io/docs/luigi-core-api/?section=getcurrentlocale
getCurrentLocale
Gets the current locale.
Returns string current locale
So, maybe we also need to modify these two functions to return either Object or string in this PR or in a followup ticket?
Co-authored-by: Stanley Hsu <stanleyhsu1984@gmail.com>
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.
Tested again and it works well. Code looks good
Co-authored-by: Ndricim Rrapi <ndricim.rrapi@sap.com>
…o extend-options * 'extend-options' of github.com:JohannesDoberer/luigi: Update core/src/UserSettingsEditor.html Fix security vulnerability (SAP#2045) Bump dns-packet from 1.3.1 to 1.3.4 in /core/examples/luigi-example-vue (SAP#2062) Bump dns-packet in /core/examples/luigi-example-angular (SAP#2063) Update core/src/UserSettingsEditor.html Update packages of remark to fix securty issues on github (SAP#2033) docu improvements (SAP#2044) # Conflicts: # core/src/UserSettingsEditor.html # docs/user-settings.md
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 good to me.
Please run npm run full-code-quality-prettier
on root folder as there are many non-prettified changes. Somehow I think the commit hook either is not working or is skipped on your environment.
Changes proposed in this pull request:
Fixes #2041