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

Shared library refactoring #2781

Merged
merged 5 commits into from
Aug 19, 2023
Merged

Shared library refactoring #2781

merged 5 commits into from
Aug 19, 2023

Conversation

dpwatrous
Copy link
Member

@dpwatrous dpwatrous commented Aug 11, 2023

This PR factors out common functionality which is not Batch-specific into two new packages: @azure/bonito-core and @azure/bonito-ui.

@dpwatrous dpwatrous changed the title Dpwatrous/bonito Shared library refactoring Aug 11, 2023
@dpwatrous dpwatrous marked this pull request as ready for review August 11, 2023 16:41
@codecov
Copy link

codecov bot commented Aug 13, 2023

Codecov Report

Merging #2781 (692b39b) into main (d1da941) will decrease coverage by 0.04%.
The diff coverage is 86.98%.

❗ Current head 692b39b differs from pull request most recent head 75fc102. Consider uploading reports for the commit 75fc102 to get more accurate results

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2781      +/-   ##
==========================================
- Coverage   66.62%   66.58%   -0.04%     
==========================================
  Files        1209     1225      +16     
  Lines       33751    33815      +64     
  Branches     6219     6225       +6     
==========================================
+ Hits        22486    22517      +31     
- Misses      11126    11160      +34     
+ Partials      139      138       -1     
Files Changed Coverage Δ
...rc/@batch-flask/core/batch-explorer-http-client.ts 100.00% <ø> (ø)
...ommon/react-container/react-container.component.ts 83.33% <ø> (ø)
...esktop/src/app/localizer/fake-desktop-localizer.ts 50.00% <ø> (ø)
...s/arm-batch-rest/src/http/pipeline-http-headers.ts 100.00% <ø> (ø)
packages/bonito-core/src/action/action.ts 84.05% <ø> (ø)
packages/bonito-core/src/datetime/datetime-util.ts 80.00% <ø> (ø)
packages/bonito-core/src/datetime/fake-clock.ts 85.71% <ø> (ø)
packages/bonito-core/src/datetime/index.ts 100.00% <ø> (ø)
...ackages/bonito-core/src/datetime/standard-clock.ts 50.00% <ø> (ø)
packages/bonito-core/src/dom/dom-util.ts 100.00% <ø> (ø)
... and 125 more

... and 36 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d1da941...75fc102. Read the comment docs.

@dpwatrous dpwatrous force-pushed the dpwatrous/bonito branch 2 times, most recently from b75db73 to 2ae590d Compare August 18, 2023 19:19
These packages are intended to act as a Batch-agnostic layer
for building Azure Portal-compatible UIs.

This also moves much of the functionality of the ui-service
package into bonito-core (specifically the parts that aren't
Batch-specific)
Copy link
Member

@skapur12 skapur12 left a comment

Choose a reason for hiding this comment

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

npm run loc:build is now failing due to invalid paths in LocProject.json. The copy-translations script also needs to be adjusted. Will add fixes for these

@dpwatrous dpwatrous enabled auto-merge (squash) August 18, 2023 22:40
@dpwatrous dpwatrous merged commit b48ca25 into main Aug 19, 2023
6 checks passed
@dpwatrous dpwatrous deleted the dpwatrous/bonito branch August 19, 2023 00:15
gingi pushed a commit that referenced this pull request Nov 9, 2023
* Add .DS_Store to .gitignore

* Factor out bonito-core and bonito-ui

These packages are intended to act as a Batch-agnostic layer
for building Azure Portal-compatible UIs.

This also moves much of the functionality of the ui-service
package into bonito-core (specifically the parts that aren't
Batch-specific)

* Make `bux link` handle missing packages in node_modules

---------

Co-authored-by: Sanjana Kapur <sanjanakapur@microsoft.com>
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.

3 participants