Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@tyami94
Copy link
Contributor

@tyami94 tyami94 commented Jan 17, 2025

This commit allows the user to specify a custom path to the front-end assets with either the LLDAP_ASSETS_PATH environment variable or the assets_path config option. This should make lldap more pleasant for maintainers to package properly.

Addresses issue #1077

@tyami94 tyami94 requested a review from nitnelave as a code owner January 17, 2025 01:12
Copy link
Member

@nitnelave nitnelave left a comment

Choose a reason for hiding this comment

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

Thanks! It looks nice, a couple of comments but overall it's good

@codecov
Copy link

codecov bot commented Jan 17, 2025

Codecov Report

Attention: Patch coverage is 58.06452% with 13 lines in your changes missing coverage. Please review.

Project coverage is 86.29%. Comparing base (8397d53) to head (43d08e9).
Report is 14 commits behind head on main.

Files with missing lines Patch % Lines
server/src/infra/tcp_server.rs 58.06% 13 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1079      +/-   ##
==========================================
+ Coverage   85.75%   86.29%   +0.53%     
==========================================
  Files          50       51       +1     
  Lines       11103    11488     +385     
==========================================
+ Hits         9521     9913     +392     
+ Misses       1582     1575       -7     
Files with missing lines Coverage Δ
server/src/infra/configuration.rs 83.79% <ø> (-1.59%) ⬇️
server/src/infra/tcp_server.rs 66.66% <58.06%> (-0.21%) ⬇️

... and 21 files with indirect coverage changes

@tyami94 tyami94 force-pushed the custom-assets-path branch from 4276e88 to 0fb472e Compare January 21, 2025 17:53
@tyami94
Copy link
Contributor Author

tyami94 commented Jan 21, 2025

I think I've addressed your comments. Is this closer to what you wanted?

Copy link
Member

@nitnelave nitnelave left a comment

Choose a reason for hiding this comment

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

Much better, thanks! One last nit and we're good to go.

I assume you tested it with a non-default value?

@tyami94 tyami94 force-pushed the custom-assets-path branch from a9d77d1 to ef2af48 Compare January 21, 2025 22:10
@tyami94
Copy link
Contributor Author

tyami94 commented Jan 21, 2025

Yes, I tested it with a custom path as well as the default and it works as expected. Thanks!

@tyami94
Copy link
Contributor Author

tyami94 commented Jan 28, 2025

Hi! Is there anything else I need to do to get this merged?

@nitnelave
Copy link
Member

Sorry, I meant to merge it earlier, let me try to do this tonight.

@nitnelave nitnelave merged commit f46e537 into lldap:main Jan 28, 2025
13 of 17 checks passed
@nitnelave
Copy link
Member

Or, you know, right now

broeng added a commit to broeng/lldap that referenced this pull request Jan 29, 2025
Had changed behaviour to serve the gz compressed wasm package
with the uncompressed handler.
broeng added a commit to broeng/lldap that referenced this pull request Jan 29, 2025
Had changed behaviour to serve the gz compressed wasm package
with the uncompressed handler.
nitnelave pushed a commit that referenced this pull request Jan 29, 2025
Had changed behaviour to serve the gz compressed wasm package
with the uncompressed handler.
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.

2 participants