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

Fixes #7, another dormant bug #9

Merged
merged 2 commits into from
Jan 9, 2024
Merged

Conversation

haricane8133
Copy link
Contributor

Pull Request type

  • Bugfix
  • Feature
  • Refactoring (no functional changes, no api changes)
  • Build related changes (Please run ./gradlew generateLock saveLock to refresh dependencies)
  • WHOSUSING.md
  • Other (please describe):

NOTE: Please remember to run ./gradlew spotlessApply to fix any format violations.

Changes in this PR

Describe the new behavior from this PR, and why it's needed
Issue #7

Alternatives considered

Describe alternative implementation you have considered

@@ -26,7 +26,8 @@ export default React.forwardRef((props, ref) => {
</Link>
);
} else {
const href = absolutePath ? url.toString() : cleanDuplicateSlash(getBasename() + url.toString());
// Note: + '/' + is required here
const href = absolutePath ? url.toString() : cleanDuplicateSlash(getBasename() + '/' + url.toString());

Choose a reason for hiding this comment

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

You add 1 more slash then replace it. Does it make sense?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

getBaseName() can return either

/abc/def, or /abc/def/

We would have to cover both scenarios

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Those two options are possible because we leave the work of filling the homepage field, to the user.

The user can enter the homepage url with a trailing slash, or not... It's up to them, and we should make sure things work both way

ui/src/plugins/fetch.js Outdated Show resolved Hide resolved
Copy link

@nhandt2021 nhandt2021 left a 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.

@v1r3n v1r3n merged commit 2e309b2 into conductor-oss:main Jan 9, 2024
2 checks passed
v1r3n pushed a commit that referenced this pull request Apr 3, 2024
* Initial commit to add bulk workflow deletion

* Added an API endpoint for bulk deletion

* Add archiveworkflow param

* Added bulk delete action to BulkActionModule

* Added archive option to bulk delete

* Addition of terminateRemove() Functions (#9)

* Added an API endpoint for bulk deletion

* Fixed WorkflowBulkServiceTest, added test cases for deleteWorkflow an… (#10)

* Fixed WorkflowBulkServiceTest, added test cases for deleteWorkflow and terminateRemove, and added WorkflowResourceTest test for single terminateRemove

* pass spotlessjava

---------

Co-authored-by: JeffP <jeffp@jeffpham.com>

---------

Co-authored-by: jeffp1 <jeffp@jeffpham.com>
Co-authored-by: Ayush Thengne <ayushthengne@ayushs-macbook-pro.local>
Co-authored-by: Jeff P <28172529+JeffP07@users.noreply.github.com>
Co-authored-by: Doe1111 <106997600+Doe1111@users.noreply.github.com>
matiasbur pushed a commit to preqin/conductor that referenced this pull request May 2, 2024
* Fixes conductor-oss#7, another dormant bug

* Review comment - Combine Regexes
matiasbur pushed a commit to preqin/conductor that referenced this pull request May 9, 2024
* Fixes conductor-oss#7, another dormant bug

* Review comment - Combine Regexes
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.

None yet

3 participants