Skip to content

Commit

Permalink
Resolve TODOs in repo (#3598)
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentUllal authored Feb 1, 2024
1 parent e5f0e80 commit 6572266
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 46 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@ describe('Luigi Mock Engine', () => {
it('Check LuigiClient.uxManager().confirmModal', () => {
cy.get('[id^=uxbutton2]').click();

//TODO: Check on luigi client side why an error message is returned
cy.on('uncaught:exception', (err, runnable) => {
// returning false here prevents Cypress from failing the test
return false;
});

cy.get('[id^="luigi-debug-vis-cnt"]')
.children()
.contains('"msg":"luigi.ux.confirmationModal.show"');
Expand Down
9 changes: 0 additions & 9 deletions core/examples/luigi-example-react/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,6 @@ module.exports = function(webpackEnv) {
port: 3000,
open: true
},
optimization: {
minimize: true,
// todo: Remove after renaming luigi core map files
minimizer: [
new TerserPlugin({
exclude: /\.svelte\.map\.js$/
})
]
},
devtool: !isEnvProduction ? 'inline-source-map' : false,
// Change accordingly on prodcuciton
performance: {
Expand Down
5 changes: 2 additions & 3 deletions core/src/Authorization.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -379,9 +379,8 @@
overflow-y: auto;
padding-left: 0.5rem;
padding-right: 0.5rem;
/*TODO: check if FD Styles > 0.18.0 has fixed it*/
.fd-list__title {
line-height: var(--sapContent_LineHeight, 1.4);
}
line-height: var(--sapContent_LineHeight);
}
}
</style>
10 changes: 5 additions & 5 deletions core/src/navigation/LeftNav.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -1184,11 +1184,11 @@
}
}
/*TODO: check if FD Styles >v.0.17 included it*/
.lui-category {
border-top: var(--sapList_BorderWidth, 0.0625rem) solid
var(--sapList_GroupHeaderBorderColor, #d8d8d8);
}
.lui-category {
border-top:
var(--sapList_BorderWidth) solid
var(--sapList_GroupHeaderBorderColor);
}
.lui-fd-side-nav-wrapper {
height: 100%;
Expand Down
5 changes: 0 additions & 5 deletions core/src/navigation/MobileTopNavDropDown.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,6 @@
</div>

<style lang="scss">
/* TODO remove after update to fundamental 0.9 */
.fd-product-switch__item.selected .fd-product-switch__title:before,
.fd-product-switch__item.selected .fd-product-switch__title:after {
content: none !important;
}
@media (max-width: 1023px) {
.fd-product-switch__body--mobile {
Expand Down
9 changes: 0 additions & 9 deletions cra-template/template/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,6 @@ module.exports = function(webpackEnv) {
port: 3000,
open: true
},
optimization: {
minimize: true,
// todo: Remove after renaming luigi core map files
minimizer: [
new TerserPlugin({
exclude: /\.svelte\.map\.js$/
})
]
},
devtool: !isEnvProduction ? 'inline-source-map' : false,
// Change accordingly on prodcuciton
performance: {
Expand Down
9 changes: 0 additions & 9 deletions website/fiddle/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,6 @@ module.exports = {
filename: '[name].css'
})
],
optimization: {
minimize: true,
minimizer: [
new TerserPlugin({
// TODO: Remove when renaming luigi.svete.map.js to .map filetype
exclude: /\.svelte\.map\.js$/
})
]
},
devtool: prod ? false : 'source-map',
stats: {
errorDetails: true
Expand Down

0 comments on commit 6572266

Please sign in to comment.