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

Revise launch config #2347

Merged
merged 21 commits into from
Sep 19, 2024
Merged

Revise launch config #2347

merged 21 commits into from
Sep 19, 2024

Conversation

kjose90
Copy link
Member

@kjose90 kjose90 commented Sep 10, 2024

  • reverted the use of node js fs modules and use mem-fs instead to write launch config files
  • remove writeApplicationInfoSettings() from @sap-ux/launch-config
  • refactor and reuse existing createLaunchConfig

Copy link

changeset-bot bot commented Sep 10, 2024

🦋 Changeset detected

Latest commit: 2732943

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@sap-ux/launch-config Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@kjose90 kjose90 marked this pull request as ready for review September 11, 2024 09:31
@kjose90 kjose90 requested a review from broksy September 11, 2024 10:21
broksy
broksy previously approved these changes Sep 11, 2024
Copy link
Contributor

@broksy broksy left a comment

Choose a reason for hiding this comment

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

These changes looks good to me, but it has a potential for additional refactoring as some functions looks more or less the same as already existing ones.

Also no issues with tests, tested locally on Windows.

@broksy broksy self-requested a review September 11, 2024 14:59
@kjose90
Copy link
Member Author

kjose90 commented Sep 13, 2024

@broksy @Klaus-Keller
Please review the refactoring of @sap-ux/launch-config 👍

Copy link
Contributor

@Klaus-Keller Klaus-Keller left a comment

Choose a reason for hiding this comment

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

did not get to go through all changes, but saw the OData version type is not being reused. Please adjust this.

packages/launch-config/src/types/types.ts Outdated Show resolved Hide resolved
packages/launch-config/src/types/constants.ts Outdated Show resolved Hide resolved
broksy
broksy previously approved these changes Sep 17, 2024
Copy link
Contributor

@broksy broksy left a comment

Choose a reason for hiding this comment

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

Minor things from previous review are fixed.
Thanks, @kjose90!
Approved from my side.

broksy
broksy previously approved these changes Sep 18, 2024
Copy link
Contributor

@Klaus-Keller Klaus-Keller left a comment

Choose a reason for hiding this comment

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

Hi @kjose90,
Please see some linting comments. Otherwise, code looks good.

packages/launch-config/src/debug-config/config.ts Outdated Show resolved Hide resolved
packages/launch-config/src/launch-config-crud/create.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@Klaus-Keller Klaus-Keller left a comment

Choose a reason for hiding this comment

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

Thanks @kjose90!

  • changes and revise launch config looks good
  • change set exists
  • code coverage is good
  • did a visual review, no manual tests

Approved from my side.

@broksy broksy self-requested a review September 19, 2024 05:44
Copy link
Contributor

@broksy broksy left a comment

Choose a reason for hiding this comment

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

Re-approved after fixed linting issues.

Copy link
Member

@devinea devinea left a comment

Choose a reason for hiding this comment

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

Thanks for the updates @kjose90 changes look good.
One comment I noticed while reviewing, but not directly related to this PR.

@kjose90
Copy link
Member Author

kjose90 commented Sep 19, 2024

Thanks everyone for reviewing

Copy link

sonarcloud bot commented Sep 19, 2024

@kjose90 kjose90 merged commit 463f482 into main Sep 19, 2024
13 checks passed
@kjose90 kjose90 deleted the revise-launch-config branch September 19, 2024 16:47
tom-sap added a commit that referenced this pull request Sep 20, 2024
* main:
  chore: apply latest changesets
  feat(fpm-writer): property `allowAutoAddDependencyLib` to the building block API, which allows turning off the automatic addition of the 'sap.fe.macros' library (#2393)
  chore: apply latest changesets
  fix: missing unique react key (#2368)
  chore: apply latest changesets
  fix: theme picker hover and border for dropdowns (#2377)
  chore: apply latest changesets
  fix(preview-middleware): manifest changes not visible after reload (#2385)
  chore: apply latest changesets
  fix(ui-c): accessibility updates for uitable (#2391)
  chore: apply latest changesets
  Revise launch config  (#2347)
  chore: apply latest changesets
  feat: app info file handling logic to new module @sap-ux/fiori-tools-settings (#2379)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants